minitest-sub_test_case 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -5
- data/CHANGELOG.md +7 -1
- data/lib/minitest/sub_test_case.rb +9 -0
- data/lib/minitest/sub_test_case/version.rb +1 -1
- data/minitest-sub_test_case.gemspec +3 -3
- metadata +15 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c45ae43ad673c7115ab49ba32f034bc57ec16c6848c9cf113163b3639ae3407
|
4
|
+
data.tar.gz: c960311a774b3aa85758b5361b8024ad75b8db187c5dc8ab96d4eb4f0eb77cc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a09d1aa3cc9e9fea4350e9edec83d976509f8d2bccf2531c17919394c14eb7b9d6447c61452b7d6191f059c42ee017b82b2e0ccf76ac63e9d138d09e1f70a71
|
7
|
+
data.tar.gz: 7a2726ad0704b942f8e22b2ca5de78b2c1a31f856994df080f3fe4264304e8b76baf35b19aaed37ea36a19ff3f489fc098bc50c89c0b94a323173f0ac6797563
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
## [v0.1.
|
1
|
+
## [v0.1.2 (2019-04-05)](https://github.com/y-yagi/minitest-sub_test_case/releases/tag/v0.1.2)
|
2
|
+
|
3
|
+
**Implemented enhancements:**
|
4
|
+
|
5
|
+
* Support marshaling of sub test case. [\#7](https://github.com/y-yagi/minitest-sub_test_case/pull/7)
|
6
|
+
|
7
|
+
## [v0.1.1 (2018-03-21)](https://github.com/y-yagi/minitest-sub_test_case/releases/tag/v0.1.1)
|
2
8
|
|
3
9
|
**Implemented enhancements:**
|
4
10
|
|
@@ -24,6 +24,15 @@ module Minitest
|
|
24
24
|
loc = " [#{self.failure.location}]" unless passed? or error?
|
25
25
|
"#{self.class.class_name}##{self.name}#{loc}"
|
26
26
|
end
|
27
|
+
|
28
|
+
# NOTE: These methods need for Rails's parallel testing that uses DRb.
|
29
|
+
define_method(:marshal_dump) do
|
30
|
+
[self.name]
|
31
|
+
end
|
32
|
+
|
33
|
+
define_method(:marshal_load) do |ary|
|
34
|
+
self.name = ary
|
35
|
+
end
|
27
36
|
end
|
28
37
|
|
29
38
|
sub_test_case.class_eval(&block)
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
|
23
|
-
spec.add_development_dependency "bundler"
|
24
|
-
spec.add_development_dependency "rake"
|
25
|
-
spec.add_development_dependency "minitest"
|
23
|
+
spec.add_development_dependency "bundler"
|
24
|
+
spec.add_development_dependency "rake"
|
25
|
+
spec.add_development_dependency "minitest"
|
26
26
|
end
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-sub_test_case
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuji Yaginuma
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
description:
|
56
56
|
email:
|
57
57
|
- yuuji.yaginuma@gmail.com
|
@@ -91,8 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '0'
|
93
93
|
requirements: []
|
94
|
-
|
95
|
-
rubygems_version: 2.7.6
|
94
|
+
rubygems_version: 3.0.2
|
96
95
|
signing_key:
|
97
96
|
specification_version: 4
|
98
97
|
summary: minitest-sub_test_case makes sub_test_case available in minitest/test.
|