test-unit 3.5.6 → 3.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +8 -1
- data/lib/test/unit/ui/console/testrunner.rb +7 -5
- data/lib/test/unit/version.rb +1 -1
- 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: 59ba2bbe00e50cbe8fddafde4fcab620690213d5bca53fe5e154f42f5502cd6b
|
4
|
+
data.tar.gz: 5ec10a45c78af72d40b2d7439dafef5296b75fa46d89b9f1889338d2dc224829
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b638f460ef3ce8328bb51ed7e3cdf4a79bf36d864fd0ba37cbc4c5e4c43922e1847ee25c1cbb29dde6aa3f1cc38daabe760790f4c65300e4588037641dbe121f
|
7
|
+
data.tar.gz: 71827e75e9bb25f5569458d3b7fa5edb9cdf3f1693c4ac988b670a3c55cd64bade2f046c966ac76293d76d1e26422afce45bf1ccbf9346086498083e6ca915e2
|
data/doc/text/news.md
CHANGED
@@ -1,10 +1,17 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 3.5.7 - 2022-12-15 {#version-3-5-7}
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* [UI][console]: Changed to use color escape sequence for each line
|
8
|
+
instead of each output that may consist with multiple lines.
|
9
|
+
|
3
10
|
## 3.5.6 - 2022-12-15 {#version-3-5-6}
|
4
11
|
|
5
12
|
### Improvements
|
6
13
|
|
7
|
-
* Enabled 256 colors output on GitHub Actions by default.
|
14
|
+
* [UI][console]: Enabled 256 colors output on GitHub Actions by default.
|
8
15
|
|
9
16
|
## 3.5.5 - 2022-10-04 {#version-3-5-5}
|
10
17
|
|
@@ -435,12 +435,14 @@ module Test
|
|
435
435
|
|
436
436
|
def output_single(something, color=nil, level=nil)
|
437
437
|
return false unless output?(level)
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
438
|
+
something.to_s.each_line do |line|
|
439
|
+
if @use_color and color
|
440
|
+
line = "%s%s%s" % [color.escape_sequence,
|
441
|
+
line,
|
442
|
+
@reset_color.escape_sequence]
|
443
|
+
end
|
444
|
+
@output.write(line)
|
442
445
|
end
|
443
|
-
@output.write(something)
|
444
446
|
@output.flush
|
445
447
|
true
|
446
448
|
end
|
data/lib/test/unit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test-unit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.
|
4
|
+
version: 3.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-12-
|
12
|
+
date: 2022-12-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: power_assert
|