commit rubygem-parallel for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-parallel for openSUSE:Factory checked in at 2020-10-03 18:51:32 Comparing /work/SRC/openSUSE:Factory/rubygem-parallel (Old) and /work/SRC/openSUSE:Factory/.rubygem-parallel.new.4249 (New) Package is "rubygem-parallel" Sat Oct 3 18:51:32 2020 rev:5 rq:838062 version:1.19.2 Changes: --- /work/SRC/openSUSE:Factory/rubygem-parallel/rubygem-parallel.changes 2020-02-19 12:39:19.595484394 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-parallel.new.4249/rubygem-parallel.changes 2020-10-03 18:51:36.677222865 +0200 @@ -1,0 +2,6 @@ +Fri Sep 25 14:36:56 UTC 2020 - Stephan Kulow + +updated to version 1.19.2 + no changelog found + +--- Old: parallel-1.19.1.gem New: parallel-1.19.2.gem Other differences: -- ++ rubygem-parallel.spec ++ --- /var/tmp/diff_new_pack.gZfGjx/_old 2020-10-03 18:51:37.269223258 +0200 +++ /var/tmp/diff_new_pack.gZfGjx/_new 2020-10-03 18:51:37.273223261 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-parallel -Version:1.19.1 +Version:1.19.2 Release:0 %define mod_name parallel %define mod_full_name %{mod_name}-%{version} ++ parallel-1.19.1.gem -> parallel-1.19.2.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-11-22 16:57:20.0 +0100 +++ new/lib/parallel/version.rb 2020-06-17 02:12:32.0 +0200 @@ -1,3 +1,3 @@ module Parallel - VERSION = Version = '1.19.1' + VERSION = Version = '1.19.2' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/parallel.rb new/lib/parallel.rb --- old/lib/parallel.rb 2019-11-22 16:57:20.0 +0100 +++ new/lib/parallel.rb 2020-06-17 02:12:32.0 +0200 @@ -201,14 +201,15 @@ class << self def in_threads(options={:count => 2}) + threads = [] + count, _ = extract_count_from_options(options) + 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 +count.times do |i| + threads << Thread.new { yield(i) } +end threads.map(&:value) end ensure diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2019-11-22 16:57:20.0 +0100 +++ new/metadata2020-06-17 02:12:32.0 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: parallel version: !ruby/object:Gem::Version - version: 1.19.1 + version: 1.19.2 platform: ruby authors: - Michael Grosser autorequire: bindir: bin cert_chain: [] -date: 2019-11-22 00:00:00.0 Z +date: 2020-06-17 00:00:00.0 Z dependencies: [] description: email: mich...@grosser.it @@ -25,8 +25,8 @@ - MIT metadata: bug_tracker_uri: https://github.com/grosser/parallel/issues - documentation_uri: https://github.com/grosser/parallel/blob/v1.19.1/Readme.md - source_code_uri: https://github.com/grosser/parallel/tree/v1.19.1 + documentation_uri: https://github.com/grosser/parallel/blob/v1.19.2/Readme.md + source_code_uri: https://github.com/grosser/parallel/tree/v1.19.2 wiki_uri: https://github.com/grosser/parallel/wiki post_install_message: rdoc_options: [] @@ -43,7 +43,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.0.3 +rubygems_version: 3.1.3 signing_key: specification_version: 4 summary: Run any kind of code in parallel processes
commit rubygem-parallel for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-parallel for openSUSE:Factory checked in at 2020-02-19 12:39:18 Comparing /work/SRC/openSUSE:Factory/rubygem-parallel (Old) and /work/SRC/openSUSE:Factory/.rubygem-parallel.new.26092 (New) Package is "rubygem-parallel" Wed Feb 19 12:39:18 2020 rev:4 rq:773829 version:1.19.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-parallel/rubygem-parallel.changes 2019-06-12 13:00:36.789309841 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-parallel.new.26092/rubygem-parallel.changes 2020-02-19 12:39:19.595484394 +0100 @@ -1,0 +2,6 @@ +Mon Feb 10 15:21:21 UTC 2020 - Stephan Kulow + +- updated to version 1.19.1 + no changelog found + +--- Old: parallel-1.17.0.gem New: parallel-1.19.1.gem Other differences: -- ++ rubygem-parallel.spec ++ --- /var/tmp/diff_new_pack.45DXiX/_old 2020-02-19 12:39:20.179485519 +0100 +++ /var/tmp/diff_new_pack.45DXiX/_new 2020-02-19 12:39:20.183485526 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-parallel # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-parallel -Version:1.17.0 +Version:1.19.1 Release:0 %define mod_name parallel %define mod_full_name %{mod_name}-%{version} @@ -32,7 +32,7 @@ BuildRequires: %{ruby >= 2.2} BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 -Url:https://github.com/grosser/parallel +URL:https://github.com/grosser/parallel Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:Run any kind of code in parallel processes ++ parallel-1.17.0.gem -> parallel-1.19.1.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/processor_count.rb new/lib/parallel/processor_count.rb --- old/lib/parallel/processor_count.rb 2019-04-01 04:01:51.0 +0200 +++ new/lib/parallel/processor_count.rb 2019-11-22 16:57:20.0 +0100 @@ -1,16 +1,14 @@ require 'etc' module Parallel + # TODO: inline this method into parallel.rb and kill physical_processor_count in next major release module ProcessorCount -# Number of processors seen by the OS and used for process scheduling. It's just wrapper for Etc.nprocessors +# Number of processors seen by the OS, used for process scheduling def processor_count - @processor_count ||= begin -Etc.nprocessors - end + @processor_count ||= Integer(ENV['PARALLEL_PROCESSOR_COUNT'] || Etc.nprocessors) end # Number of physical processor cores on the current system. -# def physical_processor_count @physical_processor_count ||= begin ppc = case RbConfig::CONFIG["target_os"] 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-04-01 04:01:51.0 +0200 +++ new/lib/parallel/version.rb 2019-11-22 16:57:20.0 +0100 @@ -1,3 +1,3 @@ module Parallel - VERSION = Version = '1.17.0' + VERSION = Version = '1.19.1' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/parallel.rb new/lib/parallel.rb --- old/lib/parallel.rb 2019-04-01 04:01:51.0 +0200 +++ new/lib/parallel.rb 2019-11-22 16:57:20.0 +0100 @@ -469,7 +469,10 @@ item, index = job_factory.unpack(data) result = begin call_with_index(item, index, options, ) -rescue +# https://github.com/rspec/rspec-support/blob/673133cdd13b17077b3d88ece8d7380821f8d7dc/lib/rspec/support.rb#L132-L140 +rescue NoMemoryError, SignalException, Interrupt, SystemExit + raise $! +rescue Exception ExceptionWrapper.new($!) end begin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2019-04-01 04:01:51.0 +0200 +++ new/metadata2019-11-22 16:57:20.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: parallel version: !ruby/object:Gem::Version - version: 1.17.0 + version: 1.19.1 platform: ruby authors: - Michael Grosser autorequire: bindir: bin cert_chain: [] -date: 2019-04-01
commit rubygem-parallel for openSUSE:Factory
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 + +- 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.0 +0100 +++ new/lib/parallel/version.rb 2019-04-01 04:01:51.0 +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.0 +0100 +++ new/lib/parallel.rb 2019-04-01 04:01:51.0 +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 = {}, ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2019-03-29 04:53:54.0 +0100 +++ new/metadata2019-04-01 04:01:51.0 +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.0 Z +date: 2019-04-01 00:00:00.0 Z dependencies: [] description: email: mich...@grosser.it
commit rubygem-parallel for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-parallel for openSUSE:Factory checked in at 2019-04-03 09:24:22 Comparing /work/SRC/openSUSE:Factory/rubygem-parallel (Old) and /work/SRC/openSUSE:Factory/.rubygem-parallel.new.25356 (New) Package is "rubygem-parallel" Wed Apr 3 09:24:22 2019 rev:2 rq:689701 version:1.16.2 Changes: --- /work/SRC/openSUSE:Factory/rubygem-parallel/rubygem-parallel.changes 2018-06-19 11:51:57.604103736 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-parallel.new.25356/rubygem-parallel.changes 2019-04-03 09:24:30.951716347 +0200 @@ -1,0 +2,12 @@ +Fri Mar 29 06:10:13 UTC 2019 - Stephan Kulow + +- updated to version 1.16.2 + no changelog found + +--- +Sat Mar 2 15:29:25 UTC 2019 - Stephan Kulow + +- updated to version 1.14.0 + no changelog found + +--- Old: parallel-1.12.1.gem New: parallel-1.16.2.gem Other differences: -- ++ rubygem-parallel.spec ++ --- /var/tmp/diff_new_pack.9tKg5u/_old 2019-04-03 09:24:33.595717592 +0200 +++ /var/tmp/diff_new_pack.9tKg5u/_new 2019-04-03 09:24:33.631717609 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-parallel # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,12 +24,12 @@ # Name: rubygem-parallel -Version:1.12.1 +Version:1.16.2 Release:0 %define mod_name parallel %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{ruby >= 1.9.3} +BuildRequires: %{ruby >= 2.2} BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 Url:https://github.com/grosser/parallel ++ parallel-1.12.1.gem -> parallel-1.16.2.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/processor_count.rb new/lib/parallel/processor_count.rb --- old/lib/parallel/processor_count.rb 2017-12-16 03:25:11.0 +0100 +++ new/lib/parallel/processor_count.rb 2019-03-29 04:53:54.0 +0100 @@ -1,60 +1,11 @@ -if RUBY_VERSION.to_f >= 2.2 - require 'etc' -end +require 'etc' module Parallel module ProcessorCount -# Number of processors seen by the OS and used for process scheduling. -# -# * AIX: /usr/sbin/pmcycles (AIX 5+), /usr/sbin/lsdev -# * BSD: /sbin/sysctl -# * Cygwin: /proc/cpuinfo -# * Darwin: /usr/bin/hwprefs, /usr/sbin/sysctl -# * HP-UX: /usr/sbin/ioscan -# * IRIX: /usr/sbin/sysconf -# * Linux: /proc/cpuinfo -# * Minix 3+: /proc/cpuinfo -# * Solaris: /usr/sbin/psrinfo -# * Tru64 UNIX: /usr/sbin/psrinfo -# * UnixWare: /usr/sbin/psrinfo -# +# Number of processors seen by the OS and used for process scheduling. It's just wrapper for Etc.nprocessors def processor_count @processor_count ||= begin -if defined?(Etc) && Etc.respond_to?(:nprocessors) - Etc.nprocessors -else - os_name = RbConfig::CONFIG["target_os"] - if os_name =~ /mingw|mswin/ -require 'win32ole' -result = WIN32OLE.connect("winmgmts://").ExecQuery( - "select NumberOfLogicalProcessors from Win32_Processor") -result.to_enum.collect(&:NumberOfLogicalProcessors).reduce(:+) - elsif File.readable?("/proc/cpuinfo") -IO.read("/proc/cpuinfo").scan(/^processor/).size - elsif File.executable?("/usr/bin/hwprefs") -IO.popen("/usr/bin/hwprefs thread_count").read.to_i - elsif File.executable?("/usr/sbin/psrinfo") -IO.popen("/usr/sbin/psrinfo").read.scan(/^.*on-*line/).size - elsif File.executable?("/usr/sbin/ioscan") -IO.popen("/usr/sbin/ioscan -kC processor") do |out| - out.read.scan(/^.*processor/).size -end - elsif File.executable?("/usr/sbin/pmcycles") -IO.popen("/usr/sbin/pmcycles -m").read.count("\n") - elsif File.executable?("/usr/sbin/lsdev") -IO.popen("/usr/sbin/lsdev -Cc processor -S