test-unit 3.1.4 → 3.1.5
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.rb +8 -6
- data/lib/test/unit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86673156c68b86e03890136de7cac26b04ebf6ba
|
4
|
+
data.tar.gz: e2e15e416b83d09eee253273f981ef4a9c2566f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6d3ea4e758eb002dad57e91d1db3a7f71ff12e1a6428c115db9c619cbd9b054606f74a8b9aeed216c6ab9d9a37d257d6f4521d9dcfbfa60966073c41b0b67fc
|
7
|
+
data.tar.gz: 09d14bdfc97c567d50c1b2feaac261cad406256c86bbe9be809c48f012dd845a76be20bd94e29190ce77580bfee96ddbc94f0f309b990eb97521cd22d72b9b59
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 3.1.5 - 2015-10-09 {#version-3-1-5}
|
4
|
+
|
5
|
+
It's a Rack integration improvement release.
|
6
|
+
|
7
|
+
### Improvements
|
8
|
+
|
9
|
+
* Renamed experimental top-level `run` method to `run_test` method
|
10
|
+
because `run` is conflicted with Rack.
|
11
|
+
[GitHub#32][GitHub:basecamp/pow#303] [Reported by Yevhen Viktorov]
|
12
|
+
|
13
|
+
### Thanks
|
14
|
+
|
15
|
+
* Yevhen Viktorov
|
16
|
+
|
3
17
|
## 3.1.4 - 2015-09-26 {#version-3-1-4}
|
4
18
|
|
5
19
|
It's a minor improvement release.
|
data/lib/test-unit.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
|
1
|
+
# Copyright (C) 2012-2015 Kouhei Sutou <kou@clear-code.com>
|
2
2
|
#
|
3
3
|
# License: Ruby's or LGPLv2.1 or later
|
4
4
|
#
|
@@ -24,9 +24,11 @@ module Test
|
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
|
-
|
28
|
-
#
|
29
|
-
|
30
|
-
|
31
|
-
|
27
|
+
unless respond_to?(:run_test, true)
|
28
|
+
# experimental. It is for "ruby -rtest-unit -e run_test test/test_*.rb".
|
29
|
+
# Is this API OK or dirty?
|
30
|
+
def run_test
|
31
|
+
self.class.send(:undef_method, :run_test)
|
32
|
+
require "test/unit"
|
33
|
+
end
|
32
34
|
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.1.
|
4
|
+
version: 3.1.5
|
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: 2015-09
|
12
|
+
date: 2015-10-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: power_assert
|