Sha256: d7e5fdcca8976f156a0f1385c3b99eaecf9c98de3c50cb29c2348ee95cd755d3

Contents?: true

Size: 727 Bytes

Versions: 47

Compression:

Stored size: 727 Bytes

Contents

gem 'hoptoad_notifier'

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"
  end
else
  after_bundler do
    generate "hoptoad --api-key #{config['api_key']}"
  end
end

__END__

name: Hoptoad
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?"
      if_recipe: heroku
  - api_key:
      prompt: "Enter Hoptoad API Key:"
      type: string
      unless: use_heroku

Version data entries

47 entries across 47 versions & 4 rubygems

Version Path
rails3_devise_wizard-0.2.4 recipes/hoptoad.rb
rails3_devise_wizard-0.2.3 recipes/hoptoad.rb
rails3_devise_wizard-0.2.2 recipes/hoptoad.rb
rails3_devise_wizard-0.2.1 recipes/hoptoad.rb
rails3_devise_wizard-0.2 recipes/hoptoad.rb
rails_wizard-0.1.4 recipes/hoptoad.rb
rails_wizard-0.1.3 recipes/hoptoad.rb