Skip to content
Browse files

updated gemspec to support later releases of mongoid

  • Loading branch information...
1 parent ca1f994 commit eeab012781a6d6e2a64c3cf5998d3cd733792f11 @ktec committed Dec 16, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 mongoid_taggable_with_context.gemspec
View
6 mongoid_taggable_with_context.gemspec
@@ -46,7 +46,7 @@ Gem::Specification.new do |s|
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<mongoid>, ["~> 2.1.0"])
+ s.add_runtime_dependency(%q<mongoid>, [">= 2.1.0"])
s.add_development_dependency(%q<database_cleaner>, [">= 0"])
s.add_development_dependency(%q<bson>, ["~> 1.3.0"])
s.add_development_dependency(%q<bson_ext>, ["~> 1.3.0"])
@@ -58,7 +58,7 @@ Gem::Specification.new do |s|
s.add_development_dependency(%q<reek>, ["~> 1.2.8"])
s.add_development_dependency(%q<roodi>, ["~> 2.1.0"])
else
- s.add_dependency(%q<mongoid>, ["~> 2.1.0"])
+ s.add_dependency(%q<mongoid>, [">= 2.1.0"])
s.add_dependency(%q<database_cleaner>, [">= 0"])
s.add_dependency(%q<bson>, ["~> 1.3.0"])
s.add_dependency(%q<bson_ext>, ["~> 1.3.0"])
@@ -71,7 +71,7 @@ Gem::Specification.new do |s|
s.add_dependency(%q<roodi>, ["~> 2.1.0"])
end
else
- s.add_dependency(%q<mongoid>, ["~> 2.1.0"])
+ s.add_dependency(%q<mongoid>, [">= 2.1.0"])
s.add_dependency(%q<database_cleaner>, [">= 0"])
s.add_dependency(%q<bson>, ["~> 1.3.0"])
s.add_dependency(%q<bson_ext>, ["~> 1.3.0"])

0 comments on commit eeab012

Please sign in to comment.
Something went wrong with that request. Please try again.