diff options
author | Go MAEDA <maeda@farend.jp> | 2019-03-15 01:32:57 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-03-15 01:32:57 +0000 |
commit | 5861160ffc350a97b5ff41465fbd7e03008853e4 (patch) | |
tree | ad260a758b0c88c42debd6b567d6cd382d27ae42 /bin | |
parent | 9f4a4be01a48eb2cbb30f8786aee3b9fec830f19 (diff) | |
download | redmine-5861160ffc350a97b5ff41465fbd7e03008853e4.tar.gz redmine-5861160ffc350a97b5ff41465fbd7e03008853e4.zip |
Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/about | 1 | ||||
-rwxr-xr-x | bin/bundle | 2 | ||||
-rw-r--r-- | bin/changelog.rb | 2 | ||||
-rwxr-xr-x | bin/rails | 2 | ||||
-rwxr-xr-x | bin/rake | 2 |
5 files changed, 9 insertions, 0 deletions
@@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false ENV["RAILS_ENV"] ||= "production" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") diff --git a/bin/bundle b/bin/bundle index 66e9889e8..96e725c20 100755 --- a/bin/bundle +++ b/bin/bundle @@ -1,3 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false + ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) load Gem.bin_path('bundler', 'bundle') diff --git a/bin/changelog.rb b/bin/changelog.rb index 7862f21eb..36c11f458 100644 --- a/bin/changelog.rb +++ b/bin/changelog.rb @@ -1,4 +1,6 @@ #!/usr/bin/env ruby +# frozen_string_literal: false + require 'optparse' require 'ostruct' require 'date' @@ -1,4 +1,6 @@ #!/usr/bin/env ruby +# frozen_string_literal: false + APP_PATH = File.expand_path('../../config/application', __FILE__) require_relative '../config/boot' require 'rails/commands' @@ -1,4 +1,6 @@ #!/usr/bin/env ruby +# frozen_string_literal: false + require_relative '../config/boot' require 'rake' Rake.application.run |