Fix version ranges
Showing
... | ... | @@ -7,7 +7,7 @@ Gem::Specification.new do |s| |
s.name = "annotate" | ||
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.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." | ||
... | ... | @@ -26,14 +26,14 @@ Gem::Specification.new do |s| |
s.specification_version = 4 | ||
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<activerecord>, [">= 2.3.0"]) | ||
s.add_runtime_dependency(%q<rake>, ["~> 10.4"]) | ||
s.add_runtime_dependency(%q<activerecord>, [">= 2.3.0", "<= 4.3"]) | ||
else | ||
s.add_dependency(%q<rake>, [">= 0.8.7"]) | ||
s.add_dependency(%q<activerecord>, [">= 2.3.0"]) | ||
s.add_dependency(%q<rake>, ["~> 10.4"]) | ||
s.add_dependency(%q<activerecord>, [">= 2.3.0", "<= 4.3"]) | ||
end | ||
else | ||
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 |
Please
register
or
sign in
to comment