diff options
author | Kir Shatrov <shatrov@me.com> | 2017-06-22 22:59:18 -0400 |
---|---|---|
committer | Kir Shatrov <shatrov@me.com> | 2017-07-01 02:11:03 +0300 |
commit | cfade1ec7ee7b5b51f3c1578e3474f9c156f2971 (patch) | |
tree | 5c12d112bf4d039587d712b0cae92a2d920fee23 /tools | |
parent | 5fe2a4f929fff7fa725545c47ac0f9372d8c643d (diff) | |
download | rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.tar.gz rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.tar.bz2 rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.zip |
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" |