Sha256: b96faa3b9829c93d5772be53934744ffbf0c03e12efadd66fe08f906ffca142b

Contents?: true

Size: 372 Bytes

Versions: 19

Compression:

Stored size: 372 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
    CONFIG         = YAML.safe_load(CONFIG_DEFAULT.read).freeze

    private_constant(:CONFIG_DEFAULT, :PROJECT_ROOT)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rubocop-rspec-2.0.0.pre lib/rubocop/rspec.rb
rubocop-rspec-1.44.1 lib/rubocop/rspec.rb
rubocop-rspec-1.44.0 lib/rubocop/rspec.rb
rubocop-rspec-1.43.2 lib/rubocop/rspec.rb
rubocop-rspec-1.43.1 lib/rubocop/rspec.rb
rubocop-rspec-1.43.0 lib/rubocop/rspec.rb
rubocop-rspec-1.42.0 lib/rubocop/rspec.rb
rubocop-rspec-1.41.0 lib/rubocop/rspec.rb
rubocop-rspec-1.40.0 lib/rubocop/rspec.rb
rubocop-rspec-1.39.0 lib/rubocop/rspec.rb
rubocop-rspec-1.38.1 lib/rubocop/rspec.rb
rubocop-rspec-1.38.0 lib/rubocop/rspec.rb
rubocop-rspec-1.37.1 lib/rubocop/rspec.rb
rubocop-rspec-1.37.0 lib/rubocop/rspec.rb
rubocop-rspec-1.36.0 lib/rubocop/rspec.rb
rubocop-rspec-1.35.0 lib/rubocop/rspec.rb
rubocop-rspec-1.34.1 lib/rubocop/rspec.rb
rubocop-rspec-1.34.0 lib/rubocop/rspec.rb
rubocop-rspec-1.33.0 lib/rubocop/rspec.rb