-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MONGOID-5027 Rails 6.1 support (#4938)
* Update mongoid.gemspec Hi, I use rails 6.1 and mongoid and i get error when i run bundle. So i update the dependency to activemodel <= 6.1 . * allow everything less than 6.2 * test on Rails 6.1 and 6.0 * Update halted_callback_hook to take the name argument added in Rails 6.1. See Rails commit 06dd162fb3ae67f202a0a59da1ce94317d0a3e22 * MONGOID-4731 use Errors#copy! to properly copy errors for Rails 6.1 (and also earlier versions) * update compat tables for Rails 6.1 * bundle exec rake Co-authored-by: Francel <[email protected]> Co-authored-by: Oleg Pudeyev <[email protected]>
- Loading branch information
1 parent
95c8fe5
commit 07c544a
Showing
7 changed files
with
72 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'rake' | ||
gem 'actionpack', '~> 6.0.0' | ||
gem 'activemodel', '~> 6.0.0' | ||
|
||
group :development do | ||
gem 'yard' | ||
end | ||
|
||
group :development, :test do | ||
gem 'rspec-core', '~> 3.7' | ||
end | ||
|
||
group :test do | ||
gem 'timecop' | ||
gem 'rspec-retry' | ||
gem 'benchmark-ips' | ||
gem 'rspec-expectations', '~> 3.7', '>= 3.8.4' | ||
gem 'rspec-mocks-diag', '~> 3.0' | ||
gem 'fuubar' | ||
gem 'rfc' | ||
gem 'childprocess' | ||
platforms :mri do | ||
gem 'timeout-interrupt' | ||
gem 'byebug' | ||
end | ||
end | ||
|
||
gemspec path: '..' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters