resque-sentry 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/resque/failure/sentry.rb +1 -2
- data/resque-sentry.gemspec +2 -2
- data/spec/sentry_spec.rb +1 -2
- metadata +44 -23
data/resque-sentry.gemspec
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'resque-sentry'
|
3
|
-
gem.version = '
|
3
|
+
gem.version = '1.0.0'
|
4
4
|
gem.authors = ['Harry Marr']
|
5
5
|
gem.email = ['harry@gocardless.com']
|
6
6
|
gem.summary = 'A failure backend for Resque that sends events to Sentry'
|
7
7
|
gem.homepage = 'https://github.com/gocardless/resque-sentry'
|
8
8
|
|
9
9
|
gem.add_dependency 'resque', '>= 1.18.0'
|
10
|
-
gem.add_dependency 'sentry-raven', '
|
10
|
+
gem.add_dependency 'sentry-raven', '~> 0.4.6'
|
11
11
|
gem.add_development_dependency 'rspec', '~> 2.6'
|
12
12
|
gem.add_development_dependency 'mocha', '~> 0.11.0'
|
13
13
|
|
data/spec/sentry_spec.rb
CHANGED
@@ -8,8 +8,7 @@ describe Resque::Failure::Sentry do
|
|
8
8
|
payload = {'class' => Object, 'args' => 1}
|
9
9
|
|
10
10
|
event = mock
|
11
|
-
Raven
|
12
|
-
Raven.expects(:send).with(event)
|
11
|
+
Raven.expects(:capture_exception).with(exception)
|
13
12
|
|
14
13
|
backend = Resque::Failure::Sentry.new(exception, worker, queue, payload)
|
15
14
|
backend.save
|
metadata
CHANGED
@@ -1,60 +1,80 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-sentry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0
|
5
4
|
prerelease:
|
5
|
+
version: 1.0.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Harry Marr
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-05-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
|
16
|
-
requirement: &70212326189100 !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 1.18.0
|
20
|
+
none: false
|
21
|
+
name: resque
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: sentry-raven
|
27
|
-
requirement: &70212326188460 !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
24
|
+
requirement: !ruby/object:Gem::Requirement
|
29
25
|
requirements:
|
30
26
|
- - ! '>='
|
31
27
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
28
|
+
version: 1.18.0
|
29
|
+
none: false
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
version_requirements: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ~>
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 0.4.6
|
36
|
+
none: false
|
37
|
+
name: sentry-raven
|
33
38
|
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
40
|
+
requirement: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 0.4.6
|
39
45
|
none: false
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
48
|
requirements:
|
41
49
|
- - ~>
|
42
50
|
- !ruby/object:Gem::Version
|
43
51
|
version: '2.6'
|
52
|
+
none: false
|
53
|
+
name: rspec
|
44
54
|
type: :development
|
45
55
|
prerelease: false
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ~>
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '2.6'
|
50
61
|
none: false
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
64
|
requirements:
|
52
65
|
- - ~>
|
53
66
|
- !ruby/object:Gem::Version
|
54
67
|
version: 0.11.0
|
68
|
+
none: false
|
69
|
+
name: mocha
|
55
70
|
type: :development
|
56
71
|
prerelease: false
|
57
|
-
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 0.11.0
|
77
|
+
none: false
|
58
78
|
description:
|
59
79
|
email:
|
60
80
|
- harry@gocardless.com
|
@@ -78,23 +98,24 @@ rdoc_options: []
|
|
78
98
|
require_paths:
|
79
99
|
- lib
|
80
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
101
|
requirements:
|
83
102
|
- - ! '>='
|
84
103
|
- !ruby/object:Gem::Version
|
85
104
|
version: '0'
|
86
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
105
|
none: false
|
106
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
107
|
requirements:
|
89
108
|
- - ! '>='
|
90
109
|
- !ruby/object:Gem::Version
|
91
110
|
version: '0'
|
111
|
+
none: false
|
92
112
|
requirements: []
|
93
113
|
rubyforge_project:
|
94
|
-
rubygems_version: 1.8.
|
114
|
+
rubygems_version: 1.8.23
|
95
115
|
signing_key:
|
96
116
|
specification_version: 3
|
97
117
|
summary: A failure backend for Resque that sends events to Sentry
|
98
118
|
test_files:
|
99
119
|
- spec/sentry_spec.rb
|
100
120
|
- spec/spec_helper.rb
|
121
|
+
has_rdoc:
|