Commit e0191d44 by cuong.tran

Fix version ranges

parent 62330258
...@@ -7,7 +7,7 @@ Gem::Specification.new do |s| ...@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
s.name = "annotate" s.name = "annotate"
s.version = Annotate.version s.version = Annotate.version
s.required_ruby_version = '~> 1.9.3' s.required_ruby_version = '>= 1.9.3'
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Alex Chaffee", "Cuong Tran", "Marcos Piccinini", "Turadg Aleahmad", "Jon Frisby"] s.authors = ["Alex Chaffee", "Cuong Tran", "Marcos Piccinini", "Turadg Aleahmad", "Jon Frisby"]
s.description = "Annotates Rails/ActiveRecord Models, routes, fixtures, and others based on the database schema." s.description = "Annotates Rails/ActiveRecord Models, routes, fixtures, and others based on the database schema."
...@@ -26,14 +26,14 @@ Gem::Specification.new do |s| ...@@ -26,14 +26,14 @@ Gem::Specification.new do |s|
s.specification_version = 4 s.specification_version = 4
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<rake>, ["~> 10.4.2", ">= 10.4.2"]) s.add_runtime_dependency(%q<rake>, ["~> 10.4"])
s.add_runtime_dependency(%q<activerecord>, [">= 2.3.0"]) s.add_runtime_dependency(%q<activerecord>, [">= 2.3.0", "<= 4.3"])
else else
s.add_dependency(%q<rake>, [">= 0.8.7"]) s.add_dependency(%q<rake>, ["~> 10.4"])
s.add_dependency(%q<activerecord>, [">= 2.3.0"]) s.add_dependency(%q<activerecord>, [">= 2.3.0", "<= 4.3"])
end end
else else
s.add_dependency(%q<rake>, [">= 0.8.7"]) s.add_dependency(%q<rake>, [">= 0.8.7"])
s.add_dependency(%q<activerecord>, [">= 2.3.0"]) s.add_dependency(%q<activerecord>, [">= 2.3.0", "<= 4.3"])
end end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment