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-2.3.3 lib/honeybadger/tasks.rb
honeybadger-2.3.2 lib/honeybadger/tasks.rb
honeybadger-2.3.2.beta.1 lib/honeybadger/tasks.rb
honeybadger-2.3.1 lib/honeybadger/tasks.rb
honeybadger-2.3.0 lib/honeybadger/tasks.rb
honeybadger-2.2.0 lib/honeybadger/tasks.rb
honeybadger-2.2.0.beta.1 lib/honeybadger/tasks.rb
honeybadger-2.1.6.beta.1 lib/honeybadger/tasks.rb
honeybadger-2.1.5 lib/honeybadger/tasks.rb
honeybadger-2.1.4 lib/honeybadger/tasks.rb
honeybadger-2.1.3 lib/honeybadger/tasks.rb
honeybadger-2.1.1 lib/honeybadger/tasks.rb
honeybadger-mubi-2.1.1 lib/honeybadger/tasks.rb
honeybadger-2.1.0 lib/honeybadger/tasks.rb
honeybadger-2.1.0.beta.1 lib/honeybadger/tasks.rb
honeybadger-2.0.12 lib/honeybadger/tasks.rb
honeybadger-2.0.11 lib/honeybadger/tasks.rb
honeybadger-2.0.10 lib/honeybadger/tasks.rb
honeybadger-2.0.9 lib/honeybadger/tasks.rb
honeybadger-2.0.8 lib/honeybadger/tasks.rb