diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-03 03:13:11 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-03 03:13:11 +0900 |
commit | 815d1abf3962d65c0bb9043c99a507580b4360df (patch) | |
tree | 15e3dd06455877e6e702e898e2b8fce8592d3cef /activestorage/test/dummy/bin | |
parent | c6974229d018b73f70e38ca8c8862473870d0274 (diff) | |
download | rails-815d1abf3962d65c0bb9043c99a507580b4360df.tar.gz rails-815d1abf3962d65c0bb9043c99a507580b4360df.tar.bz2 rails-815d1abf3962d65c0bb9043c99a507580b4360df.zip |
Fix `Style/StringLiterals` violations for Active Storage
```
% be rubocop -a --only Style/StringLiterals activestorage
Inspecting 74 files
........................................CCCCCCCCCC.C........CC.......C.C..
(snip)
74 files inspected, 31 offenses detected, 31 offenses corrected
```
Diffstat (limited to 'activestorage/test/dummy/bin')
-rwxr-xr-x | activestorage/test/dummy/bin/bundle | 4 | ||||
-rwxr-xr-x | activestorage/test/dummy/bin/rails | 6 | ||||
-rwxr-xr-x | activestorage/test/dummy/bin/rake | 4 | ||||
-rwxr-xr-x | activestorage/test/dummy/bin/yarn | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/activestorage/test/dummy/bin/bundle b/activestorage/test/dummy/bin/bundle index 66e9889e8b..fe1874509a 100755 --- a/activestorage/test/dummy/bin/bundle +++ b/activestorage/test/dummy/bin/bundle @@ -1,3 +1,3 @@ #!/usr/bin/env ruby -ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) -load Gem.bin_path('bundler', 'bundle') +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__) +load Gem.bin_path("bundler", "bundle") diff --git a/activestorage/test/dummy/bin/rails b/activestorage/test/dummy/bin/rails index 0739660237..efc0377492 100755 --- a/activestorage/test/dummy/bin/rails +++ b/activestorage/test/dummy/bin/rails @@ -1,4 +1,4 @@ #!/usr/bin/env ruby -APP_PATH = File.expand_path('../config/application', __dir__) -require_relative '../config/boot' -require 'rails/commands' +APP_PATH = File.expand_path("../config/application", __dir__) +require_relative "../config/boot" +require "rails/commands" diff --git a/activestorage/test/dummy/bin/rake b/activestorage/test/dummy/bin/rake index 17240489f6..4fbf10b960 100755 --- a/activestorage/test/dummy/bin/rake +++ b/activestorage/test/dummy/bin/rake @@ -1,4 +1,4 @@ #!/usr/bin/env ruby -require_relative '../config/boot' -require 'rake' +require_relative "../config/boot" +require "rake" Rake.application.run diff --git a/activestorage/test/dummy/bin/yarn b/activestorage/test/dummy/bin/yarn index c2bacef836..b8fe4eeaf3 100755 --- a/activestorage/test/dummy/bin/yarn +++ b/activestorage/test/dummy/bin/yarn @@ -1,5 +1,5 @@ #!/usr/bin/env ruby -VENDOR_PATH = File.expand_path('..', __dir__) +VENDOR_PATH = File.expand_path("..", __dir__) Dir.chdir(VENDOR_PATH) do begin exec "yarnpkg #{ARGV.join(" ")}" |