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 +4 -4
- data/lib/clash/helpers.rb +5 -1
- data/lib/clash/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b7b82b5cd0a85820950dd5c99efd17b691ccf03
|
4
|
+
data.tar.gz: 64531edccef8ecddf75f0e1213e21b9b5d707029
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d92cafe484dca27c591d2baa9efd779b72e2d5acd77244fb7f7c23b8896a9dc5ca43b464cd949aa96fe01cac48333646afa694af6a38e7a2c5e92413e6cdc45
|
7
|
+
data.tar.gz: 6a5db7204b32c9ad95c5fb2346063feaf1e9c8afbc5f3a446e59402c246425947a3b24c6d1e845b1d57c9a7fc3d728b520b0eb5cc13dc2e514fcd79c769208a4
|
data/lib/clash/helpers.rb
CHANGED
@@ -37,7 +37,11 @@ module Clash
|
|
37
37
|
|
38
38
|
def system(*cmd)
|
39
39
|
cmd = cmd.join(' ')
|
40
|
-
|
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
|
data/lib/clash/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diffy
|