Hello community,
here is the log from the commit of package rubygem-get_process_mem for
openSUSE:Factory checked in at 2018-07-18 22:49:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-get_process_mem (Old)
and /work/SRC/openSUSE:Factory/.rubygem-get_process_mem.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-get_process_mem"
Wed Jul 18 22:49:46 2018 rev:3 rq:621003 version:0.2.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-get_process_mem/rubygem-get_process_mem.changes
2016-10-10 16:23:38.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-get_process_mem.new/rubygem-get_process_mem.changes
2018-07-18 22:49:49.095780902 +0200
@@ -1,0 +2,10 @@
+Wed May 16 08:01:34 UTC 2018 - [email protected]
+
+- updated to version 0.2.2
+ see installed CHANGELOG.md
+
+ ## 0.2.2
+
+ - Fix support for Ruby 2.4 (#23)
+
+-------------------------------------------------------------------
Old:
----
get_process_mem-0.2.1.gem
New:
----
get_process_mem-0.2.2.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-get_process_mem.spec ++++++
--- /var/tmp/diff_new_pack.XAuWV7/_old 2018-07-18 22:49:49.567779337 +0200
+++ /var/tmp/diff_new_pack.XAuWV7/_new 2018-07-18 22:49:49.567779337 +0200
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-get_process_mem
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -24,7 +24,7 @@
#
Name: rubygem-get_process_mem
-Version: 0.2.1
+Version: 0.2.2
Release: 0
%define mod_name get_process_mem
%define mod_full_name %{mod_name}-%{version}
@@ -33,7 +33,7 @@
BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
Url: https://github.com/schneems/get_process_mem
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Use GetProcessMem to find out the amount of RAM used by any
process
License: MIT
++++++ get_process_mem-0.2.1.gem -> get_process_mem-0.2.2.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2016-06-01 18:04:26.000000000 +0200
+++ new/CHANGELOG.md 2018-05-11 14:38:19.000000000 +0200
@@ -1,6 +1,10 @@
+## 0.2.2
+
+- Fix support for Ruby 2.4 (#23)
+
## 0.2.1
-- Windows support.
+- ???
## 0.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2016-06-01 18:04:26.000000000 +0200
+++ new/README.md 2018-05-11 14:38:19.000000000 +0200
@@ -1,6 +1,7 @@
# Get Process Memory
[](https://travis-ci.org/schneems/get_process_mem)
+[](https://www.codetriage.com/schneems/get_process_mem)
Do you need to get the memory usage of a process? Great because this library
does that.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/get_process_mem/version.rb
new/lib/get_process_mem/version.rb
--- old/lib/get_process_mem/version.rb 2016-06-01 18:04:26.000000000 +0200
+++ new/lib/get_process_mem/version.rb 2018-05-11 14:38:19.000000000 +0200
@@ -1,3 +1,3 @@
class GetProcessMem
- VERSION = "0.2.1"
+ VERSION = "0.2.2"
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/get_process_mem.rb new/lib/get_process_mem.rb
--- old/lib/get_process_mem.rb 2016-06-01 18:04:26.000000000 +0200
+++ new/lib/get_process_mem.rb 2018-05-11 14:38:19.000000000 +0200
@@ -90,7 +90,8 @@
size = ProcTable.ps(pid).working_set_size
BigDecimal.new(size)
else
- KB_TO_BYTE * BigDecimal.new(`ps -o rss= -p #{pid}`)
+ mem = `ps -o rss= -p #{pid}`
+ KB_TO_BYTE * BigDecimal.new(mem == "" ? 0 : mem)
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2016-06-01 18:04:26.000000000 +0200
+++ new/metadata 2018-05-11 14:38:19.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: get_process_mem
version: !ruby/object:Gem::Version
- version: 0.2.1
+ version: 0.2.2
platform: ruby
authors:
- Richard Schneeman
autorequire:
bindir: bin
cert_chain: []
-date: 2016-06-01 00:00:00.000000000 Z
+date: 2018-05-11 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: sys-proctable
@@ -93,7 +93,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.5.1
+rubygems_version: 2.7.6
signing_key:
specification_version: 4
summary: Use GetProcessMem to find out the amount of RAM used by any process