dev 2.0.249 → 2.0.250
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/base/command.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5dab28958e30ef58fbbe1cf0f1b68ca0854843f
|
4
|
+
data.tar.gz: e804f1c32e1d9a261f80d9e4c23a8b933d1ecaac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5760e688be88ec27d1393bbae726197c19987c7838f7a5b952a1866773e3bec7c59479bfb062e9934c78e5397bdeac4d11c47600e5e34c7c64687ce436e919f
|
7
|
+
data.tar.gz: f48f41c4de48943e96de14193dc274e40c8fe624db4e16f8c2e1065a9701f8f11db6f5b864f9eea16bf38ba8d39c29d3cb126bd7907ac83ed6450beb872f4018
|
data/lib/base/command.rb
CHANGED
@@ -52,7 +52,7 @@ class Command < Hash
|
|
52
52
|
def open filename=''
|
53
53
|
@filename=filename if filename.length > 0
|
54
54
|
self.clear
|
55
|
-
JSON.parse(IO.read(@filename)).each{|k,v| self[k.
|
55
|
+
JSON.parse(IO.read(@filename)).each{|k,v| self[k.to_sym]=v}
|
56
56
|
end
|
57
57
|
|
58
58
|
def quiet?
|
@@ -201,7 +201,7 @@ class Command < Hash
|
|
201
201
|
end
|
202
202
|
|
203
203
|
def getFormattedTimeSpan timespan
|
204
|
-
seconds = timespan
|
204
|
+
seconds = timespan.round
|
205
205
|
seconds.to_s + " sec"
|
206
206
|
end
|
207
207
|
|