Sha256: 9aa7b43ea4d4870a53b66cbe1275d2e811b908cdda3e8f90caaa7be690682dff

Contents?: true

Size: 327 Bytes

Versions: 2

Compression:

Stored size: 327 Bytes

Contents

module Rubocop
  module Ruby23
    class Railtie < Rails::Railtie
      railtie_name :rubocop_ruby2_3

      if Rails.env.test? || Rails.env.development?
        rake_tasks do
          path = File.expand_path(__dir__)
          Dir.glob("#{path}/rakelib/**/*.rake").each { |f| load f }
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubocop-ruby2_3-2.0.2 lib/rubocop/ruby2_3/railtie.rb
rubocop-ruby2_3-2.0.1 lib/rubocop/ruby2_3/railtie.rb