Sha256: 1a1aa4d81235590e13fbcab0544bcf72dd7d1a76d8c7aefda5838a1dae5f2dc8

Contents?: true

Size: 735 Bytes

Versions: 25

Compression:

Stored size: 735 Bytes

Contents

gem 'airbrake'

if config['use_heroku']
  after_everything do
    say_wizard "Adding airbrake:developer Heroku addon (you can always upgrade later)"
    run "heroku addons:add airbrake:developer"
    generate "airbrake --heroku"
  end
else
  after_bundler do
    generate "airbrake --api-key #{config['api_key']}"
  end
end

__END__

name: Airbrake
description: Add Airbrake exception reporting to your application.

category: services
exclusive: exception_notification
tags: [exception_notification]
run_after: [heroku]

config:
  - use_heroku:
      type: boolean
      prompt: "Use the Airbrake Heroku addon?"
      if_recipe: heroku
  - api_key:
      prompt: "Enter Airbrake API Key:"
      type: string
      unless: use_heroku

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
rails_apps_composer-1.4.5 recipes/airbrake.rb
rails_apps_composer-1.4.4 recipes/airbrake.rb
rails_apps_composer-1.4.3 recipes/airbrake.rb
rails_apps_composer-1.4.2 recipes/airbrake.rb
rails_apps_composer-1.4.1 recipes/airbrake.rb