config/boot.rb in pact_broker-2.79.1 vs config/boot.rb in pact_broker-2.80.0
- old
+ new
@@ -1,21 +1,21 @@
# Remember everything in this file will be loaded by Rake, don't make it too heavy...
-$LOAD_PATH << File.expand_path(File.dirname(__FILE__) + '/../lib')
+$LOAD_PATH << File.expand_path(File.dirname(__FILE__) + "/../lib")
# Default environment
# Be aware that rake loads this boot file, so any attempt to change RACK_ENV by
# setting ENV['RACK_ENV'] after that (eg. in spec_helper) will not work.
-RACK_ENV = ENV['RACK_ENV'] || 'development' unless defined? RACK_ENV
+RACK_ENV = ENV["RACK_ENV"] || "development" unless defined? RACK_ENV
# Set up gems listed in the Gemfile.
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-if File.exists?(ENV['BUNDLE_GEMFILE'])
- require 'bundler/setup'
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__)
+if File.exist?(ENV["BUNDLE_GEMFILE"])
+ require "bundler/setup"
Bundler.require
end
if defined?(I18n)
I18n.enforce_available_locales = false
end
-require 'pact_broker'
+require "pact_broker"