lib/cookstyle.rb in cookstyle-3.0.0 vs lib/cookstyle.rb in cookstyle-3.0.1

- old
+ new

@@ -1,20 +1,20 @@ -require "cookstyle/version" +require 'cookstyle/version' # ensure the desired target version of RuboCop is gem activated -gem "rubocop", "= #{Cookstyle::RUBOCOP_VERSION}" -require "rubocop" +gem 'rubocop', "= #{Cookstyle::RUBOCOP_VERSION}" +require 'rubocop' module RuboCop class ConfigLoader RUBOCOP_HOME.gsub!( /^.*$/, - File.realpath(File.join(File.dirname(__FILE__), "..")) + File.realpath(File.join(File.dirname(__FILE__), '..')) ) DEFAULT_FILE.gsub!( /^.*$/, - File.join(RUBOCOP_HOME, "config", "default.yml") + File.join(RUBOCOP_HOME, 'config', 'default.yml') ) end end # Cookstyle patches the RuboCop tool to set a new default configuration that