decanter 1.1.7 → 1.1.8

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
  SHA256:
3
- metadata.gz: ba2b23d17f52592b2a21e453004c7102c622df2491cb8d5d95f482e5d26347d0
4
- data.tar.gz: 0d9eecf1f76c89ba9d85887298e80ca855ba76ffc9bb19fcb3b4a413cf4f0edf
3
+ metadata.gz: faa9cf0da45ee9a64f07633c1526e4af364612f8f9c032ddcb10609b56b63c26
4
+ data.tar.gz: 7ab8bea45a8073692dc12dcc7e8b493dcc2d81d88a8aa23eff6d6481fdc38adc
5
5
  SHA512:
6
- metadata.gz: 2cbab90bbb29ae93fc42b525ed2e0b0ad52c536a0a5214f7b77104008bb72f7b0043fb32dfbf80966fd869476cd20f4776f4f449b7efa74beb8ecedb903c91c6
7
- data.tar.gz: 5ed2f960705a4209a3989a8800326d130922a3e4966c80350f2a366c727b3006ec340d23823f10c8949351e3b922fb5df45578c5059d582da7ce25dfe45b9ce5
6
+ metadata.gz: 27b6755db194bdff66c0e779412c26e22da42828bd2cf9f39dba3f73f7067df2d32d909554232fe38b74d0953db5398a1ee5b89701fbb1acab188c597855fd6c
7
+ data.tar.gz: 44f0a88961425a1aeaa117519f55d50925713e186fb99a09ac9b51a6bcbb4c2c2825e35c9361ed73ad55a5d5c38de06556bfeca4dcab78800ec5ee31feb7c978
data/lib/decanter/core.rb CHANGED
@@ -80,7 +80,7 @@ module Decanter
80
80
  return true unless any_inputs_required?
81
81
  compact_inputs = required_inputs.compact
82
82
  compact_inputs.all? do |input|
83
- args.keys.map(&:to_sym).include?(input)
83
+ args.keys.map(&:to_sym).include?(input) && !args[input].nil?
84
84
  end
85
85
  end
86
86
 
@@ -1,3 +1,3 @@
1
1
  module Decanter
2
- VERSION = '1.1.7'.freeze
2
+ VERSION = '1.1.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decanter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Francis
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-02-07 00:00:00.000000000 Z
12
+ date: 2018-02-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport