Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-rb-kqueue for openSUSE:Factory checked in at 2022-02-03 23:15:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-rb-kqueue (Old) and /work/SRC/openSUSE:Factory/.rubygem-rb-kqueue.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rb-kqueue" Thu Feb 3 23:15:39 2022 rev:5 rq:950646 version:0.2.7 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-rb-kqueue/rubygem-rb-kqueue.changes 2021-07-04 22:10:30.445338331 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rb-kqueue.new.1898/rubygem-rb-kqueue.changes 2022-02-03 23:15:49.420884225 +0100 @@ -1,0 +2,6 @@ +Tue Jan 25 07:25:09 UTC 2022 - Stephan Kulow <co...@suse.com> + +updated to version 0.2.7 + no changelog found + +------------------------------------------------------------------- Old: ---- rb-kqueue-0.2.6.gem New: ---- rb-kqueue-0.2.7.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-rb-kqueue.spec ++++++ --- /var/tmp/diff_new_pack.aTSkpV/_old 2022-02-03 23:15:50.176879064 +0100 +++ /var/tmp/diff_new_pack.aTSkpV/_new 2022-02-03 23:15:50.180879037 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rb-kqueue # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 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-rb-kqueue -Version: 0.2.6 +Version: 0.2.7 Release: 0 %define mod_name rb-kqueue %define mod_full_name %{mod_name}-%{version} ++++++ rb-kqueue-0.2.6.gem -> rb-kqueue-0.2.7.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/rb-kqueue/version.rb new/lib/rb-kqueue/version.rb --- old/lib/rb-kqueue/version.rb 2021-04-14 18:15:10.000000000 +0200 +++ new/lib/rb-kqueue/version.rb 2021-08-28 00:11:37.000000000 +0200 @@ -1,3 +1,3 @@ module KQueue - VERSION = [0, 2, 6] + VERSION = [0, 2, 7] end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rb-kqueue/watcher/file.rb new/lib/rb-kqueue/watcher/file.rb --- old/lib/rb-kqueue/watcher/file.rb 2021-04-14 18:15:10.000000000 +0200 +++ new/lib/rb-kqueue/watcher/file.rb 2021-08-28 00:11:37.000000000 +0200 @@ -37,20 +37,24 @@ FFI.errno) end - ObjectSpace.define_finalizer(self, lambda do - next unless Native.close(@fd) < 0 - raise SystemCallError.new( - "Failed to close file #{path}" + - case FFI.errno - when Errno::EBADF::Errno; ": Invalid file descriptor." - when Errno::EINTR::Errno; ": Closing interrupted." - when Errno::EIO::Errno; ": IO error." - else; "" - end, - FFI.errno) - end) + ObjectSpace.define_finalizer(self, self.class.finalizer(@fd, path)) super(queue, @fd, :vnode, flags, nil, callback) end + + def self.finalizer(fd, path) + lambda do + next unless Native.close(fd) < 0 + raise SystemCallError.new( + "Failed to close file #{path}" + + case FFI.errno + when Errno::EBADF::Errno; ": Invalid file descriptor." + when Errno::EINTR::Errno; ": Closing interrupted." + when Errno::EIO::Errno; ": IO error." + else; "" + end, + FFI.errno) + end + end end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2021-04-14 18:15:10.000000000 +0200 +++ new/metadata 2021-08-28 00:11:37.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: rb-kqueue version: !ruby/object:Gem::Version - version: 0.2.6 + version: 0.2.7 platform: ruby authors: - Mathieu Arnold @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2021-04-14 00:00:00.000000000 Z +date: 2021-08-27 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: ffi