diff options
-rw-r--r-- | .rubocop.yml | 1 | ||||
-rwxr-xr-x | tools/console | 2 | ||||
-rwxr-xr-x | tools/profile | 2 | ||||
-rw-r--r-- | tools/test.rb | 2 |
4 files changed, 7 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index f84014d83a..cc725637ee 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -94,6 +94,7 @@ Style/FrozenStringLiteralComment: - 'actionpack/**/*' - 'guides/**/*' - 'tasks/**/*' + - 'tools/**/*' Exclude: - 'actionview/test/**/*.builder' - 'actionview/test/**/*.ruby' diff --git a/tools/console b/tools/console index 58c76fb1b6..ee08e22502 100755 --- a/tools/console +++ b/tools/console @@ -1,4 +1,6 @@ #!/usr/bin/env ruby +# frozen_string_literal: true + require "bundler" Bundler.setup diff --git a/tools/profile b/tools/profile index 01e513c67a..6fb571f43b 100755 --- a/tools/profile +++ b/tools/profile @@ -1,4 +1,6 @@ #!/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 774e4ec6c7..1fd3ee30eb 100644 --- a/tools/test.rb +++ b/tools/test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + $: << File.expand_path("test", COMPONENT_ROOT) require "bundler" |