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.26.0 lib/rubocop/minitest.rb
rubocop-minitest-0.25.1 lib/rubocop/minitest.rb
rubocop-minitest-0.25.0 lib/rubocop/minitest.rb
rubocop-minitest-0.24.0 lib/rubocop/minitest.rb
rubocop-minitest-0.23.2 lib/rubocop/minitest.rb
rubocop-minitest-0.23.1 lib/rubocop/minitest.rb
rubocop-minitest-0.23.0 lib/rubocop/minitest.rb
rubocop-minitest-0.22.2 lib/rubocop/minitest.rb
rubocop-minitest-0.22.1 lib/rubocop/minitest.rb
rubocop-minitest-0.22.0 lib/rubocop/minitest.rb
rubocop-minitest-0.21.1 lib/rubocop/minitest.rb
rubocop-minitest-0.21.0 lib/rubocop/minitest.rb
rubocop-minitest-0.20.1 lib/rubocop/minitest.rb
rubocop-minitest-0.20.0 lib/rubocop/minitest.rb
rubocop-minitest-0.19.1 lib/rubocop/minitest.rb
rubocop-minitest-0.19.0 lib/rubocop/minitest.rb
rubocop-minitest-0.18.0 lib/rubocop/minitest.rb
rubocop-minitest-0.17.2 lib/rubocop/minitest.rb
rubocop-minitest-0.17.1 lib/rubocop/minitest.rb
rubocop-minitest-0.17.0 lib/rubocop/minitest.rb