Hello community,

here is the log from the commit of package rubygem-parallel for 
openSUSE:Factory checked in at 2019-06-12 13:00:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-parallel (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-parallel.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-parallel"

Wed Jun 12 13:00:34 2019 rev:3 rq:706013 version:1.17.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-parallel/rubygem-parallel.changes        
2019-04-03 09:24:30.951716347 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-parallel.new.4811/rubygem-parallel.changes  
    2019-06-12 13:00:36.789309841 +0200
@@ -1,0 +2,6 @@
+Sun May  5 09:38:16 UTC 2019 - Stephan Kulow <co...@suse.com>
+
+- updated to version 1.17.0
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  parallel-1.16.2.gem

New:
----
  parallel-1.17.0.gem

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

Other differences:
------------------
++++++ rubygem-parallel.spec ++++++
--- /var/tmp/diff_new_pack.WcJWe2/_old  2019-06-12 13:00:37.389309708 +0200
+++ /var/tmp/diff_new_pack.WcJWe2/_new  2019-06-12 13:00:37.393309707 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-parallel
-Version:        1.16.2
+Version:        1.17.0
 Release:        0
 %define mod_name parallel
 %define mod_full_name %{mod_name}-%{version}

++++++ parallel-1.16.2.gem -> parallel-1.17.0.gem ++++++
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/version.rb new/lib/parallel/version.rb
--- old/lib/parallel/version.rb 2019-03-29 04:53:54.000000000 +0100
+++ new/lib/parallel/version.rb 2019-04-01 04:01:51.000000000 +0200
@@ -1,3 +1,3 @@
 module Parallel
-  VERSION = Version = '1.16.2'
+  VERSION = Version = '1.17.0'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parallel.rb new/lib/parallel.rb
--- old/lib/parallel.rb 2019-03-29 04:53:54.000000000 +0100
+++ new/lib/parallel.rb 2019-04-01 04:01:51.000000000 +0200
@@ -201,13 +201,20 @@
 
   class << self
     def in_threads(options={:count => 2})
-      count, _ = extract_count_from_options(options)
-      threads = Array.new(count) do |i|
-        Thread.new { yield(i) }
+      Thread.handle_interrupt(Exception => :never) do
+        begin
+          threads = []
+          count, _ = extract_count_from_options(options)
+          count.times do |i|
+            threads << Thread.new { yield(i) }
+          end
+          Thread.handle_interrupt(Exception => :immediate) do
+            threads.map(&:value)
+          end
+        ensure
+          threads.each(&:kill)
+        end
       end
-      threads.map(&:value)
-    ensure
-      threads.each(&:kill)
     end
 
     def in_processes(options = {}, &block)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2019-03-29 04:53:54.000000000 +0100
+++ new/metadata        2019-04-01 04:01:51.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: parallel
 version: !ruby/object:Gem::Version
-  version: 1.16.2
+  version: 1.17.0
 platform: ruby
 authors:
 - Michael Grosser
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-03-29 00:00:00.000000000 Z
+date: 2019-04-01 00:00:00.000000000 Z
 dependencies: []
 description: 
 email: mich...@grosser.it


Reply via email to