formwandler 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a27068466663a6f025c030ea940bcba509ecb09
4
- data.tar.gz: 78089c958ca21790a7538f6d85e3c25762ff8fb3
3
+ metadata.gz: 6e85c5a1fe287a0e07e79882ef493e895156a2a2
4
+ data.tar.gz: 94ce14041763d57041fc021d910baef984d0470b
5
5
  SHA512:
6
- metadata.gz: 2a4e3b0b19310c31aa8dc71099dabda8e128e7042271753c4d1d835aadb764fa4afe455ab4b0c7adc53a9750e5654b0aa18cd9c703f38fc8bc8d94302c7e87e4
7
- data.tar.gz: 1eeddda4bc9f432351c4ebeab0ce50fea589cc9c200d2d941e3b6be54bd7c56ca83ad387414b8b2a6592c84eb9a3c8e46ce2b863ea7d362e1eedefcbea4a8262
6
+ metadata.gz: 59175fe52ce39b89659476d2df790d4354ebb6b457a51fd5cf1249c5f025d3418d2d1319a82cb63864f67ae401ee03239ba58282d89a94ee82c9721be20821ea
7
+ data.tar.gz: ad95c92dad090e354d36e6319774bf5a7913df9b6a814d9e9138ff020c27311266d88d420999cc4c12d21b0f22e66b0588ff956624bba9df7882ea89cb26adb7
@@ -56,7 +56,7 @@ module Formwandler
56
56
  private
57
57
 
58
58
  def transform_value(value, transformation)
59
- return if value.nil?
59
+ return if value.blank?
60
60
  if transformation.respond_to?(:call)
61
61
  form.instance_exec(value, &transformation)
62
62
  else
@@ -1,3 +1,3 @@
1
1
  module Formwandler
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formwandler
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
  - Stefan Bilharz