Sha256: acd55107a24bc0f12a35c82bb9e8815792f85aeca8c37dc62c3c9ae96c7ee608

Contents?: true

Size: 378 Bytes

Versions: 69

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true

module RuboCop
  # RuboCop minitest project namespace
  module Minitest
    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

69 entries across 69 versions & 1 rubygems

Version Path
rubocop-minitest-0.16.0 lib/rubocop/minitest.rb
rubocop-minitest-0.15.2 lib/rubocop/minitest.rb
rubocop-minitest-0.15.1 lib/rubocop/minitest.rb
rubocop-minitest-0.15.0 lib/rubocop/minitest.rb
rubocop-minitest-0.14.0 lib/rubocop/minitest.rb
rubocop-minitest-0.13.0 lib/rubocop/minitest.rb
rubocop-minitest-0.12.1 lib/rubocop/minitest.rb
rubocop-minitest-0.12.0 lib/rubocop/minitest.rb
rubocop-minitest-0.11.1 lib/rubocop/minitest.rb
rubocop-minitest-0.11.0 lib/rubocop/minitest.rb
rubocop-minitest-0.10.3 lib/rubocop/minitest.rb
rubocop-minitest-0.10.2 lib/rubocop/minitest.rb
rubocop-minitest-0.10.1 lib/rubocop/minitest.rb
rubocop-minitest-0.10.0 lib/rubocop/minitest.rb
rubocop-minitest-0.9.0 lib/rubocop/minitest.rb
rubocop-minitest-0.8.1 lib/rubocop/minitest.rb
rubocop-minitest-0.8.0 lib/rubocop/minitest.rb
rubocop-minitest-0.7.0 lib/rubocop/minitest.rb
rubocop-minitest-0.6.2 lib/rubocop/minitest.rb
rubocop-minitest-0.6.1 lib/rubocop/minitest.rb