airbrake 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ Version 3.0.4 - Mon Sep 12 08:25:04 -0400 2011
2
+ ===============================================================================
3
+ David Czarnecki(1):
4
+ Change deploy task back to airbrake:deploy
5
+ Harold Gimenez(1):
6
+ README updates
7
+
1
8
  Version 3.0.3 - Sat Sep 03 13:18:26 -0400 2011
2
9
  ===============================================================================
3
10
  David Czarnecki(1):
@@ -471,6 +478,8 @@ Nick Quaranto (3):
471
478
 
472
479
 
473
480
 
481
+
482
+
474
483
 
475
484
 
476
485
 
data/README.md CHANGED
@@ -36,7 +36,7 @@ Remove the vendor/plugins/hoptoad_notifier directory before installing the gem,
36
36
 
37
37
  Add the airbrake gem to your Gemfile. In Gemfile:
38
38
 
39
- gem "airbrake", "~> 2.3"
39
+ gem "airbrake"
40
40
 
41
41
  Then from your project's RAILS_ROOT, and in your development environment, run:
42
42
 
@@ -67,7 +67,7 @@ Feature: Install the Gem in a Rails application
67
67
  And I configure my application to require the "airbrake" gem
68
68
  And I run the airbrake generator with "-k myapikey"
69
69
  And I run "cap -T"
70
- Then I should see "deploy:notify_airbrake"
70
+ Then I should see "airbrake:deploy"
71
71
 
72
72
  Scenario: Configure and deploy using only vendored gem
73
73
  When I generate a new Rails application
@@ -79,7 +79,7 @@ Feature: Install the Gem in a Rails application
79
79
  And I uninstall the "airbrake" gem
80
80
  And I install cached gems
81
81
  And I run "cap -T"
82
- Then I should see "deploy:notify_airbrake"
82
+ Then I should see "airbrake:deploy"
83
83
 
84
84
  Scenario: Try to install when the airbrake plugin still exists
85
85
  When I generate a new Rails application
@@ -5,12 +5,12 @@ module Airbrake
5
5
  module Capistrano
6
6
  def self.load_into(configuration)
7
7
  configuration.load do
8
- after "deploy", "airbrake:notify"
9
- after "deploy:migrations", "airbrake:notify"
8
+ after "deploy", "airbrake:deploy"
9
+ after "deploy:migrations", "airbrake:deploy"
10
10
 
11
11
  namespace :airbrake do
12
12
  desc "Notify Airbrake of the deployment"
13
- task :notify, :except => { :no_release => true } do
13
+ task :deploy, :except => { :no_release => true } do
14
14
  rails_env = fetch(:airbrake_env, fetch(:rails_env, "production"))
15
15
  local_user = ENV['USER'] || ENV['USERNAME']
16
16
  executable = RUBY_PLATFORM.downcase.include?('mswin') ? fetch(:rake, 'rake.bat') : fetch(:rake, 'rake')
@@ -1,3 +1,3 @@
1
1
  module Airbrake
2
- VERSION = "3.0.3".freeze
2
+ VERSION = "3.0.4"
3
3
  end
@@ -13,11 +13,11 @@ class CapistranoTest < Test::Unit::TestCase
13
13
  @configuration.dry_run = true
14
14
  end
15
15
 
16
- should "define deploy:notify_airbrake task" do
17
- assert_not_nil @configuration.find_task('airbrake:notify')
16
+ should "define airbrake:deploy task" do
17
+ assert_not_nil @configuration.find_task('airbrake:deploy')
18
18
  end
19
19
 
20
- should "log when calling deploy:notify_airbrake task" do
20
+ should "log when calling airbrake:deploy task" do
21
21
  @configuration.set(:current_revision, '084505b1c0e0bcf1526e673bb6ac99fbcb18aecc')
22
22
  @configuration.set(:repository, 'repository')
23
23
  io = StringIO.new
@@ -25,7 +25,7 @@ class CapistranoTest < Test::Unit::TestCase
25
25
  logger.level = Capistrano::Logger::MAX_LEVEL
26
26
 
27
27
  @configuration.logger = logger
28
- @configuration.find_and_execute_task('airbrake:notify')
28
+ @configuration.find_and_execute_task('airbrake:deploy')
29
29
 
30
30
  assert io.string.include?('** Notifying Airbrake of Deploy')
31
31
  assert io.string.include?('** Airbrake Notification Complete')
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 3
10
- version: 3.0.3
9
+ - 4
10
+ version: 3.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - thoughtbot, inc
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-03 00:00:00 Z
18
+ date: 2011-09-12 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: builder