parallel_tests 4.7.0 → 4.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24dc3cca9e186c8d0f50a1a9e4b5fb0e9e9e25f7b42df4108cbaa697165f509f
4
- data.tar.gz: 2685a07430f93fbad45300ae897472c806d68faa6cfbdb5fc573e41ec96639b5
3
+ metadata.gz: b091de564b1cd9f2c57b94dd973bceea01f7722e4c6bafbe71e6b75c7a265421
4
+ data.tar.gz: bf14a02a03bef8046e2973a904701f03b10bdae1ef8a84654511c18631efe179
5
5
  SHA512:
6
- metadata.gz: c26d0cd7643ce0b728d6a2d482e319b6ea4fd13f168e7a64bf00ad0c18355eaf4bb93ce42b05c239b2b385c6ef1e0b56aafe56117d072081ee61bb0ced066866
7
- data.tar.gz: 67e6cedb8619d5c8cd094e4ae365372b93c6a806b084f04e3f24e621cb4a7cb077d3095a3d30951298e316c9d75d8020719efea54d8114387171816eaf7997c4
6
+ metadata.gz: d4d7df8aed6d01ba8a9b98064a4c88ad7b88270884d9b5f24c34c2094772974c81fef357c9534e97265e57603b780c9b61af4b1a70a32ae6891ba87256633dfd
7
+ data.tar.gz: a0f0e19e7d02d3046f41ebe8c51a72056bd840d25b54947564b5b015df8946f0e4b0c86920b3cabca7ff1a82f29dcbb44e53daeaf92ae3721de29b6388c92fe0
data/Readme.md CHANGED
@@ -284,7 +284,9 @@ Options are:
284
284
  --first-is-1 Use "1" as TEST_ENV_NUMBER to not reuse the default test environment
285
285
  --fail-fast Stop all groups when one group fails (best used with --test-options '--fail-fast' if supported
286
286
  --verbose Print debug output
287
- --verbose-command Displays the command that will be executed by each process and when there are failures displays the command executed by each process that failed
287
+ --verbose-command Combines options --verbose-process-command and --verbose-rerun-command
288
+ --verbose-process-command Print the command that will be executed by each process before it begins
289
+ --verbose-rerun-command After a process fails, print the command executed by that process
288
290
  --quiet Print only tests output
289
291
  -v, --version Show Version
290
292
  -h, --help Show this.
@@ -440,6 +442,7 @@ inspired by [pivotal labs](https://blog.pivotal.io/labs/labs/parallelize-your-rs
440
442
  - [Adis Osmonov](https://github.com/adis-io)
441
443
  - [Josh Westbrook](https://github.com/joshwestbrook)
442
444
  - [Jay Dorsey](https://github.com/jaydorsey)
445
+ - [hatsu](https://github.com/hatsu38)
443
446
 
444
447
  [Michael Grosser](http://grosser.it)<br/>
445
448
  michael@grosser.it<br/>
@@ -146,7 +146,7 @@ module ParallelTests
146
146
  failing_sets = test_results.reject { |r| r[:exit_status] == 0 }
147
147
  return if failing_sets.none?
148
148
 
149
- if options[:verbose] || options[:verbose_command]
149
+ if options[:verbose] || options[:verbose_rerun_command]
150
150
  puts "\n\nTests have failed for a parallel_test group. Use the following command to run the group again:\n\n"
151
151
  failing_sets.each do |failing_set|
152
152
  command = failing_set[:command]
@@ -291,7 +291,9 @@ module ParallelTests
291
291
  opts.on("--first-is-1", "Use \"1\" as TEST_ENV_NUMBER to not reuse the default test environment") { options[:first_is_1] = true }
292
292
  opts.on("--fail-fast", "Stop all groups when one group fails (best used with --test-options '--fail-fast' if supported") { options[:fail_fast] = true }
293
293
  opts.on("--verbose", "Print debug output") { options[:verbose] = true }
294
- opts.on("--verbose-command", "Displays the command that will be executed by each process and when there are failures displays the command executed by each process that failed") { options[:verbose_command] = true }
294
+ opts.on("--verbose-command", "Combines options --verbose-process-command and --verbose-rerun-command") { options.merge! verbose_process_command: true, verbose_rerun_command: true }
295
+ opts.on("--verbose-process-command", "Print the command that will be executed by each process before it begins") { options[:verbose_process_command] = true }
296
+ opts.on("--verbose-rerun-command", "After a process fails, print the command executed by that process") { options[:verbose_rerun_command] = true }
295
297
  opts.on("--quiet", "Print only tests output") { options[:quiet] = true }
296
298
  opts.on("-v", "--version", "Show Version") do
297
299
  puts ParallelTests::VERSION
@@ -293,7 +293,7 @@ module ParallelTests
293
293
  end
294
294
 
295
295
  def report_process_command?(options)
296
- options[:verbose] || options[:verbose_command]
296
+ options[:verbose] || options[:verbose_process_command]
297
297
  end
298
298
  end
299
299
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ParallelTests
3
- VERSION = '4.7.0'
3
+ VERSION = '4.7.1'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.0
4
+ version: 4.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-23 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel
@@ -69,8 +69,8 @@ licenses:
69
69
  - MIT
70
70
  metadata:
71
71
  bug_tracker_uri: https://github.com/grosser/parallel_tests/issues
72
- documentation_uri: https://github.com/grosser/parallel_tests/blob/v4.7.0/Readme.md
73
- source_code_uri: https://github.com/grosser/parallel_tests/tree/v4.7.0
72
+ documentation_uri: https://github.com/grosser/parallel_tests/blob/v4.7.1/Readme.md
73
+ source_code_uri: https://github.com/grosser/parallel_tests/tree/v4.7.1
74
74
  wiki_uri: https://github.com/grosser/parallel_tests/wiki
75
75
  post_install_message:
76
76
  rdoc_options: []