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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07fa1d0cd31a7eb51d942fdd50e97b1a9740d7412a945e9669fb9261d6bb482c
4
- data.tar.gz: 3a3ab79e1b42919711c57f9d4c264b910f1f96ecac250062186e525ae5482c2b
3
+ metadata.gz: 6099d98f98d577fdbd0905ff42af44894701583fafab809b35c163f9d3482cb8
4
+ data.tar.gz: 8b8ab79b18d6dc143b823afa52e8ab3833a2268cdaa9f22e1b9053d1ee84edcc
5
5
  SHA512:
6
- metadata.gz: 4969b37961d809840e7d047cb6e05d90e6dda0561784afe864e1ab7a10da93e827a1fc6be292960ce8463986ed44fcdf87a95cd0009df498f62cce12e90a4b89
7
- data.tar.gz: eaf19c896b1317bcf5ca3aa479f6af1a404ba7fb2f17896afd1ea74f3f3410bbf5f3c2608f91c27524748c55911c6e68edf776ebc14abe36ac184a2814314433
6
+ metadata.gz: e64c7bd047bf9eb108c9e8176daf9aac8d2f198b65c365d55e628119435b5392299414ada948f7fece30572a26223b150bb2a6bc631f6f25f2225e59adc9ded4
7
+ data.tar.gz: 79edde0ca6ea40b5c178603f530605cc18a2f4ea44eed731393015fe16ae33a8579ce1254f761890d81fdc12e0e90664708a5c54d0bd10cbbf2a2a36a6ee8538
@@ -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
- CMD.cmd("grep 'VmRSS:' /proc/#{pid}/status").read.scan(/\d+/).first.to_i
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.3
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-07 00:00:00.000000000 Z
11
+ date: 2023-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake