Skip to content

Commit

Permalink
Relax rails dependency constraint to support the 4.2.x releases.
Browse files Browse the repository at this point in the history
The previous constraint would only go as up as `4.2.0`, thus making `rspec-rails`
incompatible with any of the patch releases of the rails 4.2.x series.
  • Loading branch information
lucasmazza committed Feb 21, 2015
1 parent 515ed7f commit 3e2606f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rspec-rails.gemspec
Expand Up @@ -27,9 +27,9 @@ Gem::Specification.new do |s|
s.cert_chain = [File.expand_path('~/.gem/rspec-gem-public_cert.pem')]
end

s.add_runtime_dependency(%q<activesupport>, [">= 3.0", "<= 4.2"])
s.add_runtime_dependency(%q<actionpack>, [">= 3.0", "<= 4.2"])
s.add_runtime_dependency(%q<railties>, [">= 3.0", "<= 4.2"])
s.add_runtime_dependency(%q<activesupport>, [">= 3.0", "< 4.3"])
s.add_runtime_dependency(%q<actionpack>, [">= 3.0", "< 4.3"])
s.add_runtime_dependency(%q<railties>, [">= 3.0", "< 4.3"])
%w[core expectations mocks support].each do |name|
if RSpec::Rails::Version::STRING =~ /[a-zA-Z]+/ # prerelease builds
s.add_runtime_dependency "rspec-#{name}", "= #{RSpec::Rails::Version::STRING}"
Expand Down

0 comments on commit 3e2606f

Please sign in to comment.