minitest-parallel_fork 1.3.0 → 1.3.1

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: b7def66702fe6ea3e7cf52578a812f0ecdbb4b3545c2bd4d04ee5ff73a417af5
4
- data.tar.gz: 138a5104f9f344284e806a6b90deb20d61fdf2b16562488b8afc3917f9d8738d
3
+ metadata.gz: bdbf96cdc1b208955148ed3e6ccba3d93542785b6e0c628a9b73acad4bcc0614
4
+ data.tar.gz: 18a0e8ed8d41d9c2d36d8927939d3b8865264b363df7194fefe1cb8238cecac3
5
5
  SHA512:
6
- metadata.gz: cbc75286347260d6a6cd54e3c8bb1c21f1cd3c9c24c2e843a3942ab7056fc53e4ee092a4a65cb66e52816433a96dfbdfd338b871e334acc1e973fa80ad184d6c
7
- data.tar.gz: f882ac98930a53fa6ec7d02b3edf50bf9a34b3bb7ce17f72b834879313df0f251c9aa23ea45b5cb1f4d02e969933728dca5ec7f1e8898c3c4cc9b2e7d95fe487
6
+ metadata.gz: 874cd2b108f8f52135e6ea193dd5bb46b9416247dafab76e135a02456cc456a499c05f140aca081b9bf6f5a7c27affdd553cf752d51d8f7513ff150a1dca2d5d
7
+ data.tar.gz: ad5e405c811f861ae524a56c9d7e1d9bb397f4421898d5a103dddc646747b1c6dd5f02d20aafc2e0b40397308e4a897fb13611f3d9615c9d25766e309492ec85
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ === 1.3.1 (2023-09-25)
2
+
3
+ * Bump required_ruby_version to 2.2, since that is lowest version supported by minitest 5.15.0 (jeremyevans)
4
+
5
+ * Update count and assertions for all configured statistics reporters, not just the first (akimd) (#10)
6
+
1
7
  === 1.3.0 (2022-07-05)
2
8
 
3
9
  * Bump minimum minitest version to 5.15.0 (jeremyevans)
@@ -76,9 +76,12 @@ module Minitest
76
76
  end
77
77
  raise
78
78
  end
79
- stat_reporter.count += count
80
- stat_reporter.assertions += assertions
81
- stat_reporter.results.concat(results)
79
+ reporter.reporters.each do |rep|
80
+ next unless %w'count assertions results count= assertions='.all?{|meth| rep.respond_to?(meth)}
81
+ rep.count += count
82
+ rep.assertions += assertions
83
+ rep.results.concat(results)
84
+ end
82
85
  end
83
86
 
84
87
  nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-parallel_fork
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Evans
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-05 00:00:00.000000000 Z
11
+ date: 2023-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -79,7 +79,7 @@ metadata:
79
79
  changelog_uri: https://github.com/jeremyevans/minitest-parallel_fork/blob/master/CHANGELOG
80
80
  mailing_list_uri: https://github.com/jeremyevans/minitest-parallel_fork/discussions
81
81
  source_code_uri: https://github.com/jeremyevans/minitest-parallel_fork
82
- post_install_message:
82
+ post_install_message:
83
83
  rdoc_options:
84
84
  - "--quiet"
85
85
  - "--line-numbers"
@@ -94,15 +94,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - ">="
96
96
  - !ruby/object:Gem::Version
97
- version: '0'
97
+ version: '2.2'
98
98
  required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.3.7
105
- signing_key:
104
+ rubygems_version: 3.4.10
105
+ signing_key:
106
106
  specification_version: 4
107
107
  summary: Fork-based parallelization for minitest
108
108
  test_files: []