Sha256: 082339e30cce85af21bd5b10f63f961273c1e187ecba1447623c834f57d68eeb

Contents?: true

Size: 326 Bytes

Versions: 11

Compression:

Stored size: 326 Bytes

Contents

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', __FILE__)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
avro-builder-0.16.1 lib/avro/builder/railtie.rb
avro-builder-0.16.0 lib/avro/builder/railtie.rb
avro-builder-0.15.0 lib/avro/builder/railtie.rb
avro-builder-0.15.0.rc0 lib/avro/builder/railtie.rb
avro-builder-0.14.1 lib/avro/builder/railtie.rb
avro-builder-0.14.0 lib/avro/builder/railtie.rb
avro-builder-0.13.0 lib/avro/builder/railtie.rb
avro-builder-0.12.0 lib/avro/builder/railtie.rb
avro-builder-0.11.0 lib/avro/builder/railtie.rb
avro-builder-0.10.0 lib/avro/builder/railtie.rb
avro-builder-0.9.0 lib/avro/builder/railtie.rb