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.6.0 lib/rubocop/minitest.rb
rubocop-minitest-0.5.1 lib/rubocop/minitest.rb
rubocop-minitest-0.5.0 lib/rubocop/minitest.rb
rubocop-minitest-0.4.1 lib/rubocop/minitest.rb
rubocop-minitest-0.4.0 lib/rubocop/minitest.rb
rubocop-minitest-0.3.0 lib/rubocop/minitest.rb
rubocop-minitest-0.2.1 lib/rubocop/minitest.rb
rubocop-minitest-0.2.0 lib/rubocop/minitest.rb
rubocop-minitest-0.1.0 lib/rubocop/minitest.rb