eft 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/eft.rb +1 -1
  4. data/lib/eft/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e586b3cce46567293b3fa00bae5f31ff9c4a11c
4
- data.tar.gz: a54104a4bcb6a1a12757a5446793371326493b13
3
+ metadata.gz: d15366d181259e5930f40e7560f9a2e3fd90ff99
4
+ data.tar.gz: a2fefd406e6e440f08759edfc628e90813117ee4
5
5
  SHA512:
6
- metadata.gz: ebb43392c1caaf42f8d0b34b9e64e3fb03346d0defeb9463882ffb3ba9aa97211b620b001906332f5d0c05901fa52d539a01d67b863f6e2933b605fc69c64a34
7
- data.tar.gz: a59ed9e8f98789d6883977985b9567e5dfc626e9ee728b47d2aa753b723034031555f184608913d4d736fc32cf53b63ec27c09af767dc03b63521b526035b2e9
6
+ metadata.gz: bcdf581c2d782be602e4c2aff074623eae2a6e16bed434b5af430d3438c641b01b0961e83b91585a93ba3c8308c27d7fea8100884d157dbfe13f6291783b0179
7
+ data.tar.gz: 5ce1a22989357b85d5fc15651e1659a6c46e8a0a2d9543972c1b24942383a2d9f9c937146503f193dd56d77dab6e57f433336eab2da34938bccfdd4facab3d15
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Date : 2014-02-20
6
6
 
7
7
  Copyright : Copyright (C) 2014 Felix C. Stegerman
8
- Version : v0.4.1
8
+ Version : v0.4.2
9
9
 
10
10
  []: }}}1
11
11
 
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
 
@@ -1,4 +1,4 @@
1
1
  module Eft
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
  DATE = '2014-02-20'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix C. Stegerman