Sha256: 276ad67980dd038ef47dd4d2650908b28a6b767431cfd737d292e2152b4e68a4

Contents?: true

Size: 327 Bytes

Versions: 2

Compression:

Stored size: 327 Bytes

Contents

module Rubocop
  module Ruby19
    class Railtie < Rails::Railtie
      railtie_name :rubocop_ruby1_9

      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-ruby1_9-2.0.3 lib/rubocop/ruby1_9/railtie.rb
rubocop-ruby1_9-2.0.2 lib/rubocop/ruby1_9/railtie.rb