honeybadger 4.4.1 → 4.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/honeybadger/plugins/breadcrumbs.rb +4 -2
- data/lib/honeybadger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fac77f5cc8573711baf81c791a3f7377ef05e931c36a05be1e7b00225f1f4cbd
|
4
|
+
data.tar.gz: 8c622aa94f759c54d074c23dd7836c285449abb0399bd34642e616b352096f36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c1a4792a723264e8f633f41d62ba85eeef2a895fe5dd14eccd3f9bce9820b0565338618a0057508295a9e0c4661b5fb8da25a45e54f2b09c11ed4a9fb1fbdf7
|
7
|
+
data.tar.gz: 872d754f468b46308632c668b8fdaa4b06786f517d16dd15f503aa05a7a814351f6c3f1c8e15b304441afd1a8cf01e1bbdbd7002ae8fd9f8abce96e4c14f7aab
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,11 @@ adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [4.4.2] - 2019-08-01
|
9
|
+
### Fixed
|
10
|
+
- Handle ActiveSupport::Notifications passing nil started or finished time
|
11
|
+
-@pcreux
|
12
|
+
|
8
13
|
## [4.4.1] - 2019-07-30
|
9
14
|
### Fixed
|
10
15
|
- Allow non-strings to be passed to breadcrumbs logger
|
@@ -89,7 +89,7 @@ module Honeybadger
|
|
89
89
|
data = notification_config[:transform].call(data) if notification_config[:transform]
|
90
90
|
data = data.is_a?(Hash) ? data : {}
|
91
91
|
|
92
|
-
data[:duration] = duration
|
92
|
+
data[:duration] = duration if duration
|
93
93
|
|
94
94
|
Honeybadger.add_breadcrumb(
|
95
95
|
message,
|
@@ -101,7 +101,9 @@ module Honeybadger
|
|
101
101
|
# @api private
|
102
102
|
def self.subscribe_to_notification(name, notification_config)
|
103
103
|
ActiveSupport::Notifications.subscribe(name) do |_, started, finished, _, data|
|
104
|
-
|
104
|
+
duration = finished - started if finished && started
|
105
|
+
|
106
|
+
send_breadcrumb_notification(name, duration, notification_config, data)
|
105
107
|
end
|
106
108
|
end
|
107
109
|
end
|
data/lib/honeybadger/version.rb
CHANGED
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.4.
|
4
|
+
version: 4.4.2
|
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-
|
11
|
+
date: 2019-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Make managing application errors a more pleasant experience.
|
14
14
|
email:
|