Sha256: bc67c29ea7d2b33a52be921841c1666bfaebb2f37a206fcef610dff62770767b

Contents?: true

Size: 688 Bytes

Versions: 133

Compression:

Stored size: 688 Bytes

Contents

namespace :honeybadger do
  def warn_task_moved(old_name, new_cmd = "honeybadger help #{old_name}")
    puts "This task was moved to the CLI in honeybadger 2.0. To learn more, run `#{new_cmd}`."
  end

  desc "Verify your gem installation by sending a test exception to the honeybadger service"
  task :test do
    warn_task_moved('test')
  end

  desc "Notify Honeybadger of a new deploy."
  task :deploy do
    warn_task_moved('deploy')
  end

  namespace :heroku do
    desc "Install Heroku deploy notifications addon"
    task :add_deploy_notification do
      warn_task_moved('heroku:add_deploy_notification', 'honeybadger heroku help install_deploy_notification')
    end
  end
end

Version data entries

133 entries across 133 versions & 2 rubygems

Version Path
honeybadger-5.24.0 lib/honeybadger/tasks.rb
honeybadger-5.23.0 lib/honeybadger/tasks.rb
honeybadger-5.22.0 lib/honeybadger/tasks.rb
honeybadger-5.21.0 lib/honeybadger/tasks.rb
honeybadger-5.20.1 lib/honeybadger/tasks.rb
honeybadger-5.20.0 lib/honeybadger/tasks.rb
honeybadger-5.19.2 lib/honeybadger/tasks.rb
honeybadger-5.19.1 lib/honeybadger/tasks.rb
honeybadger-5.19.0 lib/honeybadger/tasks.rb
honeybadger-5.18.0 lib/honeybadger/tasks.rb
honeybadger-5.17.0 lib/honeybadger/tasks.rb
honeybadger-5.16.0 lib/honeybadger/tasks.rb
honeybadger-5.15.6 lib/honeybadger/tasks.rb
honeybadger-5.15.5 lib/honeybadger/tasks.rb
honeybadger-5.15.4 lib/honeybadger/tasks.rb
honeybadger-5.15.3 lib/honeybadger/tasks.rb
honeybadger-5.15.2 lib/honeybadger/tasks.rb
honeybadger-5.15.1 lib/honeybadger/tasks.rb
honeybadger-5.15.0 lib/honeybadger/tasks.rb
honeybadger-5.14.2 lib/honeybadger/tasks.rb