honeybadger 5.15.4 → 5.15.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/honeybadger/event.rb +4 -1
- 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: a312d3eb74eb5dd3df188d020d902df8549085ec88f3b95be2ee1ac478ccf567
|
4
|
+
data.tar.gz: 9584f4e9f46d62de688926c9b96ae3006046372271f6a0aa6b43e18b388754da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0db6ef010ed9a83447e800115fb5cec27cbac4e546e832f238d9d8c54efaca88bec487edba28c13c6f82eb916f7db16e72be6d12377b031c1ae28713e288f47a
|
7
|
+
data.tar.gz: bce986b69ced50262440748cbcea4954a8103fd283960bafc32e74f7d4c45e0252f2a3b1af193a8cda8663fef898ab20afb4b47ef19fef896aba3d7036acd471
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
3
|
|
4
|
+
## [5.15.5](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.15.4...v5.15.5) (2024-07-30)
|
5
|
+
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
* sanitize event payload data ([#602](https://github.com/honeybadger-io/honeybadger-ruby/issues/602)) ([f307212](https://github.com/honeybadger-io/honeybadger-ruby/commit/f307212cf9a3df43b8bacff1474c2f674ff3f1a3))
|
10
|
+
|
4
11
|
## [5.15.4](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.15.3...v5.15.4) (2024-07-29)
|
5
12
|
|
6
13
|
|
data/lib/honeybadger/event.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
require 'forwardable'
|
2
2
|
|
3
|
+
require 'honeybadger/util/sanitizer'
|
4
|
+
|
3
5
|
module Honeybadger
|
4
6
|
class Event
|
5
7
|
extend Forwardable
|
@@ -47,10 +49,11 @@ module Honeybadger
|
|
47
49
|
#
|
48
50
|
# @return [Hash] JSON representation of the event.
|
49
51
|
def as_json(*args)
|
50
|
-
payload.tap do |p|
|
52
|
+
data = payload.tap do |p|
|
51
53
|
p[:ts] = ts
|
52
54
|
p[:event_type] = event_type if event_type
|
53
55
|
end
|
56
|
+
Util::Sanitizer.sanitize(data)
|
54
57
|
end
|
55
58
|
end
|
56
59
|
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: 5.15.
|
4
|
+
version: 5.15.5
|
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: 2024-
|
11
|
+
date: 2024-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Make managing application errors a more pleasant experience.
|
14
14
|
email:
|