mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-29 10:05:51 +00:00
Run with latest activesupport/actionpack when developing
This commit is contained in:
parent
48af653531
commit
3c37390c63
3 changed files with 9 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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: "../"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue