test-unit 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +7 -0
- data/doc/text/news.md +15 -1
- data/lib/test/unit/assertions.rb +1 -1
- 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: 8e6b544b3144722c004c82e6aec550775d7e477b
|
4
|
+
data.tar.gz: 2ae270b66e51a35b413e1c58f6f1d96da4891b6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9121cd8bccc8b1d5443a4342e903ae26cd041f6c27a1cdae2a2dd066eef66f210428d2442d41c096e648ca22bbe95f3c789e114cc2f4b1e28ed1136ed39e8b5b
|
7
|
+
data.tar.gz: 0b5abeee584291058af1df9dee96e0379a547d194f4bddd90866e4379f2446f6450d35e761475aba8b078c0361114c51fd8c361fb366db4803741e8d04afd35c
|
data/Rakefile
CHANGED
@@ -45,6 +45,13 @@ document_task = Packnga::DocumentTask.new(spec) do |task|
|
|
45
45
|
end
|
46
46
|
|
47
47
|
Packnga::ReleaseTask.new(spec) do |task|
|
48
|
+
test_unit_github_io_dir_candidates = [
|
49
|
+
"../../www/test-unit.github.io",
|
50
|
+
]
|
51
|
+
test_unit_github_io_dir = test_unit_github_io_dir_candidates.find do |dir|
|
52
|
+
File.directory?(dir)
|
53
|
+
end
|
54
|
+
task.index_html_dir = test_unit_github_io_dir
|
48
55
|
end
|
49
56
|
|
50
57
|
def rake(*arguments)
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 3.0.1 - 2014-08-05 {#version-3-0-1}
|
4
|
+
|
5
|
+
It's a minor update release.
|
6
|
+
|
7
|
+
### Improvements
|
8
|
+
|
9
|
+
* Improved Ruby 1.8.7 support. Note that we don't support Ruby 1.8.7
|
10
|
+
actively. We just support if its support is painless.
|
11
|
+
[GitHub#71][Patch by estolfo]
|
12
|
+
|
13
|
+
### Thanks
|
14
|
+
|
15
|
+
* estolfo
|
16
|
+
|
3
17
|
## 3.0.0 - 2014-08-03 {#version-3-0-0}
|
4
18
|
|
5
19
|
It's Power Assert supported release!
|
@@ -26,7 +40,7 @@ It's Power Assert supported release!
|
|
26
40
|
* Made license field in RubyGems parseable.
|
27
41
|
[GitHub#60][Patch by Michael Grosser]
|
28
42
|
* Improved test case match feature by `--testcase` and `--ignore-testcase`
|
29
|
-
options. They also checks parent class names.
|
43
|
+
options. They also checks parent class names.
|
30
44
|
* Made inspected representation of Numeric objects especially
|
31
45
|
BigDecimal more readable. [GitHub#64][Reported by Byron Appelt]
|
32
46
|
* Added badges for Traivs CI and RubyGems.
|
data/lib/test/unit/assertions.rb
CHANGED
@@ -132,7 +132,7 @@ module Test
|
|
132
132
|
if block
|
133
133
|
message = object if have_object
|
134
134
|
if defined?(PowerAssert)
|
135
|
-
PowerAssert.start(block, assertion_method
|
135
|
+
PowerAssert.start(block, :assertion_method => __callee__) do |pa|
|
136
136
|
pa_message = AssertionMessage.delayed_literal(&pa.message_proc)
|
137
137
|
assertion_message = build_message(message, "?", pa_message)
|
138
138
|
assert_block(assertion_message) do
|
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.0.
|
4
|
+
version: 3.0.1
|
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: 2014-08-
|
12
|
+
date: 2014-08-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: power_assert
|