Sha256: 8b8f2f69d00284fe9ce0406cf31a65fdd392161420dd32838ed7b373ef854671

Contents?: true

Size: 303 Bytes

Versions: 7

Compression:

Stored size: 303 Bytes

Contents

# frozen_string_literal: true

module Avromatic
  class Railtie < Rails::Railtie
    initializer 'avromatic.configure' do
      Avromatic.configure do |config|
        config.logger = Rails.logger
      end

      Rails.configuration.to_prepare do
        Avromatic.prepare!
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
avromatic-5.2.0 lib/avromatic/railtie.rb
avromatic-5.1.1 lib/avromatic/railtie.rb
avromatic-5.1.0 lib/avromatic/railtie.rb
avromatic-5.0.0 lib/avromatic/railtie.rb
avromatic-4.3.0 lib/avromatic/railtie.rb
avromatic-4.2.0 lib/avromatic/railtie.rb
avromatic-4.1.1 lib/avromatic/railtie.rb