dev 2.0.249 → 2.0.250

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/base/command.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 632633eb48fc9549ec20824fadcd4dcb1edec6c4
4
- data.tar.gz: f9f851ab3420292822e88630c4f1d7ff5cf2a572
3
+ metadata.gz: d5dab28958e30ef58fbbe1cf0f1b68ca0854843f
4
+ data.tar.gz: e804f1c32e1d9a261f80d9e4c23a8b933d1ecaac
5
5
  SHA512:
6
- metadata.gz: c94db4dd871c6cf95c2fd276527a28c96bbb71457734455f806c87df4a26fa77e6432228242aaac036c8e92cdb6d77a82f17bdeb4116d13bb7a8222f3928b2d3
7
- data.tar.gz: 3f443b11df9b17013249f0c3c819f1371ab7b0604062841bad7cee26a217e3fdd73bdc222fd0a419d4b7f80b320864dfe7a7774f166ebc84f4fa701a600da96d
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.to_s]=v}
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.249
4
+ version: 2.0.250
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow