Skip to content

Commit

Permalink
Add support for rails 4.1 and mongoid 4
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagogodinho committed Jul 13, 2014
1 parent 7b9601e commit 8a8343b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in localized_fields.gemspec
gemspec

gem 'mongoid', github: 'mongoid/mongoid'

gem 'coveralls', require: false
4 changes: 2 additions & 2 deletions localized_fields.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Gem::Specification.new do |gem|
gem.require_paths = ['lib']
gem.version = LocalizedFields::VERSION

# gem.add_dependency 'mongoid', '>= 2.4'
gem.add_dependency 'actionpack', '~> 4.0.0'
gem.add_dependency 'mongoid', '>= 2.4', '< 5'
gem.add_dependency 'actionpack', '>= 3.0.0', '< 5'

gem.add_development_dependency 'rake', '~> 10.1.0'
gem.add_development_dependency 'rspec', '~> 2.14.0'
Expand Down

0 comments on commit 8a8343b

Please sign in to comment.