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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/command.rb +1 -8
  3. data/lib/spec.json +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 835ddd4c63c02ff79d9151c8752782c6076f912f
4
- data.tar.gz: 23ebff2cd260f5b3f802975e5406df6364358dca
3
+ metadata.gz: 9f42219c30c7167152c49657bdf1a131778d9337
4
+ data.tar.gz: ac1e5b7319ee46d60769fd2ee60a2c4bc75f7e8b
5
5
  SHA512:
6
- metadata.gz: 4fce902f51422665d96733862dca900279c0d66a7aff56ca79324e0d76cfa1198bdb6c36db917456ef99cdfca23ba1e29a0ead57c68689f18a1988ee58236cdb
7
- data.tar.gz: ba4752504b3ac38e38301b62510532885600efbd9bb7093175032e778d915835b5ed236c5915f364e67e72a8b8fae1cda1875adf4ea4d05bcb7853a26eec9f56
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.10"}
1
+ {"name":"dev_tasks","version":"1.0.11"}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow