honeybadger 4.5.0 → 4.5.1

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
  SHA256:
3
- metadata.gz: 7cfde073c6afe9ef4757d7aaa4d86913ffb178a8d65907f0c872f1a55467c8bb
4
- data.tar.gz: 66b637f1a022ddb27fe6ed8b64af4781d2a90bb7cdb644df349885614e56184b
3
+ metadata.gz: eac6213788a4b8b6df635963d871e79d272be344336b0ba05fa83d341619f9cb
4
+ data.tar.gz: f32791ebf4ba5e79ae3f29126854ee07afcaf30042aad4bacb4f0e02662d744f
5
5
  SHA512:
6
- metadata.gz: e4414164bbb59e6d82ff0d4ce1be1e9630f3c3fe8a35ca419740e899d0623d3375e9ef681fb402e4d5286fa01b9aac55e3190ad85f34467c9323404a6ea8fb4a
7
- data.tar.gz: 3e8ffe0c2f9a877ca9abdf910ca556e6f9e11e6e865482807e6f03581e1c8ffc6a811c4629e91e613e037060014b589970a40910eb9758418ec2bcfe041e2e4b
6
+ metadata.gz: a5e37eb91ad24fe3678e738a1c44fec089bb9cc0e47f723b5ff9d2cad3fcb8ca0543a5916ad8cb144c91e323f8249a53dbb1ea227b76d953d89bf50ecffb8ea6
7
+ data.tar.gz: 80ee259d3caab22bd0e4709f2a4bdf53411dfb2408ebd4e5c2d6818dc8b114b4d4c945cc7037bc3eea8877a1b0be1fb4496ad70e3e4f44caa11321678b1362a3
@@ -5,6 +5,13 @@ adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [4.5.1] - 2019-08-13
9
+ ### Fixed
10
+ - Logging breadcrumbs will not crash anymore when logging is done using a block
11
+ form. -@Bajena
12
+ - When `breadcrumbs` are enabled ensure we call the original `Logger#add` with
13
+ the original arguments -@JanStevens
14
+
8
15
  ## [4.5.0] - 2019-08-05
9
16
  ### Changed
10
17
  - Default `max_queue_size` has been reduced from 1000 to 100.
@@ -4,6 +4,7 @@ module Honeybadger
4
4
  #
5
5
  module LogWrapper
6
6
  def add(severity, message = nil, progname = nil)
7
+ org_severity, org_message, org_progname = severity, message, progname
7
8
  message, progname = [progname, nil] if message.nil?
8
9
  message = message && message.to_s.strip
9
10
  unless should_ignore_log?(message, progname)
@@ -13,7 +14,7 @@ module Honeybadger
13
14
  })
14
15
  end
15
16
 
16
- super
17
+ super(org_severity, org_message, org_progname)
17
18
  end
18
19
 
19
20
  private
@@ -35,10 +36,10 @@ module Honeybadger
35
36
  # logs as they just become noise.
36
37
  module LogSubscriberInjector
37
38
  %w(info debug warn error fatal unknown).each do |level|
38
- define_method(level) do |*args|
39
+ define_method(level) do |*args, &block|
39
40
  begin
40
41
  Thread.current[:__hb_within_log_subscriber] = true
41
- super(*args)
42
+ super(*args, &block)
42
43
  ensure
43
44
  Thread.current[:__hb_within_log_subscriber] = false
44
45
  end
@@ -1,4 +1,4 @@
1
1
  module Honeybadger
2
2
  # The current String Honeybadger version.
3
- VERSION = '4.5.0'.freeze
3
+ VERSION = '4.5.1'.freeze
4
4
  end
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: 4.5.0
4
+ version: 4.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Honeybadger Industries LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-05 00:00:00.000000000 Z
11
+ date: 2019-08-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Make managing application errors a more pleasant experience.
14
14
  email: