Class: DaemonKit::Generators::RuoteGenerator
- Defined in:
- lib/generators/daemon_kit/ruote/ruote_generator.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#create_configs ⇒ Object
10 11 12 |
# File 'lib/generators/daemon_kit/ruote/ruote_generator.rb', line 10 def create_configs directory 'config' end |
#create_daemon ⇒ Object
18 19 20 |
# File 'lib/generators/daemon_kit/ruote/ruote_generator.rb', line 18 def create_daemon directory 'libexec' end |
#create_lib ⇒ Object
14 15 16 |
# File 'lib/generators/daemon_kit/ruote/ruote_generator.rb', line 14 def create_lib directory 'lib', nil, :force => true end |
#update_gemfile ⇒ Object
5 6 7 8 |
# File 'lib/generators/daemon_kit/ruote/ruote_generator.rb', line 5 def update_gemfile append_file 'Gemfile', "gem 'amqp' # Only needed if running the AMQP participant/listener pair\n" append_file 'Gemfile', "gem 'json' # Can be replaced with json_pure\n" end |