Sha256: 9bc3240d6ca06d51f31ce3b5f0df1abba3d5805dab9af0616bfe9cdba6c0e619

Contents?: true

Size: 727 Bytes

Versions: 17

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

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
appscrolls-0.11.2 scrolls/untested/hoptoad.rb
appscrolls-0.11.1 scrolls/untested/hoptoad.rb
appscrolls-0.11.0 scrolls/untested/hoptoad.rb
appscrolls-0.10.1 scrolls/untested/hoptoad.rb
appscrolls-0.10.0 scrolls/untested/hoptoad.rb
appscrolls-0.9.0 scrolls/untested/hoptoad.rb
appscrolls-0.8.4 scrolls/zzz/hoptoad.rb
appscrolls-0.8.3 scrolls/zzz/hoptoad.rb
appscrolls-0.8.2 scrolls/zzz/hoptoad.rb
appscrolls-0.8.1 scrolls/zzz/hoptoad.rb
appscrolls-0.8.0 scrolls/zzz/hoptoad.rb
appscrolls-0.7.1 scrolls/zzz/hoptoad.rb
appscrolls-0.7.0 scrolls/zzz/hoptoad.rb
eldarscrolls-0.7.0 scrolls/zzz/hoptoad.rb
ey_rails_wizard-0.6.0 scrolls/zzz/hoptoad.rb
ey_rails_wizard-0.5.0 scrolls/hoptoad.rb
ey_rails_wizard-0.4.0 scrolls/hoptoad.rb