Skip to content

Commit

Permalink
Use frozen string literal in tools/
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Aug 13, 2017
1 parent ef2016f commit 7d85e0f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Style/FrozenStringLiteralComment:
- 'actionpack/**/*'
- 'guides/**/*'
- 'tasks/**/*'
- 'tools/**/*'
Exclude:
- 'actionview/test/**/*.builder'
- 'actionview/test/**/*.ruby'
Expand Down
2 changes: 2 additions & 0 deletions tools/console
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

require "bundler"
Bundler.setup

Expand Down
2 changes: 2 additions & 0 deletions tools/profile
Original file line number Diff line number Diff line change
@@ -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.
#
Expand Down
2 changes: 2 additions & 0 deletions tools/test.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

$: << File.expand_path("test", COMPONENT_ROOT)

require "bundler"
Expand Down

0 comments on commit 7d85e0f

Please sign in to comment.