console 1.17.0 → 1.17.1

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: 5a1588810973b2d219accb3bbb33005311b4c214c052c877a601ed8c9cbeaff8
4
- data.tar.gz: b2cb63cd0c9fa5e136455f5367fd3b8c47896ae04b0f73aa2fe72604af725e2f
3
+ metadata.gz: ec8cced656faf79ff199d9ddc458a08b8e0591076ff7a4f8358f15a8d1f4bd31
4
+ data.tar.gz: d6e73fbbc6ae63365407df0816fc78749963a504a8a201f06c2ddc8f0685a886
5
5
  SHA512:
6
- metadata.gz: 964c9e0a5362a89d6bbf103d8a16a7f0c29eb5a032fc24d92d5339909bdd76970404640de776d097bd5d1f9b633270d4da67baa3bd2cc69f0cb59ab0564e8217
7
- data.tar.gz: 4e3cb21047824f715dbc13e98707c6aebc641ebf304c5e11e22c72cf4786102ffeb0690693d23194b45933991bf8de6fc38559f89a0da5a55a10afc2c5df665c
6
+ metadata.gz: 4550d9eaea0351ab08d1e238d8ea9a854265c10842b7e13be5c139d744694f8cf18446a0650590a5f3413d56c1cb10a421cb8633c197f15a66d0b82cc8090f6f
7
+ data.tar.gz: 80e04be768476261d778a30eeb9d03e1d7f40eaea138e63f7b5dc5034e75ecf029769d2e879f549e424a57371fdf3def5b457af15cd3e423f6c3dd3dd019c3b9
checksums.yaml.gz.sig CHANGED
Binary file
@@ -63,7 +63,7 @@ module Console
63
63
  @terminal[:error] = @terminal.style(:red)
64
64
  @terminal[:fatal] = @terminal[:error]
65
65
 
66
- @terminal[:annotation] = @terminal.style(:blue)
66
+ @terminal[:annotation] = @terminal.reset
67
67
  @terminal[:value] = @terminal.style(:blue)
68
68
 
69
69
  self.register_defaults(@terminal)
@@ -146,15 +146,15 @@ module Console
146
146
  end
147
147
 
148
148
  def default_suffix(object = nil)
149
- buffer = +" "
149
+ buffer = +""
150
150
 
151
151
  if @verbose
152
152
  if annotation = Fiber.current.annotation and annotation.size > 0
153
- buffer << "(#{@terminal[:annotation]}#{annotation})#{@terminal.reset} "
153
+ buffer << ": #{@terminal[:annotation]}#{annotation}#{@terminal.reset}"
154
154
  end
155
155
  end
156
156
 
157
- buffer << @terminal[:logger_suffix].to_s
157
+ buffer << " #{@terminal[:logger_suffix]}"
158
158
 
159
159
  if object
160
160
  buffer << "[oid=0x#{object.object_id.to_s(16)}] "
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2019-2022, by Samuel Williams.
5
5
 
6
6
  module Console
7
- VERSION = "1.17.0"
7
+ VERSION = "1.17.1"
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.0
4
+ version: 1.17.1
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-05 00:00:00.000000000 Z
46
+ date: 2023-06-06 00:00:00.000000000 Z
47
47
  dependencies:
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: fiber-local
metadata.gz.sig CHANGED
Binary file