test_bench-output 2.0.0.1 → 2.1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/test_bench/output/controls/text.rb +0 -17
- data/lib/test_bench/output/writer.rb +1 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f85510a137aac0904fe42a71910dce12ee9b3454bfff43194b2edb62d603bd4b
|
4
|
+
data.tar.gz: e350be8bfd6a09075e60f14f5e72cf6b63e20834c66ed61bfa258804834ac311
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c5ef96b2a29119bdbfa6a59e693ab24bd7ffa54ed1bfd2efcda5679b421d484ee2af84ec0eac47ea1fad8a06d592b73fb7d31a2c554a5dd630db4145e5f4e0e
|
7
|
+
data.tar.gz: eec82715d42065ad222c69647626fb56a19d138edeef66a9c1b7d68e1f632bebe15b08112d6625f4cf72006eb83536da09e5ef64f600398f240d60d2d74ef26b
|
@@ -11,23 +11,6 @@ module TestBench
|
|
11
11
|
|
12
12
|
"#{example} #{suffix}"
|
13
13
|
end
|
14
|
-
|
15
|
-
module NonPrintableCharacters
|
16
|
-
def self.example
|
17
|
-
characters.map(&:chr).join
|
18
|
-
end
|
19
|
-
|
20
|
-
def self.characters
|
21
|
-
(0..0x20).to_a + (0x7F..0xFF).to_a
|
22
|
-
end
|
23
|
-
|
24
|
-
module Escaped
|
25
|
-
def self.example
|
26
|
-
unescaped = NonPrintableCharacters.example
|
27
|
-
unescaped.dump[1...-1]
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
14
|
end
|
32
15
|
end
|
33
16
|
end
|
@@ -95,8 +95,6 @@ module TestBench
|
|
95
95
|
end
|
96
96
|
|
97
97
|
def print(text)
|
98
|
-
text = text.dump[1...-1]
|
99
|
-
|
100
98
|
self.column_sequence += text.length
|
101
99
|
|
102
100
|
write(text)
|
@@ -154,7 +152,7 @@ module TestBench
|
|
154
152
|
end
|
155
153
|
|
156
154
|
def styling?
|
157
|
-
Styling.styling?(styling_policy,
|
155
|
+
Styling.styling?(styling_policy, tty?)
|
158
156
|
end
|
159
157
|
|
160
158
|
module Styling
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_bench-output
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Ladd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test_bench-telemetry
|