Skip to content

Commit bd166f6

Browse files
committed
Relax rack dependency
1 parent f3ab72e commit bd166f6

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)