ahn_hoptoad 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/ahn_hoptoad.gemspec +1 -1
- data/lib/ahn_hoptoad.rb +0 -2
- data/lib/ahn_hoptoad/version.rb +1 -1
- metadata +37 -66
data/README.md
CHANGED
@@ -1 +1 @@
|
|
1
|
-
This component for Adhearsion allows you to catch exceptions raised within Adhearsion applications and report them to (
|
1
|
+
This component for Adhearsion allows you to catch exceptions raised within Adhearsion applications and report them to [Hoptoad](http://hoptoadapp.com)
|
data/ahn_hoptoad.gemspec
CHANGED
data/lib/ahn_hoptoad.rb
CHANGED
@@ -5,8 +5,6 @@ require 'toadhopper'
|
|
5
5
|
notifier = Toadhopper.new(COMPONENTS.ahn_hoptoad[:apikey],
|
6
6
|
:notify_host => COMPONENTS.ahn_hoptoad[:host])
|
7
7
|
Events.register_callback([:exception]) do |e|
|
8
|
-
result = notifier.post!(e)
|
9
|
-
|
10
8
|
response = notifier.post!(e)
|
11
9
|
if !response.errors.empty? || !(200..299).include?(response.status.to_i)
|
12
10
|
ahn_log.warn "Error posting exception to Hoptoad! Response code #{response.status}"
|
data/lib/ahn_hoptoad/version.rb
CHANGED
metadata
CHANGED
@@ -1,65 +1,45 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ahn_hoptoad
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 0
|
10
|
-
version: 1.0.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Ben Klang
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-12-02 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: adhearsion
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &2158342580 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 19
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 1
|
33
|
-
- 0
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 1.1.0
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: toadhopper
|
39
23
|
prerelease: false
|
40
|
-
|
24
|
+
version_requirements: *2158342580
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: toadhopper
|
27
|
+
requirement: &2158342060 !ruby/object:Gem::Requirement
|
41
28
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 27
|
46
|
-
segments:
|
47
|
-
- 1
|
48
|
-
- 3
|
49
|
-
- 0
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
50
32
|
version: 1.3.0
|
51
33
|
type: :runtime
|
52
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2158342060
|
53
36
|
description: Send Adhearsion application exceptions to Hoptoad
|
54
|
-
email:
|
37
|
+
email:
|
55
38
|
- bklang@mojolingo.com
|
56
39
|
executables: []
|
57
|
-
|
58
40
|
extensions: []
|
59
|
-
|
60
41
|
extra_rdoc_files: []
|
61
|
-
|
62
|
-
files:
|
42
|
+
files:
|
63
43
|
- Gemfile
|
64
44
|
- README.md
|
65
45
|
- Rakefile
|
@@ -68,39 +48,30 @@ files:
|
|
68
48
|
- lib/ahn_hoptoad.rb
|
69
49
|
- lib/ahn_hoptoad/version.rb
|
70
50
|
- spec/ahnhoptoad_spec.rb
|
71
|
-
has_rdoc: true
|
72
51
|
homepage: http://github.com/mojolingo/ahn_hoptoad
|
73
52
|
licenses: []
|
74
|
-
|
75
53
|
post_install_message:
|
76
54
|
rdoc_options: []
|
77
|
-
|
78
|
-
require_paths:
|
55
|
+
require_paths:
|
79
56
|
- lib
|
80
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
81
58
|
none: false
|
82
|
-
requirements:
|
83
|
-
- -
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
|
86
|
-
|
87
|
-
- 0
|
88
|
-
version: "0"
|
89
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
64
|
none: false
|
91
|
-
requirements:
|
92
|
-
- -
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
|
95
|
-
segments:
|
96
|
-
- 0
|
97
|
-
version: "0"
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
98
69
|
requirements: []
|
99
|
-
|
100
70
|
rubyforge_project:
|
101
|
-
rubygems_version: 1.
|
71
|
+
rubygems_version: 1.8.6
|
102
72
|
signing_key:
|
103
73
|
specification_version: 3
|
104
74
|
summary: Send Adhearsion application exceptions to Hoptoad
|
105
|
-
test_files:
|
75
|
+
test_files:
|
106
76
|
- spec/ahnhoptoad_spec.rb
|
77
|
+
has_rdoc:
|