diff --git a/Appraisals b/Appraisals index e9d2e21..c800d68 100644 --- a/Appraisals +++ b/Appraisals @@ -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" diff --git a/gemfiles/rack_1_6.gemfile b/gemfiles/rack_1_6.gemfile index 8b636ed..1c10335 100644 --- a/gemfiles/rack_1_6.gemfile +++ b/gemfiles/rack_1_6.gemfile @@ -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: "../" diff --git a/rack-attack.gemspec b/rack-attack.gemspec index c1180c7..f2e6d9c 100644 --- a/rack-attack.gemspec +++ b/rack-attack.gemspec @@ -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