console 1.17.2 → 1.17.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/console/serialized/logger.rb +6 -2
- data/lib/console/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 279d68c968f13422584c4b2101ce400373798479884450f4bd6db20783d115e3
|
4
|
+
data.tar.gz: 4a8df91d11deba88a6fc18f1dd2c09c16676cf32ef045c22aa1e25a942a4ba51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b118601c16e8a70d0e654aca81d67f0130113a38c926fc931c2d9904b68946e02dfc76af1a7f7804954391ce0600f46ec6897c5416c3a22cdd1a64a2e5d6a798
|
7
|
+
data.tar.gz: b32ed9872c022cda4d7cfe2d1e754a8015021c7765cca971052b814cc4f50fd5a069c6fc7f50eda680e6576625f95c91c265f52aab8fc6a78c3e1813bc7391f0
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -37,13 +37,17 @@ module Console
|
|
37
37
|
record = {
|
38
38
|
time: Time.now.iso8601,
|
39
39
|
severity: severity,
|
40
|
-
class: subject.class,
|
41
40
|
oid: subject.object_id,
|
42
41
|
pid: Process.pid,
|
43
42
|
}
|
44
43
|
|
45
|
-
|
44
|
+
# We want to log just a brief subject:
|
45
|
+
if subject.is_a?(String)
|
46
46
|
record[:subject] = subject
|
47
|
+
elsif subject.is_a?(Module)
|
48
|
+
record[:subject] = subject.name
|
49
|
+
else
|
50
|
+
record[:subject] = subject.class.name
|
47
51
|
end
|
48
52
|
|
49
53
|
if annotation = Fiber.current.annotation
|
data/lib/console/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.17.
|
4
|
+
version: 1.17.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -43,7 +43,7 @@ cert_chain:
|
|
43
43
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
44
44
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
45
45
|
-----END CERTIFICATE-----
|
46
|
-
date: 2023-
|
46
|
+
date: 2023-07-19 00:00:00.000000000 Z
|
47
47
|
dependencies:
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: fiber-local
|
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: '0'
|
215
215
|
requirements: []
|
216
|
-
rubygems_version: 3.4.
|
216
|
+
rubygems_version: 3.4.10
|
217
217
|
signing_key:
|
218
218
|
specification_version: 4
|
219
219
|
summary: Beautiful logging for Ruby.
|
metadata.gz.sig
CHANGED
Binary file
|