From 8c0093abb456cb2d5173ba466a0f54ddffc22b98 Mon Sep 17 00:00:00 2001 From: Caitlin Date: Thu, 21 Sep 2023 10:27:13 -0400 Subject: [PATCH] lint binstubs --- bin/rails | 6 +++--- bin/rake | 4 ++-- bin/rspec | 10 +++++----- bin/spring | 10 +++++----- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/bin/rails b/bin/rails index efc037749..073966023 100755 --- a/bin/rails +++ b/bin/rails @@ -1,4 +1,4 @@ #!/usr/bin/env ruby -APP_PATH = File.expand_path("../config/application", __dir__) -require_relative "../config/boot" -require "rails/commands" +APP_PATH = File.expand_path('../config/application', __dir__) +require_relative '../config/boot' +require 'rails/commands' diff --git a/bin/rake b/bin/rake index 4fbf10b96..17240489f 100755 --- a/bin/rake +++ b/bin/rake @@ -1,4 +1,4 @@ #!/usr/bin/env ruby -require_relative "../config/boot" -require "rake" +require_relative '../config/boot' +require 'rake' Rake.application.run diff --git a/bin/rspec b/bin/rspec index 757e79b3f..d3f4959a1 100755 --- a/bin/rspec +++ b/bin/rspec @@ -8,9 +8,9 @@ # this file is here to facilitate running it. # -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) -bundle_binstub = File.expand_path("bundle", __dir__) +bundle_binstub = File.expand_path('bundle', __dir__) if File.file?(bundle_binstub) if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ @@ -21,7 +21,7 @@ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this end end -require "rubygems" -require "bundler/setup" +require 'rubygems' +require 'bundler/setup' -load Gem.bin_path("rspec-core", "rspec") +load Gem.bin_path('rspec-core', 'rspec') diff --git a/bin/spring b/bin/spring index e29c31f9c..ab939210e 100755 --- a/bin/spring +++ b/bin/spring @@ -8,9 +8,9 @@ # this file is here to facilitate running it. # -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) -bundle_binstub = File.expand_path("bundle", __dir__) +bundle_binstub = File.expand_path('bundle', __dir__) if File.file?(bundle_binstub) if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ @@ -21,7 +21,7 @@ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this end end -require "rubygems" -require "bundler/setup" +require 'rubygems' +require 'bundler/setup' -load Gem.bin_path("spring", "spring") +load Gem.bin_path('spring', 'spring')