eft 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/eft.rb +1 -1
- data/lib/eft/version.rb +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: d15366d181259e5930f40e7560f9a2e3fd90ff99
|
4
|
+
data.tar.gz: a2fefd406e6e440f08759edfc628e90813117ee4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcdf581c2d782be602e4c2aff074623eae2a6e16bed434b5af430d3438c641b01b0961e83b91585a93ba3c8308c27d7fea8100884d157dbfe13f6291783b0179
|
7
|
+
data.tar.gz: 5ce1a22989357b85d5fc15651e1659a6c46e8a0a2d9543972c1b24942383a2d9f9c937146503f193dd56d77dab6e57f433336eab2da34938bccfdd4facab3d15
|
data/README.md
CHANGED
data/lib/eft.rb
CHANGED
@@ -27,7 +27,7 @@ module Eft
|
|
27
27
|
EXIT = { ok_yes: 0, cancel_no: 1, esc: 255 }
|
28
28
|
CHECK_OPTS = ['--separate-output']
|
29
29
|
|
30
|
-
OPT = ->(o,x) { o.select { |k,v| OPTS[x][k] }
|
30
|
+
OPT = ->(o,x) { o.select { |k,v| v && OPTS[x][k] }
|
31
31
|
.map { |k,v| OPTS[x][k][v] } }
|
32
32
|
ON_OFF = ->(x) { x ? 'on' : 'off' }
|
33
33
|
|
data/lib/eft/version.rb
CHANGED