lib/rubocop/rspec/config_formatter.rb in rubocop-rspec-1.32.0 vs lib/rubocop/rspec/config_formatter.rb in rubocop-rspec-1.33.0

- old
+ new

@@ -1,12 +1,14 @@ +# frozen_string_literal: true + require 'yaml' module RuboCop module RSpec # Builds a YAML config file from two config hashes class ConfigFormatter NAMESPACES = /^(RSpec|Capybara|FactoryBot|Rails)/.freeze - STYLE_GUIDE_BASE_URL = 'http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/'.freeze + STYLE_GUIDE_BASE_URL = 'http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/' def initialize(config, descriptions) @config = config @descriptions = descriptions end