Sha256: 0038ba8554f16187af0b3367cbc81e3f768554d3fd8f9b334ea5bb05063603ab

Contents?: true

Size: 455 Bytes

Versions: 53

Compression:

Stored size: 455 Bytes

Contents

# frozen_string_literal: true

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

    private_constant(:CONFIG_DEFAULT, :PROJECT_ROOT)

    ::RuboCop::ConfigObsoletion.files << PROJECT_ROOT.join('config',
                                                           'obsoletion.yml')
  end
end

Version data entries

53 entries across 51 versions & 7 rubygems

Version Path
rubocop-rspec-2.19.0 lib/rubocop/rspec.rb
rubocop-rspec-2.18.1 lib/rubocop/rspec.rb
rubocop-rspec-2.18.0 lib/rubocop/rspec.rb
rubocop-rspec-2.17.1 lib/rubocop/rspec.rb
rubocop-rspec-2.17.0 lib/rubocop/rspec.rb
rubocop-rspec-2.16.0 lib/rubocop/rspec.rb
rubocop-rspec-2.15.0 lib/rubocop/rspec.rb
rubocop-rspec-2.14.2 lib/rubocop/rspec.rb
rubocop-rspec-2.14.1 lib/rubocop/rspec.rb
rubocop-rspec-2.14.0 lib/rubocop/rspec.rb
rubocop-rspec-2.13.2 lib/rubocop/rspec.rb
rubocop-rspec-2.13.1 lib/rubocop/rspec.rb
rubocop-rspec-2.13.0 lib/rubocop/rspec.rb