diff options
author | Matthew Draper <matthew@trebex.net> | 2017-07-02 01:08:37 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2017-07-02 01:11:50 +0930 |
commit | 3420a14590c0e6915d8b6c242887f74adb4120f9 (patch) | |
tree | 7ae54681e3e2b18555603c39c50b01f3707ef9a7 /tools | |
parent | afb66a5a598ce4ac74ad84b125a5abf046dcf5aa (diff) | |
parent | cfade1ec7ee7b5b51f3c1578e3474f9c156f2971 (diff) | |
download | rails-3420a14590c0e6915d8b6c242887f74adb4120f9.tar.gz rails-3420a14590c0e6915d8b6c242887f74adb4120f9.tar.bz2 rails-3420a14590c0e6915d8b6c242887f74adb4120f9.zip |
Merge pull request #29540 from kirs/rubocop-frozen-string
Enforce frozen string in Rubocop
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/console | 1 | ||||
-rwxr-xr-x | tools/profile | 1 | ||||
-rw-r--r-- | tools/test.rb | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tools/console b/tools/console index 58c76fb1b6..ff52308a90 100755 --- a/tools/console +++ b/tools/console @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: true require "bundler" Bundler.setup diff --git a/tools/profile b/tools/profile index 01e513c67a..ccbd8cfa46 100755 --- a/tools/profile +++ b/tools/profile @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: true # Profile require calls giving information about the time and the files that are called # when loading the provided file. # diff --git a/tools/test.rb b/tools/test.rb index 52e9c19198..189997229b 100644 --- a/tools/test.rb +++ b/tools/test.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true $: << File.expand_path("test", COMPONENT_ROOT) require "bundler" |