dev 2.0.251 → 2.0.252
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 +3 -1
- 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: d657af251573bb4a355db50a0cb5d67b5a3d54f5
|
4
|
+
data.tar.gz: 676d8d72942545b35f8fb6b3d884d4ec058c8814
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d51556c73f2d91404fb7be88db82961fda96abfc3b611aad449a3077ae7f035beb0ee440533ef98d5bc9c71014cdb6ed5f7cec96f66b9188623e49ba1494043b
|
7
|
+
data.tar.gz: 545e4bc59bac846efaac3d573626b427296bed3ab6ae843a1a0dba727aaae9290b0695bf0a7526db566a4951e0d4a8b390194d9d4b2a7448bac327d1fcb693ba
|
data/lib/base/command.rb
CHANGED
@@ -210,7 +210,9 @@ class Command < Hash
|
|
210
210
|
def summary
|
211
211
|
duration=""
|
212
212
|
duration=getFormattedTimeSpan(self[:end_time]-self[:start_time]) + " - " if(!self[:end_time].nil?)
|
213
|
-
duration + "#{self[:exit_code].to_s} #{self[:input]} (#{self[:directory]})"
|
213
|
+
#duration + "#{self[:exit_code].to_s} #{self[:input]} (#{self[:directory]})"
|
214
|
+
"OK '#{self[:input]}' (#{self[:directory]}) #{self[:exit_code].to_s} [#{duration}]" if self[:exit_code]==0
|
215
|
+
"Error '#{self[:input]}' (#{self[:directory]}) #{self[:exit_code].to_s} [#{duration}]" if self[:exit_code]!=0
|
214
216
|
end
|
215
217
|
|
216
218
|
def to_html
|