delayed-plugins-airbrake 1.0.0.beta.2 → 1.0.0.beta.3
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +5 -0
- data/README.md +8 -0
- data/lib/delayed-plugins-airbrake.rb +7 -0
- data/lib/delayed-plugins-airbrake/version.rb +1 -1
- data/spec/lib/delayed-plugins-airbrake/bomb_spec.rb +11 -0
- metadata +12 -9
data/AUTHORS
ADDED
data/README.md
CHANGED
@@ -19,6 +19,14 @@ Register the plugin like so:
|
|
19
19
|
|
20
20
|
In a Rails project, this can be done in `config/initializers`.
|
21
21
|
|
22
|
+
## System Integration Testing
|
23
|
+
|
24
|
+
A test class is provided:
|
25
|
+
|
26
|
+
Delayed::Plugins::Airbrake::Bomb.delay.blow_up
|
27
|
+
|
28
|
+
This raises an exception in `delayed_job` which should show up in Airbrake (if everything is set up correctly :) ).
|
29
|
+
|
22
30
|
## Contributing
|
23
31
|
|
24
32
|
1. Fork it
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delayed-plugins-airbrake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.beta.
|
4
|
+
version: 1.0.0.beta.3
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -15,7 +15,7 @@ date: 2013-03-15 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: airbrake
|
18
|
-
requirement: &
|
18
|
+
requirement: &14799120 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
version: '0'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *14799120
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: delayed_job
|
29
|
-
requirement: &
|
29
|
+
requirement: &14798660 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
@@ -34,10 +34,10 @@ dependencies:
|
|
34
34
|
version: '0'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *14798660
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: rake
|
40
|
-
requirement: &
|
40
|
+
requirement: &14798060 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
@@ -45,10 +45,10 @@ dependencies:
|
|
45
45
|
version: '0'
|
46
46
|
type: :development
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *14798060
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: rspec
|
51
|
-
requirement: &
|
51
|
+
requirement: &14797340 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ! '>='
|
@@ -56,7 +56,7 @@ dependencies:
|
|
56
56
|
version: '0'
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
|
-
version_requirements: *
|
59
|
+
version_requirements: *14797340
|
60
60
|
description: delayed_job exception notification with airbrake
|
61
61
|
email:
|
62
62
|
- hello@benjaminoakes.com
|
@@ -65,6 +65,7 @@ extensions: []
|
|
65
65
|
extra_rdoc_files: []
|
66
66
|
files:
|
67
67
|
- .gitignore
|
68
|
+
- AUTHORS
|
68
69
|
- Gemfile
|
69
70
|
- LICENSE.txt
|
70
71
|
- README.md
|
@@ -74,6 +75,7 @@ files:
|
|
74
75
|
- lib/delayed-plugins-airbrake.rb
|
75
76
|
- lib/delayed-plugins-airbrake/version.rb
|
76
77
|
- provision
|
78
|
+
- spec/lib/delayed-plugins-airbrake/bomb_spec.rb
|
77
79
|
- spec/lib/delayed-plugins-airbrake/plugin_spec.rb
|
78
80
|
homepage: ''
|
79
81
|
licenses: []
|
@@ -101,5 +103,6 @@ specification_version: 3
|
|
101
103
|
summary: Notify Airbrake on Delayed Job errors, including those on PerformableMethod. Packaged
|
102
104
|
for use from https://gist.github.com/granth/2223758 and http://stackoverflow.com/questions/12683364/how-to-make-delayed-job-notify-airbrake-when-an-actionmailer-runs-into-an-error.
|
103
105
|
test_files:
|
106
|
+
- spec/lib/delayed-plugins-airbrake/bomb_spec.rb
|
104
107
|
- spec/lib/delayed-plugins-airbrake/plugin_spec.rb
|
105
108
|
has_rdoc:
|