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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c8c92ec2b7e01aba07ba2ad6c1a6bb8c157bf27a15e2146705f22e6a455ad64
4
- data.tar.gz: 82f1d910047d5022f19e158752371d50c74d6ebc8799e73d5ea2fefc2f4bb8d5
3
+ metadata.gz: 5c45ae43ad673c7115ab49ba32f034bc57ec16c6848c9cf113163b3639ae3407
4
+ data.tar.gz: c960311a774b3aa85758b5361b8024ad75b8db187c5dc8ab96d4eb4f0eb77cc4
5
5
  SHA512:
6
- metadata.gz: 1f7c39855f3010468ef33b416b8d62ec16c7b04b16a229d5170d4c52542111d7b52d93990727291eaa8528ba8c77144468ce23ef1db7caf57813a888da7a021b
7
- data.tar.gz: 057e21f3d05a373ae394e1de50c56a6e415b50f1cfe992919b31cc2982803ee7444030943d0b0b51a8cd485f0719993cde4f9451af9707be01a2e1a2e1c648f0
6
+ metadata.gz: 2a09d1aa3cc9e9fea4350e9edec83d976509f8d2bccf2531c17919394c14eb7b9d6447c61452b7d6191f059c42ee017b82b2e0ccf76ac63e9d138d09e1f70a71
7
+ data.tar.gz: 7a2726ad0704b942f8e22b2ca5de78b2c1a31f856994df080f3fe4264304e8b76baf35b19aaed37ea36a19ff3f489fc098bc50c89c0b94a323173f0ac6797563
@@ -1,7 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.8
4
- - 2.3.5
5
- - 2.4.2
6
- - 2.5.0
7
- before_install: gem install bundler
3
+ - 2.2.10
4
+ - 2.3.8
5
+ - 2.4.5
6
+ - 2.5.3
7
+ - 2.6.0
8
+ before_install: gem install bundler || gem install bundler -v 1.17.3
@@ -1,4 +1,10 @@
1
- ## [v0.1.1 (2018-03-21)](https://github.com/y-yagi/minitest-sub_test_case/tree/HEAD)
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)
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module SubTestCase
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -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", "~> 1.13"
24
- spec.add_development_dependency "rake", "~> 10.0"
25
- spec.add_development_dependency "minitest", "~> 5.0"
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.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: 2018-03-21 00:00:00.000000000 Z
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: '1.13'
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: '1.13'
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: '10.0'
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: '10.0'
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: '5.0'
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: '5.0'
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
- rubyforge_project:
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.