rbbt-util 5.5.63 → 5.5.64
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/rbbt +1 -1
- data/lib/rbbt/persist.rb +1 -1
- data/lib/rbbt/persist/tsv.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
M2RmNGI2NmExZTNlOGI3NTY0NDc5ZDFhNWQzNzgyODg3MjkyMjdkOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2M1MDNhZWZkNmU4YWY5NmE0MjgwN2JmNzIwOWNkYzA1ZGQzY2JjYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTAxZDg4MjBmOTJiODAyZGFhNTcwNmZmZDEyMDgwOWI1MDNkYTg3NGFmZmZm
|
10
|
+
ZDRiNjliOWNjODllZWU5YzUzMjFhZDcyMmM1OTQ4MDA2Njc1NjI5YWZmZjZm
|
11
|
+
ODdkNDAzYTkxZTJkMWYxMjk5MDhhNDkxYTc3NzE1NjEyNmE4OTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTZmMGFhY2RiMmM0MGQ1NmVhN2YwMWFmMzM5MWQ2NzM0MDRlMzI2ZjEyN2U2
|
14
|
+
MTljMTc5ZTY1MTE2YTk4N2U3ZDFlYzVkOThiNWYxMzQ3Yzk5ZTVjMzYxOTFk
|
15
|
+
M2VmNzAzMGE1ODc1YjhiOTVmYzYwODFhYzZlMjRiYjQ4YzA0MjY=
|
data/bin/rbbt
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
require 'rbbt'
|
4
4
|
require 'rbbt/util/simpleopt'
|
5
5
|
|
6
|
-
options = SOPT.get("--log* Log level from 0 (debug)
|
6
|
+
options = SOPT.get("--log* Log level from 0 (debug) 6 (errors):--command_dir* Directory from where to load commands:--profile Profile execution")
|
7
7
|
|
8
8
|
if options[:log]
|
9
9
|
Log.severity = options[:log].to_i
|
data/lib/rbbt/persist.rb
CHANGED
@@ -65,7 +65,7 @@ module Persist
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
-
persistence_dir = Misc.process_options(persist_options, :dir) || Persist.cachedir
|
68
|
+
persistence_dir = Misc.process_options(persist_options, :dir) || Persist.cachedir
|
69
69
|
Path.setup(persistence_dir) unless Path === persistence_dir
|
70
70
|
|
71
71
|
filename = perfile.gsub(/\s/,'_').gsub(/\//,'>')
|
data/lib/rbbt/persist/tsv.rb
CHANGED
@@ -256,10 +256,6 @@ module Persist
|
|
256
256
|
|
257
257
|
filename ||= get_filename(source)
|
258
258
|
|
259
|
-
path = persistence_path(filename, persist_options, options)
|
260
|
-
|
261
|
-
lock_filename = Persist.persistence_path(path, {:dir => TSV.lock_dir})
|
262
|
-
|
263
259
|
if not persist_options[:persist]
|
264
260
|
data = {}
|
265
261
|
|
@@ -268,6 +264,10 @@ module Persist
|
|
268
264
|
return data
|
269
265
|
end
|
270
266
|
|
267
|
+
path = persistence_path(filename, persist_options, options)
|
268
|
+
|
269
|
+
lock_filename = Persist.persistence_path(path, {:dir => TSV.lock_dir})
|
270
|
+
|
271
271
|
if is_persisted? path and not persist_options[:update]
|
272
272
|
Log.debug "TSV persistence up-to-date: #{ path }"
|
273
273
|
return open_tokyocabinet(path, false, nil, persist_options[:engine] || TokyoCabinet::HDB)
|
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.5.
|
4
|
+
version: 5.5.64
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|