honeybadger 1.9.1 → 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ ## Honeybadger 1.9.2 ##
2
+
3
+ * Fix bug causing Honeybadger#Sender to omit proxy configuration.
4
+
1
5
  ## Honeybadger 1.9.0 ##
2
6
 
3
7
  * Move from TestUnit/shoulda to RSpec.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- honeybadger (1.9.1)
4
+ honeybadger (1.9.2)
5
5
  faraday
6
6
  json
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.0.beta1)
4
+ honeybadger (1.9.2)
5
5
  faraday
6
6
  json
7
7
 
@@ -53,7 +53,7 @@ GEM
53
53
  guard (>= 1.8)
54
54
  rspec (~> 2.13)
55
55
  highline (1.6.19)
56
- json (1.8.0)
56
+ json (1.8.1)
57
57
  listen (1.3.1)
58
58
  rb-fsevent (>= 0.9.3)
59
59
  rb-inotify (>= 0.9)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.0.beta1)
4
+ honeybadger (1.9.2)
5
5
  faraday
6
6
  json
7
7
 
@@ -64,7 +64,7 @@ GEM
64
64
  guard (>= 1.8)
65
65
  rspec (~> 2.13)
66
66
  highline (1.6.19)
67
- json (1.8.0)
67
+ json (1.8.1)
68
68
  listen (1.3.1)
69
69
  rb-fsevent (>= 0.9.3)
70
70
  rb-inotify (>= 0.9)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.0.beta1)
4
+ honeybadger (1.9.2)
5
5
  faraday
6
6
  json
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.0.beta1)
4
+ honeybadger (1.9.2)
5
5
  faraday
6
6
  json
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.0.beta1)
4
+ honeybadger (1.9.2)
5
5
  faraday
6
6
  json
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.0.beta1)
4
+ honeybadger (1.9.2)
5
5
  faraday
6
6
  json
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.0.beta1)
4
+ honeybadger (1.9.2)
5
5
  faraday
6
6
  json
7
7
 
@@ -53,7 +53,7 @@ GEM
53
53
  guard (>= 1.8)
54
54
  rspec (~> 2.13)
55
55
  highline (1.6.19)
56
- json (1.8.0)
56
+ json (1.8.1)
57
57
  listen (1.3.1)
58
58
  rb-fsevent (>= 0.9.3)
59
59
  rb-inotify (>= 0.9)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.0.beta1)
4
+ honeybadger (1.9.2)
5
5
  faraday
6
6
  json
7
7
 
@@ -53,7 +53,7 @@ GEM
53
53
  guard (>= 1.8)
54
54
  rspec (~> 2.13)
55
55
  highline (1.6.19)
56
- json (1.8.0)
56
+ json (1.8.1)
57
57
  listen (1.3.1)
58
58
  rb-fsevent (>= 0.9.3)
59
59
  rb-inotify (>= 0.9)
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'honeybadger'
7
- s.version = '1.9.1'
8
- s.date = '2013-10-24'
7
+ s.version = '1.9.2'
8
+ s.date = '2013-10-28'
9
9
 
10
10
  s.summary = 'Error reports you can be happy about.'
11
11
  s.description = 'Make managing application errors a more pleasant experience.'
@@ -13,7 +13,7 @@ require 'honeybadger/stats'
13
13
  require 'honeybadger/railtie' if defined?(Rails::Railtie)
14
14
 
15
15
  module Honeybadger
16
- VERSION = '1.9.1'
16
+ VERSION = '1.9.2'
17
17
  LOG_PREFIX = "** [Honeybadger] "
18
18
 
