rbbt-util 5.37.3 → 5.37.6
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/migrate.rb +1 -1
- 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: 6099d98f98d577fdbd0905ff42af44894701583fafab809b35c163f9d3482cb8
|
4
|
+
data.tar.gz: 8b8ab79b18d6dc143b823afa52e8ab3833a2268cdaa9f22e1b9053d1ee84edcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e64c7bd047bf9eb108c9e8176daf9aac8d2f198b65c365d55e628119435b5392299414ada948f7fece30572a26223b150bb2a6bc631f6f25f2225e59adc9ded4
|
7
|
+
data.tar.gz: 79edde0ca6ea40b5c178603f530605cc18a2f4ea44eed731393015fe16ae33a8579ce1254f761890d81fdc12e0e90664708a5c54d0bd10cbbf2a2a36a6ee8538
|
data/lib/rbbt/util/migrate.rb
CHANGED
@@ -84,7 +84,7 @@ puts resource[path].find(search_path)
|
|
84
84
|
#cmd = "rsync -avztAXHP --copy-unsafe-links #{test_str} #{files_from_str} #{excludes_str} '#{source_path}' #{target_path} #{other * " "}"
|
85
85
|
|
86
86
|
# rsync_args = "-avztAXHP --copy-unsafe-links"
|
87
|
-
rsync_args = "-avztHP --copy-unsafe-links"
|
87
|
+
rsync_args = "-avztHP --copy-unsafe-links --omit-dir-times"
|
88
88
|
|
89
89
|
rsync_args << " --link-dest '#{source_path}'" if hard_link && ! options[:source]
|
90
90
|
|
@@ -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.6
|
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
|