Sha256: c35b6a7532c6e7adf5bccbd20bd0b7e05032fa18566dd7d9ca963900b352e91f

Contents?: true

Size: 437 Bytes

Versions: 20

Compression:

Stored size: 437 Bytes

Contents

# frozen_string_literal: true

require_relative 'rubomatic-rails/version'
require 'yaml'

module RuboCop
  module RubomaticRails
    class Error < StandardError
    end

    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

20 entries across 20 versions & 2 rubygems

Version Path
rubocop-rubomatic-rails-1.5.0 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.5.0.pre.rc.3 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.5.0.pre.rc.2 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.5.0.pre.rc.1 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.4.1 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.4.0 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.4.0.pre.rc.2 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.4.0.pre.rc.1 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.3.0 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.3.0.pre.rc.1 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.2.0 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.2.0.pre.rc.1 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.1.0 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.1.0.pre.rc.1 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.0.0 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.0.0.pre.rc.4 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.0.0.pre.rc.3 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.0.0.pre.rc.2 lib/rubocop/rubomatic-rails.rb
rubocop-rubomatic-rails-1.0.0.pre.rc.1 lib/rubocop/rubomatic-rails.rb
rucop-rubomatic-rails-1.0.0.pre.rc.1 lib/rubocop/rubomatic-rails.rb