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.32.0 lib/rubocop/rspec.rb
rubocop-rspec-1.31.0 lib/rubocop/rspec.rb
rubocop-rspec-1.30.1 lib/rubocop/rspec.rb
rubocop-rspec-1.30.0 lib/rubocop/rspec.rb
rubocop-rspec-1.29.1 lib/rubocop/rspec.rb
rubocop-rspec-1.29.0 lib/rubocop/rspec.rb
rubocop-rspec-1.28.0 lib/rubocop/rspec.rb
rubocop-rspec-1.27.0 lib/rubocop/rspec.rb
rubocop-rspec-1.26.0 lib/rubocop/rspec.rb
rubocop-rspec-1.25.1 lib/rubocop/rspec.rb
rubocop-rspec-1.25.0 lib/rubocop/rspec.rb
rubocop-rspec-1.24.0 lib/rubocop/rspec.rb
rubocop-rspec-1.23.0 lib/rubocop/rspec.rb
rubocop-rspec-1.22.2 lib/rubocop/rspec.rb
rubocop-rspec-1.22.1 lib/rubocop/rspec.rb
rubocop-rspec-1.22.0 lib/rubocop/rspec.rb
rubocop-rspec-1.21.0 lib/rubocop/rspec.rb
rubocop-rspec-1.20.1 lib/rubocop/rspec.rb
rubocop-rspec-1.20.0 lib/rubocop/rspec.rb
rubocop-rspec-1.19.0 lib/rubocop/rspec.rb