Hello community,

here is the log from the commit of package rubygem-parallel_tests for 
openSUSE:Factory checked in at 2018-10-01 09:03:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-parallel_tests (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-parallel_tests.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-parallel_tests"

Mon Oct  1 09:03:55 2018 rev:2 rq:636989 version:2.22.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-parallel_tests/rubygem-parallel_tests.changes
    2018-06-19 11:51:45.112567529 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-parallel_tests.new/rubygem-parallel_tests.changes
       2018-10-01 09:03:58.303967698 +0200
@@ -1,0 +2,6 @@
+Wed Sep  5 10:33:57 UTC 2018 - [email protected]
+
+- updated to version 2.22.1
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  parallel_tests-2.21.3.gem

New:
----
  parallel_tests-2.22.1.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-parallel_tests.spec ++++++
--- /var/tmp/diff_new_pack.IxZTzW/_old  2018-10-01 09:03:58.839967234 +0200
+++ /var/tmp/diff_new_pack.IxZTzW/_new  2018-10-01 09:03:58.843967231 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-parallel_tests
-Version:        2.21.3
+Version:        2.22.1
 Release:        0
 %define mod_name parallel_tests
 %define mod_full_name %{mod_name}-%{version}

++++++ parallel_tests-2.21.3.gem -> parallel_tests-2.22.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Readme.md new/Readme.md
--- old/Readme.md       2018-03-22 03:20:32.000000000 +0100
+++ new/Readme.md       2018-09-03 17:54:35.000000000 +0200
@@ -113,7 +113,7 @@
     --format progress
     --format ParallelTests::RSpec::RuntimeLogger --out 
tmp/parallel_runtime_rspec.log
 
-To use a custom logfile location (default: `tmp/parallel_runtime_spec.log`), 
use the CLI: `parallel_test spec -t rspec --runtime-log my.log`
+To use a custom logfile location (default: `tmp/parallel_runtime_rspec.log`), 
use the CLI: `parallel_test spec -t rspec --runtime-log my.log`
 
 ### Test::Unit & Minitest 4/5
 
@@ -224,6 +224,7 @@
         --allowed-missing            Allowed percentage of missing runtimes 
(default = 50)
         --unknown-runtime [FLOAT]    Use given number as unknown runtime 
(otherwise use average time)
         --verbose                    Print more output
+        --quiet                      Do not print anything, appart from test 
output
     -v, --version                    Show Version
     -h, --help                       Show this.
 
@@ -279,7 +280,7 @@
  - [Sphinx setup](https://github.com/grosser/parallel_tests/wiki)
  - [Capistrano 
setup](https://github.com/grosser/parallel_tests/wiki/Remotely-with-capistrano) 
let your tests run on a big box instead of your laptop
 
-Contribute your own gotaches to the 
[Wiki](https://github.com/grosser/parallel_tests/wiki) or even better open a PR 
:)
+Contribute your own gotchas to the 
[Wiki](https://github.com/grosser/parallel_tests/wiki) or even better open a PR 
:)
 
 TODO
 ====
@@ -369,6 +370,7 @@
  - [Aleksei Gusev](https://github.com/hron)
  - [Scott Olsen](https://github.com/scottolsen)
  - [Andrei Botalov](https://github.com/abotalov)
+ - [Zachary Attas](https://github.com/snackattas)
 
 [Michael Grosser](http://grosser.it)<br/>
 [email protected]<br/>
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parallel_tests/cli.rb 
new/lib/parallel_tests/cli.rb
--- old/lib/parallel_tests/cli.rb       2018-03-22 03:20:32.000000000 +0100
+++ new/lib/parallel_tests/cli.rb       2018-09-03 17:54:35.000000000 +0200
@@ -58,25 +58,31 @@
     def run_tests_in_parallel(num_processes, options)
       test_results = nil
 
-      report_time_taken do
+      run_tests_proc = -> {
         groups = @runner.tests_in_groups(options[:files], num_processes, 
options)
         groups.reject! &:empty?
 
         test_results = if options[:only_group]
           groups_to_run = options[:only_group].collect{|i| groups[i - 
1]}.compact
-          report_number_of_tests(groups_to_run)
+          report_number_of_tests(groups_to_run) unless options[:quiet]
           execute_in_parallel(groups_to_run, groups_to_run.size, options) do 
|group|
             run_tests(group, groups_to_run.index(group), 1, options)
           end
         else
-          report_number_of_tests(groups)
+          report_number_of_tests(groups) unless options[:quiet]
 
           execute_in_parallel(groups, groups.size, options) do |group|
             run_tests(group, groups.index(group), num_processes, options)
           end
         end
 
-        report_results(test_results, options)
+        report_results(test_results, options) unless options[:quiet]
+      }
+
+      if options[:quiet]
+        run_tests_proc.call
+      else
+        report_time_taken(&run_tests_proc)
       end
 
       abort final_fail_message if any_test_failed?(test_results)
@@ -215,11 +221,16 @@
         opts.on("--allowed-missing [INT]", Integer, "Allowed percentage of 
missing runtimes (default = 50)") { |percent| options[:allowed_missing_percent] 
= percent }
         opts.on("--unknown-runtime [FLOAT]", Float, "Use given number as 
unknown runtime (otherwise use average time)") { |time| 
options[:unknown_runtime] = time }
         opts.on("--first-is-1", "Use \"1\" as TEST_ENV_NUMBER to not reuse the 
default test environment") { options[:first_is_1] = true }
-        opts.on("--verbose", "Print more output") { options[:verbose] = true }
+        opts.on("--verbose", "Print more output (mutually exclusive with 
quiet)") { options[:verbose] = true }
+        opts.on("--quiet", "Print tests output only (mutually exclusive with 
verbose)") { options[:quiet] = true }
         opts.on("-v", "--version", "Show Version") { puts 
ParallelTests::VERSION; exit }
         opts.on("-h", "--help", "Show this.") { puts opts; exit }
       end.parse!(argv)
 
+      if options[:verbose] && options[:quiet]
+        raise "Both options are mutually exclusive: verbose & quiet"
+      end
+
       if options[:count] == 0
         options.delete(:count)
         options[:non_parallel] = true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parallel_tests/test/runner.rb 
new/lib/parallel_tests/test/runner.rb
--- old/lib/parallel_tests/test/runner.rb       2018-03-22 03:20:32.000000000 
+0100
+++ new/lib/parallel_tests/test/runner.rb       2018-09-03 17:54:35.000000000 
+0200
@@ -175,7 +175,7 @@
             allowed_missing -= 1 unless time = runtimes[test]
             if allowed_missing < 0
               log = options[:runtime_log] || runtime_log
-              raise "Runtime log file '#{log}' does not cointain sufficient 
data to sort #{tests.size} test files, please update it."
+              raise "Runtime log file '#{log}' does not contain sufficient 
data to sort #{tests.size} test files, please update it."
             end
             [test, time]
           end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parallel_tests/version.rb 
new/lib/parallel_tests/version.rb
--- old/lib/parallel_tests/version.rb   2018-03-22 03:20:32.000000000 +0100
+++ new/lib/parallel_tests/version.rb   2018-09-03 17:54:35.000000000 +0200
@@ -1,3 +1,3 @@
 module ParallelTests
-  VERSION = Version = '2.21.3'
+  VERSION = Version = '2.22.1'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2018-03-22 03:20:32.000000000 +0100
+++ new/metadata        2018-09-03 17:54:35.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: parallel_tests
 version: !ruby/object:Gem::Version
-  version: 2.21.3
+  version: 2.22.1
 platform: ruby
 authors:
 - Michael Grosser
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2018-03-22 00:00:00.000000000 Z
+date: 2018-09-03 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: parallel
@@ -82,7 +82,7 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.7.3
+rubygems_version: 2.7.6
 signing_key: 
 specification_version: 4
 summary: Run Test::Unit / RSpec / Cucumber / Spinach in parallel


Reply via email to