ahn_hoptoad 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -1 +1 @@
1
- This component for Adhearsion allows you to catch exceptions raised within Adhearsion applications and report them to (Hoptoad)[http://hoptoadapp.com]
1
+ This component for Adhearsion allows you to catch exceptions raised within Adhearsion applications and report them to [Hoptoad](http://hoptoadapp.com)
@@ -4,7 +4,7 @@ require "ahn_hoptoad/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "ahn_hoptoad"
7
- s.version = "1.0.0"
7
+ s.version = AhnHoptoad::VERSION
8
8
  s.date = Date.today.to_s
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ["Ben Klang"]
@@ -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}"
@@ -1,3 +1,3 @@
1
1
  module AhnHoptoad
2
- VERSION = '0.0.1'
2
+ VERSION = '1.0.1'
3
3
  end
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
- hash: 23
5
- prerelease: false
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
- date: 2011-06-08 00:00:00 -04:00
19
- default_executable:
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
- prerelease: false
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
- requirement: &id002 !ruby/object:Gem::Requirement
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
- version_requirements: *id002
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
- hash: 3
86
- segments:
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
- hash: 3
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.3.7
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: