Skip to content

Commit ce2c5a4

Browse files
authored
Merge pull request #68 from buehmann/relax-rack-dependency
Relax rack dependency for Rails 4
2 parents c4e05e5 + bd166f6 commit ce2c5a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rubocop-rails.gemspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ Gem::Specification.new do |s|
3131
'bug_tracker_uri' => 'https://github.com/rubocop-hq/rubocop-rails/issues'
3232
}
3333

34-
s.add_runtime_dependency 'rack', '>= 2.0'
34+
# Rack::Utils::SYMBOL_TO_STATUS_CODE, which is used by HttpStatus cop, was
35+
# introduced in rack 1.1
36+
s.add_runtime_dependency 'rack', '>= 1.1'
3537
s.add_runtime_dependency 'rubocop', '>= 0.70.0'
3638
end
3739
# rubocop:enable Metrics/BlockLength

0 commit comments

Comments
 (0)