Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-os for openSUSE:Factory checked in at 2022-01-28 22:12:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-os (Old) and /work/SRC/openSUSE:Factory/.rubygem-os.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-os" Fri Jan 28 22:12:41 2022 rev:2 rq:949669 version:1.1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-os/rubygem-os.changes 2020-11-03 15:16:25.276031705 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-os.new.1898/rubygem-os.changes 2022-01-28 22:13:26.438518574 +0100 @@ -1,0 +2,22 @@ +Tue Jan 25 07:17:00 UTC 2022 - Stephan Kulow <co...@suse.com> + +updated to version 1.1.4 + see installed ChangeLog + + 1.1.4 + Fix circular dependency + + 1.1.2 + Make rss_bytes return bytes in linux/OS X, like it always should have + + 1.1.1 + fix skip blank lines in OS#parse_os_release + + 1.1.0 + Add app_config_path method + Cleans up dev dependency specs + Detect underlying Docker containers method + Add Linux-specific OS#parse_os_release method + + +------------------------------------------------------------------- Old: ---- os-1.1.1.gem New: ---- os-1.1.4.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-os.spec ++++++ --- /var/tmp/diff_new_pack.B0zOBb/_old 2022-01-28 22:13:26.934515180 +0100 +++ /var/tmp/diff_new_pack.B0zOBb/_new 2022-01-28 22:13:26.938515152 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-os # -# Copyright (c) 2020 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-os -Version: 1.1.1 +Version: 1.1.4 Release: 0 %define mod_name os %define mod_full_name %{mod_name}-%{version} ++++++ os-1.1.1.gem -> os-1.1.4.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ChangeLog new/ChangeLog --- old/ChangeLog 2020-08-02 03:54:11.000000000 +0200 +++ new/ChangeLog 2021-11-07 05:16:07.000000000 +0100 @@ -1,3 +1,18 @@ +1.1.4 + Fix circular dependency + +1.1.2 + Make rss_bytes return bytes in linux/OS X, like it always should have + +1.1.1 + fix skip blank lines in OS#parse_os_release + +1.1.0 + Add app_config_path method + Cleans up dev dependency specs + Detect underlying Docker containers method + Add Linux-specific OS#parse_os_release method + 1.0.1 add within docker method diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile.lock new/Gemfile.lock --- old/Gemfile.lock 2020-08-02 03:54:11.000000000 +0200 +++ new/Gemfile.lock 2021-11-07 05:16:07.000000000 +0100 @@ -9,14 +9,6 @@ diff-lcs (1.1.3) power_assert (1.0.2) rake (0.9.6) - rspec (2.5.0) - rspec-core (~> 2.5.0) - rspec-expectations (~> 2.5.0) - rspec-mocks (~> 2.5.0) - rspec-core (2.5.2) - rspec-expectations (2.5.0) - diff-lcs (~> 1.1.2) - rspec-mocks (2.5.0) test-unit (3.2.3) power_assert @@ -25,7 +17,6 @@ x86-mingw32 DEPENDENCIES - os! rake (~> 0.8) rspec (~> 2.5.0) test-unit (~> 3) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile --- old/Rakefile 2020-08-02 03:54:11.000000000 +0200 +++ new/Rakefile 2021-11-07 05:16:07.000000000 +0100 @@ -1,9 +1,14 @@ require 'rubygems' if RUBY_VERSION < '1.9.0' +# HOW TO DEPLOY +# bump VERSION file manually +# rake release seems all messed up, doesn't publish it anyway... # Don't forget to run rake gemspec with each release! ... I think... -# then manually edit os.gemspec remove duplicatee rspecs, circular dependency? HUH? +# then manually edit os.gemspec remove duplicatee rspecs, circular dependency on os? HUH? # # then gem build os.gemspec # rake build doesn't work??? +# sooo... +# ...gem push os-1.1.2.gem begin require 'jeweler' @@ -17,7 +22,7 @@ gem.license = "MIT" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings # gem.add_development_dependency "fast_require" - gem.add_development_dependency "rspec", ">= 2.0" + # gem.add_development_dependency "rspec", ">= 2.0" end rescue LoadError => e puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler #{e}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2020-08-02 03:54:11.000000000 +0200 +++ new/VERSION 2021-11-07 05:16:07.000000000 +0100 @@ -1 +1 @@ -1.1.1 +1.1.4 Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/os.rb new/lib/os.rb --- old/lib/os.rb 2020-08-02 03:54:11.000000000 +0200 +++ new/lib/os.rb 2021-11-07 05:16:07.000000000 +0100 @@ -155,15 +155,15 @@ end processes = wmi.ExecQuery("select * from win32_process where ProcessId = #{Process.pid}") memory_used = nil - # only allow for one... + # only allow for one process... for process in processes - raise if memory_used + raise "multiple processes same pid?" if memory_used memory_used = process.WorkingSetSize.to_i end memory_used end elsif OS.posix? # linux [though I've heard it works in OS X] - `ps -o rss= -p #{Process.pid}`.to_i # in kilobytes + `ps -o rss= -p #{Process.pid}`.to_i * 1024 # in kiloBytes else raise 'unknown rss for this platform' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2020-08-02 03:54:11.000000000 +0200 +++ new/metadata 2021-11-07 05:16:07.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: os version: !ruby/object:Gem::Version - version: 1.1.1 + version: 1.1.4 platform: ruby authors: - rdp @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2020-03-31 00:00:00.000000000 Z +date: 2021-11-07 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rake @@ -99,7 +99,7 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.7.6.2 +rubygems_version: 2.7.6 signing_key: specification_version: 4 summary: Simple and easy way to know if you're on windows or not (reliably), as well diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os.gemspec new/os.gemspec --- old/os.gemspec 2020-08-02 03:54:11.000000000 +0200 +++ new/os.gemspec 2021-11-07 05:16:07.000000000 +0100 @@ -2,16 +2,16 @@ # DO NOT EDIT THIS FILE DIRECTLY # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- -# stub: os 1.1.0 ruby lib +# stub: os 1.1.4 ruby lib Gem::Specification.new do |s| s.name = "os".freeze - s.version = "1.1.1" + s.version = "1.1.4" s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["rdp".freeze, "David McCullars".freeze] - s.date = "2020-03-31" + s.date = "2021-11-07" s.description = "The OS gem allows for some useful and easy functions, like OS.windows? (=> true or false) OS.bits ( => 32 or 64) etc\"".freeze s.email = "rogerpack2...@gmail.com".freeze s.extra_rdoc_files = [