util-params 0.2.2 → 0.2.3

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: 96f59d7df0490d15c8eb825fad58af0dc12b4e25
4
- data.tar.gz: 58b546d2246566f6389341a703b1ed0e441ce9a8
3
+ metadata.gz: 4b32430c80041470abe0de90fd3e31b26dd0baab
4
+ data.tar.gz: 42cb3be6ca0caa8cb22d2d16b1f5c88fa0fe257a
5
5
  SHA512:
6
- metadata.gz: d9981c4b6a0f85a7b63961450159ea85d83b845b0b1d1d23f65e58605f2d44dd7e7d299a38d07cbc0a027465ec9b9ab466eddd2a9015224758dc25d40b6074fd
7
- data.tar.gz: 65c8c7f22c258b89a3293186ee7a5795fd5321d2034bf475440e3d8f95a60651286840693f2fdf2ddb91f869e6202a65d515dcd2b8d7775dc5dca8bd47931963
6
+ metadata.gz: f4848b55e636e7f910e79eff20b311dd53f2950728bb82761eed3ac495314a502cae1f237d3fd08dddedbdaf096baa4b85cc2705af4277dde338026574896a9e
7
+ data.tar.gz: 2dce8107806b81402d458c922e8619fb7a65b13031cffda3b54dc759368842dde2ea882f5c1207ffa2db41e8ed318b27ea60f8adbb2617902be604ba076eceef
@@ -198,7 +198,7 @@ module Util
198
198
  def _validate_file key, val
199
199
  return nil if val.nil?
200
200
 
201
- if f.size.blank?
201
+ if val.size.blank?
202
202
  _push_error "#{key.to_s} == nil"
203
203
  return nil
204
204
  end
@@ -1,5 +1,5 @@
1
1
  module Util
2
2
  module Params
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: util-params
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - unchi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-05 00:00:00.000000000 Z
11
+ date: 2016-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler