Permalink
Browse files

changed mongoid dep

  • Loading branch information...
1 parent 7527eb2 commit 2f2712a0f650e7c88d4babb1d7ab3d86a09d203a @sled committed Aug 30, 2011
Showing with 3 additions and 18 deletions.
  1. +3 −18 mongoid_acts_as_tree.gemspec
@@ -45,23 +45,8 @@ Gem::Specification.new do |s|
"test/test_tree.rb"
]
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
-
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<mongoid>, ["<= 2.0.0.beta.19"])
- s.add_runtime_dependency(%q<bson>, [">= 0.20.1"])
- s.add_development_dependency(%q<shoulda>, [">= 2.10.2"])
- else
- s.add_dependency(%q<mongoid>, ["<= 2.0.0.beta.19"])
- s.add_dependency(%q<bson>, [">= 0.20.1"])
- s.add_dependency(%q<shoulda>, [">= 2.10.2"])
- end
- else
- s.add_dependency(%q<mongoid>, ["<= 2.0.0.beta.19"])
- s.add_dependency(%q<bson>, [">= 0.20.1"])
- s.add_dependency(%q<shoulda>, [">= 2.10.2"])
- end
+ s.add_runtime_dependency(%q<mongoid>, ["=> 2.0.0"])
+ s.add_runtime_dependency(%q<bson>, [">= 0.20.1"])
+ s.add_development_dependency(%q<shoulda>, [">= 2.10.2"])
end

0 comments on commit 2f2712a

Please sign in to comment.