1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Use frozen string literal in tools/

This commit is contained in:
Koichi ITO 2017-08-13 21:55:53 +09:00
parent ef2016f888
commit 7d85e0f95c
4 changed files with 7 additions and 0 deletions

View file

@ -94,6 +94,7 @@ Style/FrozenStringLiteralComment:
- 'actionpack/**/*'
- 'guides/**/*'
- 'tasks/**/*'
- 'tools/**/*'
Exclude:
- 'actionview/test/**/*.builder'
- 'actionview/test/**/*.ruby'

View file

@ -1,4 +1,6 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
require "bundler"
Bundler.setup

View file

@ -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.
#

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
$: << File.expand_path("test", COMPONENT_ROOT)
require "bundler"