Hello community, here is the log from the commit of package rubygem-systemu for openSUSE:Factory checked in at 2015-03-25 10:00:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-systemu (Old) and /work/SRC/openSUSE:Factory/.rubygem-systemu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-systemu" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-systemu/rubygem-systemu.changes 2014-10-14 13:25:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-systemu.new/rubygem-systemu.changes 2015-03-25 10:00:19.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Mar 20 20:14:09 UTC 2015 - [email protected] + +- updated to version 2.6.5, no changelog + +------------------------------------------------------------------- Old: ---- systemu-2.6.4.gem New: ---- systemu-2.6.5.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-systemu.spec ++++++ --- /var/tmp/diff_new_pack.MXl2ou/_old 2015-03-25 10:00:19.000000000 +0100 +++ /var/tmp/diff_new_pack.MXl2ou/_new 2015-03-25 10:00:19.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-systemu # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -16,8 +16,15 @@ # +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + Name: rubygem-systemu -Version: 2.6.4 +Version: 2.6.5 Release: 0 %define mod_name systemu %define mod_full_name %{mod_name}-%{version} @@ -29,7 +36,7 @@ Source: http://rubygems.org/gems/%{mod_full_name}.gem Source1: gem2rpm.yml Summary: systemu -License: Ruby +License: Ruby and BSD-2-Clause Group: Development/Languages/Ruby %description ++++++ gem2rpm.yml ++++++ --- /var/tmp/diff_new_pack.MXl2ou/_old 2015-03-25 10:00:19.000000000 +0100 +++ /var/tmp/diff_new_pack.MXl2ou/_new 2015-03-25 10:00:19.000000000 +0100 @@ -7,7 +7,7 @@ # # it can be multiline # ## used by gem2rpm -# :license: MIT or Ruby +:license: Ruby and BSD-2-Clause # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages ++++++ systemu-2.6.4.gem -> systemu-2.6.5.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/BSDL new/BSDL --- old/BSDL 1970-01-01 01:00:00.000000000 +0100 +++ new/BSDL 1970-01-01 01:00:00.000000000 +0100 @@ -0,0 +1,23 @@ +Copyright (c) 2010, Ara T. Howard +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/LICENSE new/LICENSE --- old/LICENSE 1970-01-01 01:00:00.000000000 +0100 +++ new/LICENSE 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +1,57 @@ -same as Ruby's +systemu is copyrighted free software by Ara T. Howard <[email protected]>. +You can redistribute it and/or modify it under either the terms of the +2-clause BSDL (see the file BSDL), or the conditions below: + + 1. You may make and give away verbatim copies of the source form of the + software without restriction, provided that you duplicate all of the + original copyright notices and associated disclaimers. + + 2. You may modify your copy of the software in any way, provided that + you do at least ONE of the following: + + a) place your modifications in the Public Domain or otherwise + make them Freely Available, such as by posting said + modifications to Usenet or an equivalent medium, or by allowing + the author to include your modifications in the software. + + b) use the modified software only within your corporation or + organization. + + c) give non-standard binaries non-standard names, with + instructions on where to get the original software distribution. + + d) make other distribution arrangements with the author. + + 3. You may distribute the software in object code or binary form, + provided that you do at least ONE of the following: + + a) distribute the binaries and library files of the software, + together with instructions (in the manual page or equivalent) + on where to get the original distribution. + + b) accompany the distribution with the machine-readable source of + the software. + + c) give non-standard binaries non-standard names, with + instructions on where to get the original software distribution. + + d) make other distribution arrangements with the author. + + 4. You may modify and include the part of the software into any other + software (possibly commercial). But some files in the distribution + are not written by the author, so that they are not under these terms. + + For the list of those files and their copying conditions, see the + file LEGAL. + + 5. The scripts and library files supplied as input to or produced as + output from the software do not automatically fall under the + copyright of the software, but belong to whomever generated them, + and may be sold commercially, and may be aggregated with this + software. + + 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE. -http://www.ruby-lang.org/en/LICENSE.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile --- old/Rakefile 1970-01-01 01:00:00.000000000 +0100 +++ new/Rakefile 1970-01-01 01:00:00.000000000 +0100 @@ -4,7 +4,7 @@ This.homepage = "https://github.com/ahoward/#{ This.lib }" task :license do - open('LICENSE', 'w'){|fd| fd.puts "same as ruby's"} + open('LICENSE', 'w'){|fd| fd.puts "Ruby"} end task :default do @@ -93,7 +93,7 @@ test_files = "test/#{ lib }.rb" if File.file?("test/#{ lib }.rb") summary = object.respond_to?(:summary) ? object.summary : "summary: #{ lib } kicks the ass" description = object.respond_to?(:description) ? object.description : "description: #{ lib } kicks the ass" - license = object.respond_to?(:license) ? object.license : "same as ruby's" + license = object.respond_to?(:license) ? object.license : "Ruby" if This.extensions.nil? This.extensions = [] @@ -297,7 +297,7 @@ # discover full path to this ruby executable # - c = Config::CONFIG + c = RbConfig::CONFIG bindir = c["bindir"] || c['BINDIR'] ruby_install_name = c['ruby_install_name'] || c['RUBY_INSTALL_NAME'] || 'ruby' ruby_ext = c['EXEEXT'] || '' Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/systemu.rb new/lib/systemu.rb --- old/lib/systemu.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/systemu.rb 1970-01-01 01:00:00.000000000 +0100 @@ -14,7 +14,7 @@ # # constants # - SystemUniversal::VERSION = '2.6.4' unless SystemUniversal.send(:const_defined?, :VERSION) + SystemUniversal::VERSION = '2.6.5' unless SystemUniversal.send(:const_defined?, :VERSION) def SystemUniversal.version() SystemUniversal::VERSION end def version() SystemUniversal::VERSION end def SystemUniversal.description @@ -28,17 +28,22 @@ @ppid = Process.ppid @pid = Process.pid @turd = ENV['SYSTEMU_TURD'] + @ruby = nil - c = begin; ::RbConfig::CONFIG; rescue NameError; ::Config::CONFIG; end - ruby = File.join(c['bindir'], c['ruby_install_name']) << c['EXEEXT'] - @ruby = if system('%s -e 42' % ruby) - ruby - else - system('%s -e 42' % 'ruby') ? 'ruby' : warn('no ruby in PATH/CONFIG') + def self.ruby + return @ruby if @ruby + + c = begin; ::RbConfig::CONFIG; rescue NameError; ::Config::CONFIG; end + ruby = File.join(c['bindir'], c['ruby_install_name']) << c['EXEEXT'] + @ruby = if system('%s -e 42' % ruby) + ruby + else + system('%s -e 42' % 'ruby') ? 'ruby' : warn('no ruby in PATH/CONFIG') + end end class << SystemUniversal - %w( host ppid pid ruby turd ).each{|a| attr_accessor a} + %w( host ppid pid turd ).each{|a| attr_accessor a} def quote(*words) words.map{|word| word.inspect}.join(' ') @@ -179,7 +184,7 @@ PIPE = STDOUT.dup begin - config = Marshal.load(IO.read('#{ config }')) + config = Marshal.load(IO.read('#{ config }',:mode=>"rb")) argv = config['argv'] env = config['env'] @@ -286,10 +291,11 @@ StreamReader.new(stream) end - exit_code = process.wait_for field = process.get_class.get_declared_field("pid") field.set_accessible(true) pid = field.get(process) + thread = new_thread pid, @block if @block + exit_code = process.wait_for [ RubyProcess::RubyStatus.new_process_status(JRuby.runtime, exit_code, pid), stdout.join, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 1970-01-01 01:00:00.000000000 +0100 +++ new/metadata 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: systemu version: !ruby/object:Gem::Version - version: 2.6.4 + version: 2.6.5 platform: ruby authors: - Ara T. Howard autorequire: bindir: bin cert_chain: [] -date: 2014-03-04 00:00:00.000000000 Z +date: 2015-03-19 00:00:00.000000000 Z dependencies: [] description: universal capture of stdout and stderr and handling of child process pid for windows, *nix, etc. @@ -17,6 +17,7 @@ extensions: [] extra_rdoc_files: [] files: +- BSDL - LICENSE - README - README.erb @@ -33,7 +34,7 @@ - test/testing.rb homepage: https://github.com/ahoward/systemu licenses: -- same as ruby's +- Ruby metadata: {} post_install_message: rdoc_options: [] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/systemu.gemspec new/systemu.gemspec --- old/systemu.gemspec 1970-01-01 01:00:00.000000000 +0100 +++ new/systemu.gemspec 1970-01-01 01:00:00.000000000 +0100 @@ -3,14 +3,15 @@ Gem::Specification::new do |spec| spec.name = "systemu" - spec.version = "2.6.4" + spec.version = "2.6.5" spec.platform = Gem::Platform::RUBY spec.summary = "systemu" spec.description = "universal capture of stdout and stderr and handling of child process pid for windows, *nix, etc." - spec.license = "same as ruby's" + spec.license = "Ruby" spec.files = -["LICENSE", +["BSDL", + "LICENSE", "README", "README.erb", "Rakefile", -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
