Class: Deimos::Generators::V2Generator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/deimos/v2_generator.rb

Overview

Generator for ActiveRecord model and migration.

Defined Under Namespace

Classes: ProcString

Instance Method Summary collapse

Instance Method Details

#generatevoid

This method returns an undefined value.



181
182
183
184
185
186
187
188
189
190
# File 'lib/generators/deimos/v2_generator.rb', line 181

def generate
  process_all_files
  say "Generation complete! You are safe to remove the existing initializer that configures Deimos.", :green
  say "Note: The following settings cannot be determined by the generator:", :yellow
  say "*  logger / phobos_logger (dynamic object, cannot be printed out)", :yellow
  say "*  kafka.sasl.oauth_token_provider", :yellow
  say "*  producers.max_buffer_size", :yellow
  say "*  consumer.backoff (only handles minimum, not maximum)", :yellow
  say "For more information, see https://github.com/flipp-oss/deimos/blob/master/docs/UPGRADING.md", :yellow
end