Sha256: f7390491f308491bdf2391cb9a34d6520a82623b3445e5240c104baa20e0b8c6

Contents?: true

Size: 282 Bytes

Versions: 4

Compression:

Stored size: 282 Bytes

Contents

require 'protobuf_transpiler'
require 'rails'

module ProtobufTranspiler
  class Railtie < Rails::Railtie
    railtie_name :protobuf_transpiler

    rake_tasks do
      path = File.expand_path(__dir__)
      Dir.glob("#{path}/tasks/**/*.rake").each { |f| load f }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
protobuf_transpiler-1.1.2 lib/railtie.rb
protobuf_transpiler-1.1.1 lib/railtie.rb
protobuf_transpiler-1.1.0 lib/railtie.rb
protobuf_transpiler-1.0.0 lib/railtie.rb