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
ey_rails_wizard-0.3.1 recipes/hoptoad.rb
rails_apps_composer-1.3.1 recipes/hoptoad.rb
rails_apps_composer-1.2.1 recipes/hoptoad.rb
rails_apps_composer-1.2.0 recipes/hoptoad.rb
rails_apps_composer-1.1.8 recipes/hoptoad.rb
rails_apps_composer-1.1.7 recipes/hoptoad.rb
rails_apps_composer-1.1.6 recipes/hoptoad.rb
rails_apps_composer-1.1.5 recipes/hoptoad.rb
rails_apps_composer-1.1.4 recipes/hoptoad.rb
rails_apps_composer-1.1.3 recipes/hoptoad.rb
rails_apps_composer-1.1.2 recipes/hoptoad.rb
rails_apps_composer-1.1.1 recipes/hoptoad.rb
rails_apps_composer-1.1.0 recipes/hoptoad.rb
rails_apps_composer-1.0.26 recipes/hoptoad.rb
rails_apps_composer-1.0.25 recipes/hoptoad.rb
rails_apps_composer-1.0.24 recipes/hoptoad.rb
rails_apps_composer-1.0.23 recipes/hoptoad.rb
rails_apps_composer-1.0.22 recipes/hoptoad.rb
rails_apps_composer-1.0.21 recipes/hoptoad.rb
rails_apps_composer-1.0.20 recipes/hoptoad.rb