Sha256: 5d139bc2565e8130626a05619a56df9c544bd697ae353da6c018b8c8b5d43037

Contents?: true

Size: 513 Bytes

Versions: 21

Compression:

Stored size: 513 Bytes

Contents

# frozen_string_literal: true

require "rails/generators/base"
require "generators/kafka_consumer/concerns/configuration"

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

      source_root File.expand_path("templates", __dir__)

      def create_kafkafile
        copy_file "Kafkafile", "./Kafkafile"
      end

      def create_kafka_consumer_yml
        copy_file "kafka_consumer.yml", CONFIG_PATH
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
sbmt-kafka_consumer-3.3.2 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-3.3.1 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-3.3.0 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-3.2.2 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-3.2.1 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-3.2.0 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-3.1.0 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-2.8.0 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-3.0.0 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-2.7.1 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-2.7.0 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-2.6.1 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-2.6.0 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-2.5.0 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-2.4.1 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-2.4.0 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-2.3.1 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-2.3.0 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-2.2.0 lib/generators/kafka_consumer/install/install_generator.rb
sbmt-kafka_consumer-2.1.0 lib/generators/kafka_consumer/install/install_generator.rb