Run with latest activesupport/actionpack when developing

This commit is contained in:
Gonzalo Rodriguez 2018-06-26 11:15:13 -03:00
parent 48af653531
commit 3c37390c63
No known key found for this signature in database
GPG key ID: 5DB8B81B049B8AB1
3 changed files with 9 additions and 2 deletions

View file

@ -5,6 +5,11 @@ end
appraise "rack_1_6" do
gem "rack", "~> 1.6.9"
# Override activesupport and actionpack version constraints by making
# it more loose so it's compatible with rack 1.6.x
gem "activesupport", ">= 4.2"
gem "actionpack", ">= 4.2"
# Override rack-test version constraint by making it more loose
# so it's compatible with actionpack 4.2.x
gem "rack-test", ">= 0.6"

View file

@ -3,6 +3,8 @@
source "https://rubygems.org"
gem "rack", "~> 1.6.9"
gem "activesupport", ">= 4.2"
gem "actionpack", ">= 4.2"
gem "rack-test", ">= 0.6"
gemspec path: "../"

View file

@ -46,6 +46,6 @@ Gem::Specification.new do |s|
# The following are potential runtime dependencies users may have,
# which rack-attack uses only for testing compatibility in test suite.
s.add_development_dependency 'actionpack', '>= 3.0.0'
s.add_development_dependency 'activesupport', '>= 3.0.0'
s.add_development_dependency 'actionpack', '~> 5.2'
s.add_development_dependency 'activesupport', '~> 5.2'
end