qu-exceptional 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/qu/failure/exceptional.rb +5 -0
- metadata +36 -65
@@ -3,9 +3,14 @@ require 'exceptional'
|
|
3
3
|
module Qu
|
4
4
|
module Failure
|
5
5
|
class Exceptional
|
6
|
+
extend Logger
|
7
|
+
|
6
8
|
def self.create(job, exception)
|
7
9
|
if ::Exceptional::Config.should_send_to_api?
|
10
|
+
logger.debug "Reporting error to Exceptional"
|
8
11
|
::Exceptional::Remote.error(ExceptionData.new(job, exception))
|
12
|
+
else
|
13
|
+
logger.debug "Not reporting error to exceptional"
|
9
14
|
end
|
10
15
|
end
|
11
16
|
|
metadata
CHANGED
@@ -1,98 +1,69 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: qu-exceptional
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 0.1.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Brandon Keepers
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-10-03 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: exceptional
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70237689901900 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
33
22
|
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: qu
|
37
23
|
prerelease: false
|
38
|
-
|
24
|
+
version_requirements: *70237689901900
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: qu
|
27
|
+
requirement: &70237689901420 !ruby/object:Gem::Requirement
|
39
28
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
segments:
|
45
|
-
- 0
|
46
|
-
- 1
|
47
|
-
- 0
|
48
|
-
version: 0.1.0
|
29
|
+
requirements:
|
30
|
+
- - =
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.1.1
|
49
33
|
type: :runtime
|
50
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70237689901420
|
51
36
|
description: Exceptional failure backend for qu
|
52
|
-
email:
|
37
|
+
email:
|
53
38
|
- brandon@opensoul.org
|
54
39
|
executables: []
|
55
|
-
|
56
40
|
extensions: []
|
57
|
-
|
58
41
|
extra_rdoc_files: []
|
59
|
-
|
60
|
-
files:
|
42
|
+
files:
|
61
43
|
- lib/qu-exceptional.rb
|
62
44
|
- lib/qu/failure/exceptional.rb
|
63
|
-
has_rdoc: true
|
64
45
|
homepage: http://github.com/bkeepers/qu
|
65
46
|
licenses: []
|
66
|
-
|
67
47
|
post_install_message:
|
68
48
|
rdoc_options: []
|
69
|
-
|
70
|
-
require_paths:
|
49
|
+
require_paths:
|
71
50
|
- lib
|
72
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
51
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
73
52
|
none: false
|
74
|
-
requirements:
|
75
|
-
- -
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
|
78
|
-
|
79
|
-
- 0
|
80
|
-
version: "0"
|
81
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ! '>='
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
57
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
58
|
none: false
|
83
|
-
requirements:
|
84
|
-
- -
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
|
87
|
-
segments:
|
88
|
-
- 0
|
89
|
-
version: "0"
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
90
63
|
requirements: []
|
91
|
-
|
92
64
|
rubyforge_project:
|
93
|
-
rubygems_version: 1.6
|
65
|
+
rubygems_version: 1.8.6
|
94
66
|
signing_key:
|
95
67
|
specification_version: 3
|
96
68
|
summary: Exceptional failure backend for qu
|
97
69
|
test_files: []
|
98
|
-
|