recipes/hoptoad.rb in rails_wizard-0.1.2 vs recipes/hoptoad.rb in rails_wizard-0.1.3

- old
+ new

@@ -1,14 +1,16 @@ gem 'hoptoad_notifier' -after_bundler do - if config['use_heroku'] +if config['use_heroku'] + after_everything do say_wizard "Adding hoptoad:basic Heroku addon (you can always upgrade later)" run "heroku addons:add hoptoad:basic" generate "hoptoad --heroku" - else + end +else + after_bundler do generate "hoptoad --api-key #{config['api_key']}" end end __END__ @@ -17,9 +19,10 @@ description: Add Hoptoad exception reporting to your application. category: services exclusive: exception_notification tags: [exception_notification] +run_after: [heroku] config: - use_heroku: type: boolean prompt: "Use the Hoptoad Heroku addon?"