Skip to content

Commit fc83635

Browse files
committed
manual rubocop fixes
1 parent 450b3fc commit fc83635

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

getting-started/bookshelf/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ gem "google-cloud-storage", "~> 1.10"
2323
gem "rails", "~> 7.0"
2424

2525
gem "jquery-rails"
26-
gem 'sprockets-rails', :require => 'sprockets/railtie'
26+
gem "sprockets-rails", require: "sprockets/railtie"
2727

2828

2929
group :development, :test do

getting-started/bookshelf/bin/setup

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# limitations under the License.
1515

1616
require "fileutils"
17-
include FileUtils
1817

1918
# path to your application root.
2019
APP_ROOT = File.expand_path "..", __dir__

getting-started/bookshelf/bin/update

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# limitations under the License.
1515

1616
require "fileutils"
17-
include FileUtils
1817

1918
# path to your application root.
2019
APP_ROOT = File.expand_path "..", __dir__

getting-started/bookshelf/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
8484

8585
if ENV["RAILS_LOG_TO_STDOUT"].present?
86-
logger = ActiveSupport::Logger.new STDOUT
86+
logger = ActiveSupport::Logger.new $stdout
8787
logger.formatter = config.log_formatter
8888
config.logger = ActiveSupport::TaggedLogging.new logger
8989
end

getting-started/bookshelf/config/initializers/wrap_parameters.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
# is enabled by default.
1818

1919
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
20-
ActiveSupport.on_load(:action_controller) do
20+
ActiveSupport.on_load :action_controller do
2121
wrap_parameters format: [:json]
2222
end

0 commit comments

Comments
 (0)