19
19
  HEADERS = {
@@ -108,11 +108,18 @@ module Honeybadger
108
108
  true
109
109
  end
110
110
 
111
- def client
112
- request_options = { :timeout => http_read_timeout, :open_timeout => http_open_timeout }
113
- request_options.merge!({ :proxy => { :uri => "#{protocol}://#{proxy_host}:#{proxy_port || port}", :user => proxy_user, :password => proxy_pass } }) if proxy_host
111
+ def proxy_options
112
+ if proxy_host
113
+ { :uri => "#{protocol}://#{proxy_host}:#{proxy_port || port}", :user => proxy_user, :password => proxy_pass }
114
+ end
115
+ end
114
116
 
115
- @client ||= Faraday.new(:request => request_options) do |conn|
117
+ def request_options
118
+ { :timeout => http_read_timeout, :open_timeout => http_open_timeout }
119
+ end
120
+
121
+ def client
122
+ @client ||= Faraday.new(:request => request_options, :proxy => proxy_options) do |conn|
116
123
  conn.adapter Faraday.default_adapter
117
124
  conn.url_prefix = "#{protocol}://#{host}:#{port}"
118
125
  conn.headers['User-agent'] = "HB-Ruby #{Honeybadger::VERSION}; #{RUBY_VERSION}; #{RUBY_PLATFORM}"
@@ -17,7 +17,7 @@ describe Honeybadger::Sender do
17
17
  post.should_receive(:body=).with('asdf')
18
18
 
19
19
  Faraday.should_receive(:new).
20
- with(hash_including(:request => hash_including({ :proxy => { :uri => 'https://some.host:88', :user => 'login', :password => 'passwd' } }))).and_return(http)
20
+ with(hash_including(:proxy => { :uri => 'https://some.host:88', :user => 'login', :password => 'passwd' })).and_return(http)
21
21
 
22
22
  send_exception(:proxy_host => 'some.host',
23
23
  :proxy_port => 88,
metadata CHANGED
@@ -1,46 +1,52 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybadger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Joshua Wood
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-10-24 00:00:00.000000000 Z
12
+ date: 2013-10-28 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: faraday
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - '>='
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: '0'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - '>='
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: '0'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: json
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - '>='
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0'
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - '>='
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: cucumber
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ~>
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ~>
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rspec
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - ~>
60
68
  - !ruby/object:Gem::Version
@@ -62,6 +70,7 @@ dependencies:
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - ~>
67
76
  - !ruby/object:Gem::Version
@@ -69,6 +78,7 @@ dependencies:
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: fakeweb
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
83
  - - ~>
74
84
  - !ruby/object:Gem::Version
@@ -76,6 +86,7 @@ dependencies:
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
91
  - - ~>
81
92
  - !ruby/object:Gem::Version
@@ -83,6 +94,7 @@ dependencies:
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: sham_rack
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
99
  - - ~>
88
100
  - !ruby/object:Gem::Version
@@ -90,6 +102,7 @@ dependencies:
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
107
  - - ~>
95
108
  - !ruby/object:Gem::Version
@@ -97,127 +110,145 @@ dependencies:
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: capistrano
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - '>='
115
+ - - ! '>='
102
116
  - !ruby/object:Gem::Version
103
117
  version: '0'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - '>='
123
+ - - ! '>='
109
124
  - !ruby/object:Gem::Version
110
125
  version: '0'
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: rake
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - '>='
131
+ - - ! '>='
116
132
  - !ruby/object:Gem::Version
117
133
  version: '0'
118
134
  type: :development
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - '>='
139
+ - - ! '>='
123
140
  - !ruby/object:Gem::Version
124
141
  version: '0'
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: sinatra
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
- - - '>='
147
+ - - ! '>='
130
148
  - !ruby/object:Gem::Version
131
149
  version: '0'
132
150
  type: :development
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
- - - '>='
155
+ - - ! '>='
137
156
  - !ruby/object:Gem::Version
138
157
  version: '0'
139
158
  - !ruby/object:Gem::Dependency
140
159
  name: aruba
141
160
  requirement: !ruby/object:Gem::Requirement
161
+ none: false
142
162
  requirements:
143
- - - '>='
163
+ - - ! '>='
144
164
  - !ruby/object:Gem::Version
145
165
  version: '0'
146
166
  type: :development
147
167
  prerelease: false
148
168
  version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
149
170
  requirements:
150
- - - '>='
171
+ - - ! '>='
151
172
  - !ruby/object:Gem::Version
152
173
  version: '0'
153
174
  - !ruby/object:Gem::Dependency
154
175
  name: appraisal
155
176
  requirement: !ruby/object:Gem::Requirement
177
+ none: false
156
178
  requirements:
157
- - - '>='
179
+ - - ! '>='
158
180
  - !ruby/object:Gem::Version
159
181
  version: '0'
160
182
  type: :development
161
183
  prerelease: false
162
184
  version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
163
186
  requirements:
164
- - - '>='
187
+ - - ! '>='
165
188
  - !ruby/object:Gem::Version
166
189
  version: '0'
167
190
  - !ruby/object:Gem::Dependency
168
191
  name: guard
169
192
  requirement: !ruby/object:Gem::Requirement
193
+ none: false
170
194
  requirements:
171
- - - '>='
195
+ - - ! '>='
172
196
  - !ruby/object:Gem::Version
173
197
  version: '0'
174
198
  type: :development
175
199
  prerelease: false
176
200
  version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
177
202
  requirements:
178
- - - '>='
203
+ - - ! '>='
179
204
  - !ruby/object:Gem::Version
180
205
  version: '0'
181
206
  - !ruby/object:Gem::Dependency
182
207
  name: guard-rspec
183
208
  requirement: !ruby/object:Gem::Requirement
209
+ none: false
184
210
  requirements:
185
- - - '>='
211
+ - - ! '>='
186
212
  - !ruby/object:Gem::Version
187
213
  version: '0'
188
214
  type: :development
189
215
  prerelease: false
190
216
  version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
191
218
  requirements:
192
- - - '>='
219
+ - - ! '>='
193
220
  - !ruby/object:Gem::Version
194
221
  version: '0'
195
222
  - !ruby/object:Gem::Dependency
196
223
  name: fuubar
197
224
  requirement: !ruby/object:Gem::Requirement
225
+ none: false
198
226
  requirements:
199
- - - '>='
227
+ - - ! '>='
200
228
  - !ruby/object:Gem::Version
201
229
  version: '0'
202
230
  type: :development
203
231
  prerelease: false
204
232
  version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
205
234
  requirements:
206
- - - '>='
235
+ - - ! '>='
207
236
  - !ruby/object:Gem::Version
208
237
  version: '0'
209
238
  - !ruby/object:Gem::Dependency
210
239
  name: growl
211
240
  requirement: !ruby/object:Gem::Requirement
241
+ none: false
212
242
  requirements:
213
- - - '>='
243
+ - - ! '>='
214
244
  - !ruby/object:Gem::Version
215
245
  version: '0'
216
246
  type: :development
217
247
  prerelease: false
218
248
  version_requirements: !ruby/object:Gem::Requirement
249
+ none: false
219
250
  requirements:
220
- - - '>='
251
+ - - ! '>='
221
252
  - !ruby/object:Gem::Version
222
253
  version: '0'
223
254
  description: Make managing application errors a more pleasant experience.
@@ -321,7 +352,6 @@ files:
321
352
  - spec/support/helpers.rb
322
353
  homepage: http://www.honeybadger.io
323
354
  licenses: []
324
- metadata: {}
325
355
  post_install_message:
326
356
  rdoc_options:
327
357
  - --charset=UTF-8
@@ -329,18 +359,23 @@ rdoc_options:
329
359
  require_paths:
330
360
  - lib
331
361
  required_ruby_version: !ruby/object:Gem::Requirement
362
+ none: false
332
363
  requirements:
333
- - - '>='
364
+ - - ! '>='
334
365
  - !ruby/object:Gem::Version
335
366
  version: '0'
367
+ segments:
368
+ - 0
369
+ hash: -1432829727770408082
336
370
  required_rubygems_version: !ruby/object:Gem::Requirement
371
+ none: false
337
372
  requirements:
338
- - - '>='
373
+ - - ! '>='
339
374
  - !ruby/object:Gem::Version
340
375
  version: '0'
341
376
  requirements: []
342
377
  rubyforge_project:
343
- rubygems_version: 2.0.3
378
+ rubygems_version: 1.8.23
344
379
  signing_key:
345
380
  specification_version: 2
346
381
  summary: Error reports you can be happy about.
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: d803a770a5f3e7348da3d88d97c4836ef1817abf
4
- data.tar.gz: 3d3114ab14aff136cf882f9907a91a3c23bde035
5
- SHA512:
6
- metadata.gz: e00862b34f5acfee16e50e0ceb90db206591af01024c7f2ea7d9f021bdc2b52d707fb9c5a1216a5eb88208dd6a83212a0b439eb780d0628f45f0316fb1ba51f1
7
- data.tar.gz: 30de163f3d3e92f25d09472df534e8ed07c1ce6245f3f2405a350be00efe84686e3fcc3b8e2931dd5678420a65b2b1727fcfa7e6b8f3b15bd3a47aafc2ad2894