diff --git a/bin/tapioca b/bin/tapioca index a6ae757..9582c7c 100755 --- a/bin/tapioca +++ b/bin/tapioca @@ -8,12 +8,12 @@ # 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).include?("This file was generated by Bundler") + if File.read(bundle_binstub, 300).include?('This file was generated by Bundler') load(bundle_binstub) else abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. @@ -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("tapioca", "tapioca") +load Gem.bin_path('tapioca', 'tapioca') diff --git a/spec/inexact_struct_spec.rb b/spec/inexact_struct_spec.rb index 6535ed1..a3b969e 100644 --- a/spec/inexact_struct_spec.rb +++ b/spec/inexact_struct_spec.rb @@ -60,6 +60,6 @@ class Baz < T::InexactStruct end def read_normalized(path) - File.read(path).gsub(/^\s*$/, "") + File.read(path).gsub(/^\s*$/, '') end end