test-unit 3.5.8 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87316242bf95be028eca18e6b4da38984f75fb2e2e6b97641c17b4724f802102
4
- data.tar.gz: ce1ae80016128f58874503100e09ae3ebd150f08482c48c6c7cc92cf0c6e9b4f
3
+ metadata.gz: 5a2d8f65980b8363f1d11db9d701d64c0d7b61d08e3bb060c91c360431e3caa7
4
+ data.tar.gz: 8f81f23199da018d75b30a97ba3468d650f2a3e64f0a58a320027dd721d713fb
5
5
  SHA512:
6
- metadata.gz: 3b6928cb432d65c2b1cbfc30a6bba8fce92c527b067f6986bb363ea31aeba30bbc3a2596863a7dc4b5e70e1763818b39715746d3bfc11531f948b576500b08fe
7
- data.tar.gz: b6f9ebaff9aae704c5e4e6037d73d5a7983913defa1c0e744b6d8d77c7a10e765ff90aa6d0785bf90aeefbe8de2282dd5d6d6652daf380ec275b428a2cce3df7
6
+ metadata.gz: 66328122e4492fbbb94c448289645ac8cb4f5617c2eff8f54247a14b59beb8cecf0cbb09099272209087fdaa51a51c499572b65d0ccbbb2c62e7e60216b6d6fa
7
+ data.tar.gz: 7a921f17e91f850de81d6fd394956e7147e60a5955050f1edfb2d01e80a56742d52ab1fb8f2098c09796f997e177b6240be968a00356e9bfb49102156352918a
data/doc/text/news.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # News
2
2
 
3
+ ## 3.6.0 - 2023-05-25 {#version-3-6-0}
4
+
5
+ ### Improvements
6
+
7
+ * UI: console: Use `--progress-style=fault-only` with non-tty output
8
+ by default.
9
+
10
+ ## 3.5.9 - 2023-05-25 {#version-3-5-9}
11
+
12
+ ### Improvements
13
+
14
+ * UI: console: Use `--progress-style=mark` with `--verbose=verbose`
15
+ by default.
16
+
3
17
  ## 3.5.8 - 2023-05-12 {#version-3-5-8}
4
18
 
5
19
  ### Improvements
@@ -437,7 +437,7 @@ module Test
437
437
  n = 1
438
438
  end
439
439
  i += 1
440
- keyword.sub(/^(.{#{n}})([A-Za-z]+)(?=\w*$)/, '\\1[\\2]')
440
+ keyword.sub(/^(.{#{n}})([A-Za-z-]+)(?=\w*$)/, '\\1[\\2]')
441
441
  end.join(", ")
442
442
  end
443
443
 
@@ -573,9 +573,11 @@ module Test
573
573
  end
574
574
 
575
575
  def guess_progress_style
576
- if ENV["GITHUB_ACTIONS"] == "true"
577
- :fault_only
576
+ if @output_level >= VERBOSE
577
+ :mark
578
578
  else
579
+ return :fault_only if ENV["GITHUB_ACTIONS"] == "true"
580
+ return :fault_only unless @output.tty?
579
581
  :inplace
580
582
  end
581
583
  end
@@ -1,5 +1,5 @@
1
1
  module Test
2
2
  module Unit
3
- VERSION = "3.5.8"
3
+ VERSION = "3.6.0"
4
4
  end
5
5
  end
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.8
4
+ version: 3.6.0
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: 2023-05-12 00:00:00.000000000 Z
12
+ date: 2023-06-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: power_assert