diff --git a/lib/mongoid/enum/version.rb b/lib/mongoid/enum/version.rb index 0067529..f6479e1 100644 --- a/lib/mongoid/enum/version.rb +++ b/lib/mongoid/enum/version.rb @@ -1,5 +1,5 @@ module Mongoid module Enum - VERSION = "0.4.0" + VERSION = "0.5.0" end end diff --git a/mongoid-enum.gemspec b/mongoid-enum.gemspec index bd9465d..70c5628 100644 --- a/mongoid-enum.gemspec +++ b/mongoid-enum.gemspec @@ -18,11 +18,11 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_runtime_dependency "mongoid", "~> 5.0" + spec.add_runtime_dependency "mongoid", ">= 5.0", "<= 8.0" spec.add_development_dependency "bundler", "~> 1.3" spec.add_development_dependency "rake" spec.add_development_dependency "rspec", "~> 3.1" spec.add_development_dependency "guard-rspec", "~> 4.6.2" - spec.add_development_dependency "mongoid-rspec", "~> 3.0" + spec.add_development_dependency "mongoid-rspec", '~> 4.1.0' end