Permalink
Browse files

RuboCop: special needs for #1252 config.ru with BOM

  • Loading branch information...
jeremy committed Jun 3, 2018
1 parent eac0f31 commit efe2c8f65e052fc853c1eef6f47d5df480f36016
Showing with 3 additions and 1 deletion.
  1. +2 −0 .rubocop.yml
  2. +1 −1 test/builder/bom.ru
View
@@ -7,6 +7,8 @@ AllCops:
Style/FrozenStringLiteralComment:
Enabled: true
EnforcedStyle: always
Exclude:
- 'test/builder/bom.ru'
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
Style/HashSyntax:
View
@@ -1 +1 @@
run -> (env) { [200, {'Content-Type' => 'text/plain'}, ['OK']] }
run -> (env) { [200, { 'Content-Type' => 'text/plain' }, ['OK']] }

0 comments on commit efe2c8f

Please sign in to comment.