Skip to content

Commit

Permalink
Update mongoid requirement from >= 4, < 8 to >= 4, < 10
Browse files Browse the repository at this point in the history
Updates the requirements on [mongoid](https://github.com/mongodb/mongoid) to permit the latest version.
- [Release notes](https://github.com/mongodb/mongoid/releases)
- [Changelog](https://github.com/mongodb/mongoid/blob/master/CHANGELOG.md)
- [Commits](mongodb/mongoid@v4.0.0...v8.1.5)

---
updated-dependencies:
- dependency-name: mongoid
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored May 14, 2024
1 parent f47ba93 commit d6756ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ end
if ENV['MONGOID_VERSION']
case ENV['MONGOID_VERSION']
when /^7/
gem 'mongoid', '~> 7'
gem 'mongoid', '>= 4', '< 10'
when /^6/
gem 'mongoid', '~> 6'
gem 'mongoid', '>= 4', '< 10'
when /^5/
gem 'mongoid', '~> 5'
gem 'mongoid', '>= 4', '< 10'
else
gem 'mongoid', '>= 5'
gem 'mongoid', '>= 4', '< 10'
end

gem 'mongoid-locker', '~> 2.0'
Expand Down
2 changes: 1 addition & 1 deletion devise_token_auth.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ Gem::Specification.new do |s|
s.add_development_dependency 'sqlite3', '~> 2.0'
s.add_development_dependency 'pg'
s.add_development_dependency 'mysql2'
s.add_development_dependency 'mongoid', '>= 4', '< 8'
s.add_development_dependency 'mongoid', '>= 4', '< 10'
s.add_development_dependency 'mongoid-locker', '~> 2.0'
end

0 comments on commit d6756ba

Please sign in to comment.