adhearsion-reporter 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -3
- data/CHANGELOG.md +5 -0
- data/Gemfile +1 -1
- data/adhearsion-reporter.gemspec +3 -4
- data/lib/adhearsion/reporter.rb +1 -1
- data/lib/adhearsion/reporter/version.rb +1 -1
- metadata +13 -27
- data/spec/ahnhoptoad_spec.rb +0 -8
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 17f5c0367eeb44fbd42e9bbcdf159cca503a9098
|
4
|
+
data.tar.gz: 5b00b2a43441bad7ce6b740936762dd91dd63249
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 03f27058cbf2a58674d511ce938bf4d11b5f178650d8bce00d9e8ca1cc74de3695305d2f0ceaa615b91395d9496909768a7c6ae927f53bc0d827a139d642d5cd
|
7
|
+
data.tar.gz: 02fdfcd86a300414090036727f3c412bad3c47b150a24760fdbc571f17c59d640de14bf9ee889253f593e8c44d21c83468eda447faf2394f9c45910e08acfb92
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/adhearsion-reporter.gemspec
CHANGED
@@ -5,13 +5,12 @@ require "adhearsion/reporter/version"
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "adhearsion-reporter"
|
7
7
|
s.version = Adhearsion::REPORTER_VERSION
|
8
|
-
s.date = Date.today.to_s
|
9
8
|
s.platform = Gem::Platform::RUBY
|
10
9
|
s.authors = ["Ben Klang"]
|
11
10
|
s.email = %w{bklang@mojolingo.com}
|
12
11
|
s.homepage = "http://github.com/adhearsion/adhearsion-reporter"
|
13
12
|
s.summary = %q{Report Adhearsion application deployments and exceptions}
|
14
|
-
s.description
|
13
|
+
s.description = <<EOF
|
15
14
|
Report Adhearsion application exceptions and deployments to:
|
16
15
|
|
17
16
|
Airbrake
|
@@ -23,6 +22,6 @@ EOF
|
|
23
22
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
24
23
|
s.require_paths = ["lib"]
|
25
24
|
|
26
|
-
s.add_runtime_dependency
|
27
|
-
s.add_runtime_dependency
|
25
|
+
s.add_runtime_dependency "adhearsion", ["~> 2.0"]
|
26
|
+
s.add_runtime_dependency "toadhopper", [">= 1.3.0"]
|
28
27
|
end
|
data/lib/adhearsion/reporter.rb
CHANGED
@@ -11,7 +11,7 @@ module Adhearsion
|
|
11
11
|
init :reporter do
|
12
12
|
config = Adhearsion.config[:reporter]
|
13
13
|
notifier = Toadhopper.new config.api_key, :notify_host => config.url
|
14
|
-
Events.register_callback(:exception) do |e|
|
14
|
+
Events.register_callback(:exception) do |e, logger|
|
15
15
|
response = notifier.post!(e)
|
16
16
|
if !response.errors.empty? || !(200..299).include?(response.status.to_i)
|
17
17
|
logger.error "Error posting exception to #{config.url}! Response code #{response.status}"
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adhearsion-reporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
5
|
-
prerelease:
|
4
|
+
version: 2.0.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ben Klang
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-03-20 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: adhearsion
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,30 +27,23 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: toadhopper
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 1.3.0
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 1.3.0
|
46
|
-
description:
|
47
|
-
|
41
|
+
description: |
|
42
|
+
Report Adhearsion application exceptions and deployments to:
|
48
43
|
|
49
44
|
Airbrake
|
50
|
-
|
51
45
|
Errbit
|
52
|
-
|
53
|
-
This Adhearsion plugin requires Adhearsion 2.0 or later. For Adhearsion 1.0 try
|
54
|
-
the previous version of this gem ahn_hoptoad
|
55
|
-
|
56
|
-
'
|
46
|
+
This Adhearsion plugin requires Adhearsion 2.0 or later. For Adhearsion 1.0 try the previous version of this gem ahn_hoptoad
|
57
47
|
email:
|
58
48
|
- bklang@mojolingo.com
|
59
49
|
executables: []
|
@@ -70,31 +60,27 @@ files:
|
|
70
60
|
- lib/adhearsion-reporter.rb
|
71
61
|
- lib/adhearsion/reporter.rb
|
72
62
|
- lib/adhearsion/reporter/version.rb
|
73
|
-
- spec/ahnhoptoad_spec.rb
|
74
63
|
homepage: http://github.com/adhearsion/adhearsion-reporter
|
75
64
|
licenses: []
|
65
|
+
metadata: {}
|
76
66
|
post_install_message:
|
77
67
|
rdoc_options: []
|
78
68
|
require_paths:
|
79
69
|
- lib
|
80
70
|
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
71
|
requirements:
|
83
|
-
- -
|
72
|
+
- - '>='
|
84
73
|
- !ruby/object:Gem::Version
|
85
74
|
version: '0'
|
86
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
|
-
none: false
|
88
76
|
requirements:
|
89
|
-
- -
|
77
|
+
- - '>='
|
90
78
|
- !ruby/object:Gem::Version
|
91
79
|
version: '0'
|
92
80
|
requirements: []
|
93
81
|
rubyforge_project:
|
94
|
-
rubygems_version:
|
82
|
+
rubygems_version: 2.0.0
|
95
83
|
signing_key:
|
96
|
-
specification_version:
|
84
|
+
specification_version: 4
|
97
85
|
summary: Report Adhearsion application deployments and exceptions
|
98
|
-
test_files:
|
99
|
-
- spec/ahnhoptoad_spec.rb
|
100
|
-
has_rdoc:
|
86
|
+
test_files: []
|