honeybadger 5.14.1 → 5.14.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 +8 -0
- data/lib/honeybadger/backend/test.rb +15 -0
- data/lib/honeybadger/cli/test.rb +10 -0
- data/lib/honeybadger/event.rb +1 -1
- data/lib/honeybadger/version.rb +1 -1
- data/lib/honeybadger/worker.rb +2 -2
- 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: 6a266a536f678ad185e842fb49965060a83a9212bc9e0d83b82676eda7ee339e
|
4
|
+
data.tar.gz: efe4451de8be26102391b0e15269a175b446250bb81d0076807f0137497e959a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d72c1b0452f68bfae263c9ceaca636b8201e20f4a902ea8498dfc174251ca3a8e3f72e3043aae0cf2e43a972ac35a94c051f1ee113b2b0ff344a021f4caeded9
|
7
|
+
data.tar.gz: f2b3511ec5b6cb683a593424831e05475320fc398063ab948a81fb946dfff45656c9df7da3ac0a02f9af050747d58dbf9b94aa661855fbc688814a85660e8faa
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
3
|
|
4
|
+
## [5.14.2](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.14.1...v5.14.2) (2024-07-17)
|
5
|
+
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
* add []= delegator ([#590](https://github.com/honeybadger-io/honeybadger-ruby/issues/590)) ([9f1d6b5](https://github.com/honeybadger-io/honeybadger-ruby/commit/9f1d6b55e88497c4c37659fdfaeaa163c7794672))
|
10
|
+
* add event method for cli backend test ([#588](https://github.com/honeybadger-io/honeybadger-ruby/issues/588)) ([1e047bb](https://github.com/honeybadger-io/honeybadger-ruby/commit/1e047bbcd17db676b96dd78eb918475e3a52ab1b))
|
11
|
+
|
4
12
|
## [5.14.1](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.14.0...v5.14.1) (2024-07-15)
|
5
13
|
|
6
14
|
|
@@ -13,6 +13,16 @@ module Honeybadger
|
|
13
13
|
@notifications ||= Hash.new {|h,k| h[k] = [] }
|
14
14
|
end
|
15
15
|
|
16
|
+
# The event list.
|
17
|
+
#
|
18
|
+
# @example
|
19
|
+
# Test.events # => [{}, {}, ...]
|
20
|
+
#
|
21
|
+
# @return [Array<Hash>] List of event payloads.
|
22
|
+
def self.events
|
23
|
+
@events ||= []
|
24
|
+
end
|
25
|
+
|
16
26
|
# @api public
|
17
27
|
# The check in list.
|
18
28
|
#
|
@@ -37,6 +47,11 @@ module Honeybadger
|
|
37
47
|
super
|
38
48
|
end
|
39
49
|
|
50
|
+
def event(payload)
|
51
|
+
events << payload
|
52
|
+
super
|
53
|
+
end
|
54
|
+
|
40
55
|
def check_in(id)
|
41
56
|
check_ins << id
|
42
57
|
super
|
data/lib/honeybadger/cli/test.rb
CHANGED
@@ -24,11 +24,21 @@ module Honeybadger
|
|
24
24
|
@callings ||= Hash.new {|h,k| h[k] = [] }
|
25
25
|
end
|
26
26
|
|
27
|
+
def self.events
|
28
|
+
@events ||= []
|
29
|
+
end
|
30
|
+
|
27
31
|
def notify(feature, payload)
|
28
32
|
response = @backend.notify(feature, payload)
|
29
33
|
self.class.callings[feature] << [payload, response]
|
30
34
|
response
|
31
35
|
end
|
36
|
+
|
37
|
+
def event(payload)
|
38
|
+
response = @backend.event(payload)
|
39
|
+
self.class.events << [payload, response]
|
40
|
+
response
|
41
|
+
end
|
32
42
|
end
|
33
43
|
|
34
44
|
def initialize(options)
|
data/lib/honeybadger/event.rb
CHANGED
data/lib/honeybadger/version.rb
CHANGED
data/lib/honeybadger/worker.rb
CHANGED
@@ -228,9 +228,9 @@ module Honeybadger
|
|
228
228
|
when 201
|
229
229
|
host = config.get(:'connection.ui_host')
|
230
230
|
if throttle = dec_throttle
|
231
|
-
info { sprintf('Success ⚡ https
|
231
|
+
info { sprintf('Success ⚡ https://%s/notice/%s id=%s code=%s throttle=%s interval=%s', host, msg.id, msg.id, response.code, throttle, throttle_interval) }
|
232
232
|
else
|
233
|
-
info { sprintf('Success ⚡ https
|
233
|
+
info { sprintf('Success ⚡ https://%s/notice/%s id=%s code=%s', host, msg.id, msg.id, response.code) }
|
234
234
|
end
|
235
235
|
when :stubbed
|
236
236
|
info { sprintf('Success ⚡ Development mode is enabled; this error will be reported if it occurs after you deploy your app. id=%s', msg.id) }
|
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.14.
|
4
|
+
version: 5.14.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: 2024-07-
|
11
|
+
date: 2024-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Make managing application errors a more pleasant experience.
|
14
14
|
email:
|