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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e02a98a2c03861bc6a34a783ed06bd0715986ebc533528ca2f96fab6baa12efb
4
- data.tar.gz: 56b993ee11bca44d5035e75bedebeafab92c526e43dacbeae5a9a365c0b271ef
3
+ metadata.gz: a312d3eb74eb5dd3df188d020d902df8549085ec88f3b95be2ee1ac478ccf567
4
+ data.tar.gz: 9584f4e9f46d62de688926c9b96ae3006046372271f6a0aa6b43e18b388754da
5
5
  SHA512:
6
- metadata.gz: 540df7f2914728534af986a1cab887e8867b48c106297ad3f0ae26d73eeeb402d239cc2f28aa1dd337224f020218ebaf5533f40cc2ebd8955734b025ae888e17
7
- data.tar.gz: '068b34fc9de350eedcb916897cebe1afbb8ca60ecb7368f25ae9f548427a9ded5d77dc2cf23e311e13886125e49de263ff1f818f8c939deb53c62d89217fe4eb'
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
 
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Honeybadger
2
2
  # The current String Honeybadger version.
3
- VERSION = '5.15.4'.freeze
3
+ VERSION = '5.15.5'.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: 5.15.4
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-07-29 00:00:00.000000000 Z
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: