honeybadger 1.16.1 → 1.16.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7d29474030f789eec2d1153c8a7aebc70a03a31
4
- data.tar.gz: 89dd615dbd9c9176ca7f0b36f62787826fb2d1f5
3
+ metadata.gz: 86f0d9ed43c1f392c2eed8701f7dcc311df00c2e
4
+ data.tar.gz: 2154070bb26a86dd27e17d7893748ebbd7838d37
5
5
  SHA512:
6
- metadata.gz: 7074c9cb5c7e1daf11316fac323145db2e6873bc6962fc55e28b8cc2a8fba08df0615e1eba4b616da6daca4031886480ab9d0dfb2a6704aaaedc68bd14648787
7
- data.tar.gz: f721b25288460560cf6415a4d7befe707ce85cfe43cbce3e12f60a799a171f00a7a9c99d9bf0067823c5d4455a5bd3baaaa1cbc4de6fbc8d8adcf81b598c3d63
6
+ metadata.gz: eb0c4089da555f08d4f753abb25809fa1c6def54a276768d1b6e4a14c326da46a2069108caa8a115efb328250670137929e9229b8d190f24db69845f740d151b
7
+ data.tar.gz: 9d298e5339abc7a3ebd7a7c53e8d35b606b007d30c092817b6d3a4c38145a8d26df74701344c21a0821ab3e40617dd5d2244e7b25fbd3dce75423ee687384f92
@@ -1,3 +1,10 @@
1
+ ## Honeybadger 1.16.2 ##
2
+
3
+ * Fix a bug where #match was called on nil when instrumenting Net::HTTP
4
+ requests.
5
+
6
+ *Benjamin Curtis*
7
+
1
8
  ## Honeybadger 1.16.1 ##
2
9
 
3
10
  * Add debug logging of successful ping responses.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- honeybadger (1.16.1)
4
+ honeybadger (1.16.2)
5
5
  json
6
6
 
7
7
  GEM
@@ -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.16.1'
8
- s.date = '2014-07-09'
7
+ s.version = '1.16.2'
8
+ s.date = '2014-07-16'
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.'
@@ -20,7 +20,7 @@ require 'honeybadger/railtie' if defined?(Rails::Railtie)
20
20
  require 'honeybadger/monitor'
21
21
 
22
22
  module Honeybadger
23
- VERSION = '1.16.1'.freeze
23
+ VERSION = '1.16.2'.freeze
24
24
  LOG_PREFIX = "** [Honeybadger] ".freeze
25
25
 
26
26
  HEADERS = {
@@ -9,9 +9,9 @@ module Honeybadger
9
9
 
10
10
  def request_with_honeybadger(*args, &block)
11
11
  request = args[0]
12
- uri = request.path.match(%r{https?://}) ? URI(request.path) : URI("http#{use_ssl? ? 's' : ''}://#{address}:#{port}#{request.path}")
12
+ uri = request.path.to_s.match(%r{https?://}) ? URI(request.path) : URI("http#{use_ssl? ? 's' : ''}://#{address}:#{port}#{request.path}")
13
13
 
14
- if uri.host.match("honeybadger.io")
14
+ if uri.host.to_s.match("honeybadger.io")
15
15
  return request_without_honeybadger(*args, &block)
16
16
  end
17
17
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybadger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.1
4
+ version: 1.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Wood
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-09 00:00:00.000000000 Z
11
+ date: 2014-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json