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.36.0 lib/rubocop/minitest.rb
rubocop-minitest-0.35.1 lib/rubocop/minitest.rb
rubocop-minitest-0.35.0 lib/rubocop/minitest.rb
rubocop-minitest-0.34.5 lib/rubocop/minitest.rb
rubocop-minitest-0.34.4 lib/rubocop/minitest.rb
rubocop-minitest-0.34.3 lib/rubocop/minitest.rb
rubocop-minitest-0.34.2 lib/rubocop/minitest.rb
rubocop-minitest-0.34.1 lib/rubocop/minitest.rb
rubocop-minitest-0.34.0 lib/rubocop/minitest.rb
rubocop-minitest-0.33.0 lib/rubocop/minitest.rb
rubocop-minitest-0.32.2 lib/rubocop/minitest.rb
rubocop-minitest-0.32.1 lib/rubocop/minitest.rb
rubocop-minitest-0.32.0 lib/rubocop/minitest.rb
rubocop-minitest-0.31.1 lib/rubocop/minitest.rb
rubocop-minitest-0.31.0 lib/rubocop/minitest.rb
rubocop-minitest-0.30.0 lib/rubocop/minitest.rb
rubocop-minitest-0.29.0 lib/rubocop/minitest.rb
rubocop-minitest-0.28.0 lib/rubocop/minitest.rb
rubocop-minitest-0.27.0 lib/rubocop/minitest.rb
rubocop-minitest-0.26.1 lib/rubocop/minitest.rb