console 1.17.1 → 1.17.2

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: ec8cced656faf79ff199d9ddc458a08b8e0591076ff7a4f8358f15a8d1f4bd31
4
- data.tar.gz: d6e73fbbc6ae63365407df0816fc78749963a504a8a201f06c2ddc8f0685a886
3
+ metadata.gz: 689cedcf29ff2b68070c411deb10790350808468c1ad3dde6857522e9d87cd0c
4
+ data.tar.gz: afb2b73337d57ffb59b41281f81736b30ba646a58925663fbb7f8bf356d65dd6
5
5
  SHA512:
6
- metadata.gz: 4550d9eaea0351ab08d1e238d8ea9a854265c10842b7e13be5c139d744694f8cf18446a0650590a5f3413d56c1cb10a421cb8633c197f15a66d0b82cc8090f6f
7
- data.tar.gz: 80e04be768476261d778a30eeb9d03e1d7f40eaea138e63f7b5dc5034e75ecf029769d2e879f549e424a57371fdf3def5b457af15cd3e423f6c3dd3dd019c3b9
6
+ metadata.gz: 86d91efd799280a3e88fd0199ace0b305789f02ba55a658aa3c6baf2d1b31969658d0f946463d0220c3e2f032f62b62c3a6226753db49935d6a3dc7983cc3717
7
+ data.tar.gz: bba2266b438742f21cf0819db3e948509d354f4c4477a032218b529f2efd0d12577956eb46adb364365f80cc4079587d4d615d217b124e0c230c9543b642261a
checksums.yaml.gz.sig CHANGED
Binary file
@@ -101,10 +101,6 @@ module Console
101
101
  format_argument(argument, buffer)
102
102
  end
103
103
 
104
- if options&.any?
105
- format_options(options, buffer)
106
- end
107
-
108
104
  if block_given?
109
105
  if block.arity.zero?
110
106
  format_argument(yield, buffer)
@@ -113,6 +109,10 @@ module Console
113
109
  end
114
110
  end
115
111
 
112
+ if options&.any?
113
+ format_options(options, buffer)
114
+ end
115
+
116
116
  @io.write buffer.string
117
117
  end
118
118
 
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2019-2022, by Samuel Williams.
5
5
 
6
6
  module Console
7
- VERSION = "1.17.1"
7
+ VERSION = "1.17.2"
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.1
4
+ version: 1.17.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file