rbbt-util 5.19.0 → 5.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/persist.rb +4 -1
- data/lib/rbbt/util/misc/inspect.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bcf0f6ad90861522d70871c9dbe045abccceee8
|
4
|
+
data.tar.gz: 0df826f64dcd7fede1e237dd8964841e727a15cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfc737af5d42b57d249366084654d42c49305cebd8fab47ffe28efd007fcb2e9c833f7ef33949df5adedfd9af4195f7769e095383b1d3b1bdf5b281bf993291e
|
7
|
+
data.tar.gz: b8aa7c403a378f7885b7aec365be4b84e1592cee8eed839f1a17e67a03335bf3f389865011e6a9384fe4d97d32400e8ace22660211205a2738eab5f432dd4a11
|
data/lib/rbbt/persist.rb
CHANGED
@@ -29,7 +29,10 @@ module Persist
|
|
29
29
|
return true if not Open.exists? file
|
30
30
|
path = path.find if Path === path
|
31
31
|
file = file.find if Path === file
|
32
|
-
|
32
|
+
patht = File.mtime(path)
|
33
|
+
filet = File.mtime(file)
|
34
|
+
diff = patht - filet
|
35
|
+
return diff if diff < 0
|
33
36
|
return false
|
34
37
|
end
|
35
38
|
|
@@ -225,7 +225,9 @@ module Misc
|
|
225
225
|
when TSV::Parser
|
226
226
|
remove_long_items(obj)
|
227
227
|
when File
|
228
|
-
"
|
228
|
+
"<File:" << obj.path << ">"
|
229
|
+
when (defined? Step and Step)
|
230
|
+
"<Step #{obj.path}>"
|
229
231
|
else
|
230
232
|
obj_ins = obj.inspect
|
231
233
|
if obj_ins =~ /:0x0/
|
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.19.
|
4
|
+
version: 5.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|