Sha256: 2fe3380ad5fd5a379096a38da75a282e4f05aa0ed99a5c0b52ecead19da4782e

Contents?: true

Size: 425 Bytes

Versions: 12

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

require "rails/generators"
require "generators/kafka_producer/concerns/configuration"

module KafkaProducer
  module Generators
    class InstallGenerator < Rails::Generators::Base
      include Concerns::Configuration

      source_root File.expand_path("templates", __dir__)

      def create_kafka_producer_yml
        copy_file "kafka_producer.yml", CONFIG_PATH
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sbmt-kafka_producer-3.2.2 lib/generators/kafka_producer/install/install_generator.rb
sbmt-kafka_producer-3.2.1 lib/generators/kafka_producer/install/install_generator.rb
sbmt-kafka_producer-3.2.0 lib/generators/kafka_producer/install/install_generator.rb
sbmt-kafka_producer-3.1.1 lib/generators/kafka_producer/install/install_generator.rb
sbmt-kafka_producer-3.1.0 lib/generators/kafka_producer/install/install_generator.rb
sbmt-kafka_producer-3.0.0 lib/generators/kafka_producer/install/install_generator.rb
sbmt-kafka_producer-2.2.3 lib/generators/kafka_producer/install/install_generator.rb
sbmt-kafka_producer-2.2.2 lib/generators/kafka_producer/install/install_generator.rb
sbmt-kafka_producer-2.2.1 lib/generators/kafka_producer/install/install_generator.rb
sbmt-kafka_producer-2.2.0 lib/generators/kafka_producer/install/install_generator.rb
sbmt-kafka_producer-2.1.0 lib/generators/kafka_producer/install/install_generator.rb
sbmt-kafka_producer-2.0.0 lib/generators/kafka_producer/install/install_generator.rb