Sha256: 24d64b1a280fef089811fb96f7bcf80387c9bb698cf9e2ce00809286146337bc

Contents?: true

Size: 353 Bytes

Versions: 7

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

module Avro
  module Builder
    class Railtie < Rails::Railtie

      initializer 'salsify_avro.avro_builder_load_path' do
        Avro::Builder.add_load_path("#{Rails.root}/avro/dsl")
      end

      rake_tasks do
        load File.expand_path('rake/rails_avro_generate_task.rake', __dir__)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
avro-builder-2.1.0 lib/avro/builder/railtie.rb
avro-builder-2.0.0 lib/avro/builder/railtie.rb
avro-builder-1.1.0 lib/avro/builder/railtie.rb
avro-builder-1.0.1 lib/avro/builder/railtie.rb
avro-builder-1.0.0 lib/avro/builder/railtie.rb
avro-builder-0.17.0 lib/avro/builder/railtie.rb
avro-builder-0.16.2 lib/avro/builder/railtie.rb