test-unit 3.1.3 → 3.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/how-to.md +2 -0
- data/doc/text/news.md +20 -0
- data/lib/test/unit/code-snippet-fetcher.rb +1 -1
- data/lib/test/unit/collector/xml.rb +2 -3
- data/lib/test/unit/version.rb +1 -1
- data/sample/adder.rb +1 -1
- data/sample/subtracter.rb +1 -1
- data/sample/test_adder.rb +1 -1
- data/sample/test_subtracter.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: 57805613cde6a22cb8cf71430b2c0ecde57ac984
|
4
|
+
data.tar.gz: e5bdf146e30e219136e936f888987ea87e95ee1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57453b7fdd0cce483d76874b7b159d2c9a6b66b552dc3fcbc3038ca12b332d44d00019bd2e345daf18a4974828ec13936dabf339368bf748b2e4498b63d18251
|
7
|
+
data.tar.gz: 7fd93592e734a30c95b0591c477778c3ae9abf1dd70cc511b3b43dbdfcae1e532086742a252c7cc823aa2a46fd35a7750f584df870e7ff3f7f059b553077caca
|
data/doc/text/how-to.md
CHANGED
@@ -67,6 +67,8 @@ Here are the syntax of color scheme definitions:
|
|
67
67
|
...
|
68
68
|
...
|
69
69
|
|
70
|
+
| Definition | Description |
|
71
|
+
|-------------|------------------------------|
|
70
72
|
| SCHEME_NAME | the name of the color scheme |
|
71
73
|
| EVENT_NAME | success, failure, pending, omission, notification, error |
|
72
74
|
| COLOR_NAME | black, red, green, yellow, blue, magenta, cyan, white |
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,25 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 3.1.4 - 2015-09-26 {#version-3-1-4}
|
4
|
+
|
5
|
+
It's a minor improvement release.
|
6
|
+
|
7
|
+
### Improvements
|
8
|
+
|
9
|
+
* Updated sample code. [GitHub#109][Patch by takiy33]
|
10
|
+
* Updated .travis.yml. [GitHub#110][Patch by takiy33]
|
11
|
+
* document: Added table header in how to document.
|
12
|
+
[GitHub#111][Patch by takiy33]
|
13
|
+
* Removed duplicated code.
|
14
|
+
[GitHub#112][Patch by takiy33]
|
15
|
+
* Removed needless encoding conversion in fetching code snippet.
|
16
|
+
[GitHub#113][Patch by NARUSE, Yui]
|
17
|
+
|
18
|
+
### Thanks
|
19
|
+
|
20
|
+
* takiy33
|
21
|
+
* NARUSE, Yui
|
22
|
+
|
3
23
|
## 3.1.3 - 2015-07-26 {#version-3-1-3}
|
4
24
|
|
5
25
|
It's a bug fix release.
|
@@ -64,16 +64,15 @@ module Test
|
|
64
64
|
|
65
65
|
state = next_state(@state_stack.last, uri, local)
|
66
66
|
@state_stack.push(state)
|
67
|
+
@values = {}
|
67
68
|
case state
|
68
69
|
when :test_suite, :test_case
|
69
|
-
|
70
|
+
# do nothing
|
70
71
|
when :test
|
71
|
-
@values = {}
|
72
72
|
@n_pass_assertions = 0 if _parent_tag == "start-test"
|
73
73
|
when :backtrace
|
74
74
|
@backtrace = []
|
75
75
|
@values_backup = @values
|
76
|
-
@values = {}
|
77
76
|
end
|
78
77
|
end
|
79
78
|
|
data/lib/test/unit/version.rb
CHANGED
data/sample/adder.rb
CHANGED
data/sample/subtracter.rb
CHANGED
data/sample/test_adder.rb
CHANGED
data/sample/test_subtracter.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.4
|
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-09-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: power_assert
|