test-unit 3.1.2 → 3.1.3
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 +4 -4
- data/doc/text/news.md +26 -0
- data/lib/test/unit/testcase.rb +2 -2
- data/lib/test/unit/version.rb +1 -1
- metadata +2 -3
- data/TODO +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9def7f8553bdcaaefdc8a289cdaf35bf1a9fbcb
|
4
|
+
data.tar.gz: 707bef5ddbcc5c8c768bd2b0a7e923b6c1a85bcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aa58204ba7a0edcea7204eba1dbbb607645061214ef59f72702a034f9819c0b8c3b517b5bf8a0d6891de27707bba0a37b319c3aef373562fbefe21aff183a8a
|
7
|
+
data.tar.gz: 57dae04e712d130a912e63f7dead347e31920d0bdc62f18ecc01270986c931b3e4e5bc02d99c085f4f86fc251462140c3b599b9fff87adca0d9ab69aea016991
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 3.1.3 - 2015-07-26 {#version-3-1-3}
|
4
|
+
|
5
|
+
It's a bug fix release.
|
6
|
+
|
7
|
+
### Improvements
|
8
|
+
|
9
|
+
* Removed unused `TODO` file. [GitHub#108][Patch by takiy33]
|
10
|
+
|
11
|
+
### Fixes
|
12
|
+
|
13
|
+
* `--location`: Fixed a bug that `--location LINE` doesn't work when
|
14
|
+
test script is specified as relative path. [Reported by TOMITA Masahiro]
|
15
|
+
|
16
|
+
The following doesn't work:
|
17
|
+
|
18
|
+
% ruby ./test.rb --location 10
|
19
|
+
|
20
|
+
The following works:
|
21
|
+
|
22
|
+
% ruby test.rb --location 10
|
23
|
+
|
24
|
+
### Thanks
|
25
|
+
|
26
|
+
* takiy33
|
27
|
+
* TOMITA Masahiro
|
28
|
+
|
3
29
|
## 3.1.2 - 2015-06-09 {#version-3-1-2}
|
4
30
|
|
5
31
|
It's command line option improvements fix release.
|
data/lib/test/unit/testcase.rb
CHANGED
@@ -121,12 +121,12 @@ module Test
|
|
121
121
|
if source_location
|
122
122
|
path, line = source_location
|
123
123
|
else
|
124
|
-
path, line, = caller[0].split(/:(\d+)/,2)
|
124
|
+
path, line, = caller[0].split(/:(\d+)/, 2)
|
125
125
|
line = line.to_i if line
|
126
126
|
end
|
127
127
|
method_locations << {
|
128
128
|
:method_name => stringified_name,
|
129
|
-
:path => path,
|
129
|
+
:path => File.expand_path(path),
|
130
130
|
:line => line,
|
131
131
|
}
|
132
132
|
added_method_names[stringified_name] = true
|
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.3
|
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-
|
12
|
+
date: 2015-07-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: power_assert
|
@@ -113,7 +113,6 @@ files:
|
|
113
113
|
- PSFL
|
114
114
|
- README.md
|
115
115
|
- Rakefile
|
116
|
-
- TODO
|
117
116
|
- doc/text/how-to.md
|
118
117
|
- doc/text/news.md
|
119
118
|
- lib/test-unit.rb
|