console 1.17.2 → 1.17.3

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: 689cedcf29ff2b68070c411deb10790350808468c1ad3dde6857522e9d87cd0c
4
- data.tar.gz: afb2b73337d57ffb59b41281f81736b30ba646a58925663fbb7f8bf356d65dd6
3
+ metadata.gz: e84e89c5147fddf5d7dcbac7609431adce37ee40b2e6e4ac28c9275054c4d1e1
4
+ data.tar.gz: 3a919ba4deb380f97009df1c8f3bee617624359415044e457f21bfb6b0100627
5
5
  SHA512:
6
- metadata.gz: 86d91efd799280a3e88fd0199ace0b305789f02ba55a658aa3c6baf2d1b31969658d0f946463d0220c3e2f032f62b62c3a6226753db49935d6a3dc7983cc3717
7
- data.tar.gz: bba2266b438742f21cf0819db3e948509d354f4c4477a032218b529f2efd0d12577956eb46adb364365f80cc4079587d4d615d217b124e0c230c9543b642261a
6
+ metadata.gz: fe3f04bb8844f111c29aa00f63e0da6025babb8685d21002be06e23d11d60da620f943b5e0f0e75abad4548f8033a3417df5d3ff891e97ba114e0464510d07b1
7
+ data.tar.gz: 4617e34bcb9ef30a67d2f787babcc3bfa183ae8af4228bb7092362078841ada2e70227fe7ee7b3b09e4465e0f49a7784b374bcd9a3893781ee6aeb700aaa12d2
checksums.yaml.gz.sig CHANGED
Binary file
@@ -42,8 +42,13 @@ module Console
42
42
  pid: Process.pid,
43
43
  }
44
44
 
45
- if subject
45
+ # We want to log just a brief subject:
46
+ if subject.is_a?(String)
46
47
  record[:subject] = subject
48
+ elsif subject.is_a?(Module)
49
+ record[:subject] = subject.name
50
+ else
51
+ record[:subject] = subject.class.name
47
52
  end
48
53
 
49
54
  if annotation = Fiber.current.annotation
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2019-2022, by Samuel Williams.
5
5
 
6
6
  module Console
7
- VERSION = "1.17.2"
7
+ VERSION = "1.17.3"
8
8
  end
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.2
4
+ version: 1.17.3
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-06-06 00:00:00.000000000 Z
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.7
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