Sha256: 730bf92bb2b6cbb8c37361a6f9d69d6cda12041b6e8cbc0a482cefac617b8b4a

Contents?: true

Size: 341 Bytes

Versions: 31

Compression:

Stored size: 341 Bytes

Contents

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

31 entries across 31 versions & 1 rubygems

Version Path
rubocop-rspec-1.18.0 lib/rubocop/rspec.rb
rubocop-rspec-1.17.1 lib/rubocop/rspec.rb
rubocop-rspec-1.17.0 lib/rubocop/rspec.rb
rubocop-rspec-1.16.0 lib/rubocop/rspec.rb
rubocop-rspec-1.15.1 lib/rubocop/rspec.rb
rubocop-rspec-1.15.0 lib/rubocop/rspec.rb
rubocop-rspec-1.14.0 lib/rubocop/rspec.rb
rubocop-rspec-1.13.0 lib/rubocop/rspec.rb
rubocop-rspec-1.12.0 lib/rubocop/rspec.rb
rubocop-rspec-1.11.0 lib/rubocop/rspec.rb
rubocop-rspec-1.10.0 lib/rubocop/rspec.rb