dev_tasks 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/command.rb +1 -8
- data/lib/spec.json +1 -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: 9f42219c30c7167152c49657bdf1a131778d9337
|
4
|
+
data.tar.gz: ac1e5b7319ee46d60769fd2ee60a2c4bc75f7e8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10f70540656e604197b00d065942cf72c4487be17e02b4d3a85a6adba2d4368f0d872068fc47d39e1e92a416a85854f3c45385f66d2741f41a8533fcd252525d
|
7
|
+
data.tar.gz: fde40afb1c85950181c285ed217e9d5edd288f4e9676ca1bc79496913d456f4d2b8666e3333801a72afd3e3ba7c7ac75f33a7199e89c102457230a2c8c5a379a
|
data/lib/command.rb
CHANGED
@@ -41,14 +41,7 @@ class Command < Hash
|
|
41
41
|
self[:output] = `#{self[:input]}`
|
42
42
|
self[:elapsed] = timer.elapsed_str
|
43
43
|
self[:end_time] = Time.now
|
44
|
-
self[:exit_code]
|
45
|
-
#if $? != 0
|
46
|
-
# puts self[:output]
|
47
|
-
# raise Color.yellow + "`" + Color.green + self[:input] + Color.yellow + "`" + Color.clear +
|
48
|
-
# " has exit code " + $?.to_s + " " + out
|
49
|
-
#else
|
50
|
-
# puts " " + timer.elapsed_str
|
51
|
-
#end
|
44
|
+
self[:exit_code]=$?.to_i
|
52
45
|
end
|
53
46
|
|
54
47
|
Dir.chdir(pwd) if pwd != Dir.pwd
|
data/lib/spec.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"dev_tasks","version":"1.0.
|
1
|
+
{"name":"dev_tasks","version":"1.0.11"}
|