coaster 1.4.34 → 1.4.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5646bbed7603ad57d8d2af90a55addf26d21ec9aa0642bb507755d804aa0813e
|
|
4
|
+
data.tar.gz: 12ba251c73c7e921079d81920bcc2a5d790238b0d2dbeb2cdcd84424a34a14f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d0a4cb521f30be23e1a8accc92c5bed621af882538e4582932b8093b6c062ab28c44885e3894840df5c8d0ef8ca21b2a9e6ed0192bf2f55bfc9d1b9c92fc3de
|
|
7
|
+
data.tar.gz: d936c069d58ca5639e290865059b41624c2ba74936244882696effa8d43e7bb60b4d5f37848b1da63168d2cf8867297e7d2668593063c831c5ea038756773a96
|
|
@@ -27,6 +27,7 @@ class StandardError
|
|
|
27
27
|
nt[:tags][:digest_backtrace] = digest_backtrace if digest_backtrace.present?
|
|
28
28
|
nt[:level] ||= self.level
|
|
29
29
|
nt[:extra] = attributes.merge(nt[:extra])
|
|
30
|
+
nt[:extra][:ivars] = to_inspection_ivars rescue {}
|
|
30
31
|
nt[:fingerprint] = sentry_fingerprint
|
|
31
32
|
nt
|
|
32
33
|
end
|
|
@@ -252,14 +252,8 @@ class StandardError
|
|
|
252
252
|
attributes[:inspection_value_proc] || self.class.inspection_value_proc
|
|
253
253
|
end
|
|
254
254
|
|
|
255
|
-
def
|
|
256
|
-
|
|
257
|
-
_h.merge!(
|
|
258
|
-
type: self.class.name, status: status,
|
|
259
|
-
http_status: http_status, message: message,
|
|
260
|
-
instance_variables: {}.with_indifferent_access
|
|
261
|
-
)
|
|
262
|
-
digest_backtrace # for @digest_backtrace
|
|
255
|
+
def to_inspection_ivars
|
|
256
|
+
_h = {instance_variables: {}}.with_indifferent_access
|
|
263
257
|
instance_variables.sort.each do |var|
|
|
264
258
|
if inspection_vars.include?(var)
|
|
265
259
|
val = instance_variable_get(var)
|
|
@@ -272,6 +266,18 @@ class StandardError
|
|
|
272
266
|
_h[:instance_variables][var] = self.class.inspection_value_simple(val)
|
|
273
267
|
end
|
|
274
268
|
end
|
|
269
|
+
_h
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
def to_inspection_hash(options: {}, _h: {}.with_indifferent_access, _depth: 0)
|
|
273
|
+
backtrace_key = options[:backtrace_key] || :backtrace
|
|
274
|
+
_h.merge!(
|
|
275
|
+
type: self.class.name, status: status,
|
|
276
|
+
http_status: http_status, message: message,
|
|
277
|
+
instance_variables: {}.with_indifferent_access
|
|
278
|
+
)
|
|
279
|
+
digest_backtrace # for @digest_backtrace
|
|
280
|
+
_h.merge!(to_inspection_ivars)
|
|
275
281
|
if backtrace.present?
|
|
276
282
|
if respond_to?(:cleaned_backtrace)
|
|
277
283
|
if (bt = cleaned_backtrace(options))
|
data/lib/coaster/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coaster
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.35
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- buzz jung
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2025-11-
|
|
10
|
+
date: 2025-11-17 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: oj
|