Sha256: 3545c7a69e22a4bdce164c64c7244d010ea35745def69663dd3e6678ff7e7bcc

Contents?: true

Size: 339 Bytes

Versions: 10

Compression:

Stored size: 339 Bytes

Contents

require "rails/generators"

module Ahoy
  module Stores
    module Generators
      class KafkaGenerator < Rails::Generators::Base
        source_root File.expand_path("../templates", __FILE__)

        def create_initializer
          template "kafka_initializer.rb", "config/initializers/ahoy.rb"
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ahoy_matey-1.6.1 lib/generators/ahoy/stores/kafka_generator.rb
ahoy_matey-1.6.0 lib/generators/ahoy/stores/kafka_generator.rb
ahoy_matey-1.5.5 lib/generators/ahoy/stores/kafka_generator.rb
ahoy_matey-1.5.4 lib/generators/ahoy/stores/kafka_generator.rb
ahoy_matey-1.5.3 lib/generators/ahoy/stores/kafka_generator.rb
ahoy_matey-1.5.2 lib/generators/ahoy/stores/kafka_generator.rb
ahoy_matey-1.5.1 lib/generators/ahoy/stores/kafka_generator.rb
ahoy_matey-1.5.0 lib/generators/ahoy/stores/kafka_generator.rb
ahoy_matey-1.4.2 lib/generators/ahoy/stores/kafka_generator.rb
ahoy_matey-1.4.1 lib/generators/ahoy/stores/kafka_generator.rb