Sha256: 5c7647721976a610de56ea6bb82b40eba64b9fc64e9e7428b24243ac057f5550
Contents?: true
Size: 606 Bytes
Versions: 2
Compression:
Stored size: 606 Bytes
Contents
# frozen_string_literal: true module RuboCop module RSpec module Extra module Inject def self.defaults! path = CONFIG_DEFAULT.to_s hash = ::RuboCop::ConfigLoader.send(:load_yaml_configuration, path) config = ::RuboCop::Config.new(hash, path).tap(&:make_excludes_absolute) puts "configuration from #{path}" if ::RuboCop::ConfigLoader.debug? config = ::RuboCop::ConfigLoader.merge_with_default(config, path) ::RuboCop::ConfigLoader.instance_variable_set(:@default_configuration, config) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubocop-rspec-extra-0.2.0 | lib/rubocop/rspec/extra/inject.rb |
rubocop-rspec-extra-0.1.0 | lib/rubocop/rspec/extra/inject.rb |