mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Add supprot for mongoid 5.0
This commit is contained in:
parent
1590d7d088
commit
10b95bfebc
3 changed files with 27 additions and 0 deletions
|
@ -24,6 +24,7 @@ gemfile:
|
|||
- gemfiles/mongoid_30.gemfile
|
||||
- gemfiles/mongoid_31.gemfile
|
||||
- gemfiles/mongoid_40.gemfile
|
||||
- gemfiles/mongoid_50.gemfile
|
||||
- gemfiles/sinatra_13.gemfile
|
||||
- gemfiles/sinatra_14.gemfile
|
||||
|
||||
|
@ -51,6 +52,8 @@ matrix:
|
|||
gemfile: gemfiles/mongoid_31.gemfile
|
||||
- rvm: 1.8.7
|
||||
gemfile: gemfiles/mongoid_40.gemfile
|
||||
- rvm: 1.8.7
|
||||
gemfile: gemfiles/mongoid_50.gemfile
|
||||
- rvm: 1.8.7
|
||||
gemfile: gemfiles/mongo_mapper.gemfile
|
||||
- rvm: 1.9.3
|
||||
|
|
1
Rakefile
1
Rakefile
|
@ -22,6 +22,7 @@ namespace :spec do
|
|||
active_record_31
|
||||
active_record_30
|
||||
data_mapper_12
|
||||
mongoid_50
|
||||
mongoid_40
|
||||
mongoid_31
|
||||
mongoid_30
|
||||
|
|
23
gemfiles/mongoid_50.gemfile
Normal file
23
gemfiles/mongoid_50.gemfile
Normal file
|
@ -0,0 +1,23 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
gem 'railties', '~> 4.0'
|
||||
gem 'mongoid', '~> 5.0.0'
|
||||
gem 'rspec-rails', '~> 2.14.1'
|
||||
gem 'mime-types', '2.99' if RUBY_VERSION > '1.9.3'
|
||||
|
||||
group :development, :test do
|
||||
gem 'database_cleaner', '~> 1.5.1'
|
||||
end
|
||||
|
||||
platforms :mri do
|
||||
gem 'test-unit' if RUBY_VERSION > '2.1.0'
|
||||
end
|
||||
|
||||
platforms :rbx do
|
||||
gem 'rubysl', '~> 2.0'
|
||||
gem 'racc'
|
||||
gem 'minitest'
|
||||
gem 'rubinius-developer_tools'
|
||||
end
|
||||
|
||||
gemspec :path => '../'
|
Loading…
Reference in a new issue