clash 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84334057b03504f28d870552b5750e798c00f987
4
- data.tar.gz: 0dcff1bc13123cd660e2f0f9b2b713117a13b6e6
3
+ metadata.gz: 7b7b82b5cd0a85820950dd5c99efd17b691ccf03
4
+ data.tar.gz: 64531edccef8ecddf75f0e1213e21b9b5d707029
5
5
  SHA512:
6
- metadata.gz: f894e57b952220233a3fcae664d3c14f5128078cab8fb38278b3b3fa96ea0e23479753cea535ec616dad01123d4e88efa0f903393d18bcd15474258b5e29db24
7
- data.tar.gz: 7c1b734353b93d53e2085a904cf574b3d67854ed8f08a8264e5256d5968322791d4167774cd3c18576726dc5b63a61498ea8bfef5296aeac5a5492c8e84e9dc3
6
+ metadata.gz: 9d92cafe484dca27c591d2baa9efd779b72e2d5acd77244fb7f7c23b8896a9dc5ca43b464cd949aa96fe01cac48333646afa694af6a38e7a2c5e92413e6cdc45
7
+ data.tar.gz: 6a5db7204b32c9ad95c5fb2346063feaf1e9c8afbc5f3a446e59402c246425947a3b24c6d1e845b1d57c9a7fc3d728b520b0eb5cc13dc2e514fcd79c769208a4
@@ -37,7 +37,11 @@ module Clash
37
37
 
38
38
  def system(*cmd)
39
39
  cmd = cmd.join(' ')
40
- cmd += " > /dev/null" unless ENV['DEBUG']
40
+ # Don't ouput to /dev/null if in debug mode
41
+ # or if a command supplies its own ouput
42
+ if !ENV['DEBUG'] && !(cmd =~ / > /)
43
+ cmd += " > /dev/null"
44
+ end
41
45
 
42
46
  Kernel.system cmd
43
47
  end
@@ -1,3 +1,3 @@
1
1
  module Clash
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-09 00:00:00.000000000 Z
11
+ date: 2015-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diffy