Sha256: 200feb49231f50bc4d6fbf879f9600534845f15029146d42db38c31c0240982d

Contents?: true

Size: 460 Bytes

Versions: 34

Compression:

Stored size: 460 Bytes

Contents

# frozen_string_literal: true

module RuboCop
  # RuboCop Rails project namespace
  module Rails
    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)

    ::RuboCop::ConfigObsoletion.files << PROJECT_ROOT.join('config', 'obsoletion.yml')
  end
end

Version data entries

34 entries across 32 versions & 3 rubygems

Version Path
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/rubocop-rails-2.15.2/lib/rubocop/rails.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/rubocop-rails-2.15.2/lib/rubocop/rails.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/rubocop-rails-2.15.2/lib/rubocop/rails.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/rubocop-rails-2.14.2/lib/rubocop/rails.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/rubocop-rails-2.15.2/lib/rubocop/rails.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/rubocop-rails-2.14.2/lib/rubocop/rails.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/rubocop-rails-2.15.2/lib/rubocop/rails.rb
rubocop-rails-2.17.4 lib/rubocop/rails.rb
rubocop-rails-2.17.3 lib/rubocop/rails.rb
rubocop-rails-2.17.2 lib/rubocop/rails.rb
rubocop-rails-2.17.1 lib/rubocop/rails.rb
rubocop-rails-2.17.0 lib/rubocop/rails.rb
rubocop-rails-2.16.1 lib/rubocop/rails.rb
rubocop-rails-2.16.0 lib/rubocop/rails.rb
rubocop-rails-2.15.2 lib/rubocop/rails.rb
rubocop-rails-2.15.1 lib/rubocop/rails.rb
rubocop-rails-2.15.0 lib/rubocop/rails.rb
rubocop-rails-2.14.2 lib/rubocop/rails.rb
rubocop-rails-2.14.1 lib/rubocop/rails.rb
rubocop-rails-2.14.0 lib/rubocop/rails.rb