rbbt-util 5.37.3 → 5.37.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/util/misc/development.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c6028b83625f2d53fd5fc9d88643352578971dfc6e0e533935e281dc031ffdc
|
4
|
+
data.tar.gz: 822a588deb012ab9895ca7d3eb1afecaa2281a987ef88142015c591193c9d7b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ede0f59cea00b5cecdd08c0f6d60dd3001a4a480f7857ca0bfd7e9385358ff83e1094a77b3b2d7bf336af0132ece5fd196cba6e9993baa80cb1f7b977ca048d7
|
7
|
+
data.tar.gz: 949cdedc1e3876d34d91e2dad34426211e61190159582b1cd3675ee142bda1679e6d2abe77dfbf8e5fe65477216402582b668a97f729a9d1091f901b3d20415a
|
@@ -399,7 +399,7 @@ def self.add_libdir(dir=nil)
|
|
399
399
|
def self.memory_use(pid=nil)
|
400
400
|
pid ||= $$
|
401
401
|
begin
|
402
|
-
|
402
|
+
Open.read("/proc/#{pid}/status").match(/VmRSS:\s+(\d+)/)[1].to_i
|
403
403
|
rescue ProcessFailed
|
404
404
|
raise "Process with #{pid} not found"
|
405
405
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.37.
|
4
|
+
version: 5.37.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|