test-unit 3.6.5 → 3.6.6
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 +14 -0
- data/lib/test/unit/test-suite-runner.rb +5 -1
- 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: fb180f2c9377ae51f23460d2189f4c20217bfeca25a8ae1fff695f739be548bb
|
4
|
+
data.tar.gz: 9057f25cf319ffd6ef9185a9f0a80f83975bf3f8a1738bc636e3dd829f9ba4d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a2dc1551d424ea48056738d7342627c94b1b868a69c01153bed8d3c57cf0f78674a86812e39e00fead22f1035e6ccf383cadb4e91eabe7fb849b8f919bcd1b3
|
7
|
+
data.tar.gz: 221694d5d44ee5bc4f4ab4faaf8739ee0d3e677e2b337ae98d1fe8443c92c5e0d0dc478a1974ffdbdbffed7217c25b51efae6caaa28fc6e107112732239a96fa
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 3.6.6 - 2024-12-17 {#version-3-6-6}
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* Improved backward compatibility for the `Test::Unit::TestCase#run`
|
8
|
+
overriding case. In general, we don't recommend it but there are
|
9
|
+
old scripts that do it. (Mainly, I did it...)
|
10
|
+
* GH-276
|
11
|
+
* Reported by Mamoru TASAKA
|
12
|
+
|
13
|
+
### Thanks
|
14
|
+
|
15
|
+
* Mamoru TASAKA
|
16
|
+
|
3
17
|
## 3.6.5 - 2024-12-15 {#version-3-6-5}
|
4
18
|
|
5
19
|
### Fixes
|
@@ -65,7 +65,11 @@ module Test
|
|
65
65
|
finished_is_yielded = false
|
66
66
|
finished_object_is_yielded = false
|
67
67
|
previous_event_name = nil
|
68
|
-
|
68
|
+
options = {}
|
69
|
+
# For backward compatibility. There are scripts that overrides
|
70
|
+
# Test::Unit::TestCase#run without keyword arguments.
|
71
|
+
options[:runner_class] = self.class if test.method(:run).arity == -2
|
72
|
+
test.run(result, **options) do |event_name, *args|
|
69
73
|
case previous_event_name
|
70
74
|
when Test::Unit::TestCase::STARTED
|
71
75
|
if event_name != Test::Unit::TestCase::STARTED_OBJECT
|
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.6.
|
4
|
+
version: 3.6.6
|
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: 2024-12-
|
12
|
+
date: 2024-12-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: power_assert
|