lib/rubocop/rspec.rb in rubocop-rspec-1.9.1 vs lib/rubocop/rspec.rb in rubocop-rspec-1.10.0

- old
+ new

@@ -1,10 +1,10 @@ module RuboCop # RuboCop RSpec project namespace module RSpec PROJECT_ROOT = Pathname.new(__dir__).parent.parent.expand_path.freeze CONFIG_DEFAULT = PROJECT_ROOT.join('config', 'default.yml').freeze - CONFIG = YAML.load(CONFIG_DEFAULT.read).freeze + CONFIG = YAML.safe_load(CONFIG_DEFAULT.read).freeze private_constant(:CONFIG_DEFAULT, :PROJECT_ROOT) end end