test_bench-session 2.1.3.0 → 2.1.3.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: c059f9f3ad6f889d1fd27906807f67d15a57bef1566f811b07991d7d010d10dc
4
- data.tar.gz: e956bcc0ba3fbbb0fd3a84bf3ca92197e6461d1b1a0e75202fd1cd022759e3e8
3
+ metadata.gz: b937ff924f56450320e2d02d2171d0f142efb66e4f10569ae625fadebf9ca239
4
+ data.tar.gz: 2a3d84a1c7e311d0f622a7b6886c5272fdb428b240a29a424df5457890615d3e
5
5
  SHA512:
6
- metadata.gz: 4073bcd9b0948de7e9de8bd35ba6d5d6de3fee53f967a2da23bb19fd9fc743381aa5a9a400f63ab5776185c2defd52d8a4dec34856e8147b6730cd4085b49c20
7
- data.tar.gz: 353dbf7d7d7aaa33f2520ffafbb4839b9148b7115bec3e68e729e96ac7d9289331b9ef969a33a62c5e10feef1af10fa939e31a271990a40936e8c9a114395938
6
+ metadata.gz: 448071e0f274594af1d94f976f4b783bd440cbc9d7d1adc3fc42742937f0fe635e3c9a131e061e61f8f213b069ac66049045d8235e5e3b630190b710a9e1cafb
7
+ data.tar.gz: 040cc8941a4ce8f9fb9045b27acac7f2af022a9188f50d043dcca15cdc791ce8d9e14549ff8fc1f122173dbb5af4c5abfe41d7df575f9ceab6653639494706ea
@@ -240,11 +240,20 @@ module TestBench
240
240
  else
241
241
  text.each_line(chomp: true) do |line|
242
242
  writer.
243
- indent.
244
- style(:faint).
245
- print('> ').
246
- style(:reset_intensity).
247
- puts(line)
243
+ indent
244
+
245
+ if writer.styling?
246
+ writer.
247
+ style(:reverse_video).
248
+ print(' ').
249
+ style(:reset_reverse_video).
250
+ print(' ')
251
+ else
252
+ writer.
253
+ print('> ')
254
+ end
255
+
256
+ writer.puts(line)
248
257
  end
249
258
  end
250
259
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_bench-session
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3.0
4
+ version: 2.1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Ladd
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubygems_version: 3.4.10
122
+ rubygems_version: 3.5.9
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: Test session for TestBench