formwandler 0.4.3 → 0.4.4

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: 0bf18f8453a0e5b2149c0043d01ab8aacd447998
4
- data.tar.gz: ef76a801d507455f276ff640a6262bd3ed3681d8
3
+ metadata.gz: 128708650653c1e51cfc92bb6a22c22d9c3fb566
4
+ data.tar.gz: 5573832f5ccec75699a06a3e1da4487f5d9033ef
5
5
  SHA512:
6
- metadata.gz: 11d0754bfce6fa07269720723a92ad423de39e9143382eb4427c3e9f931283ac474229cbac2fef1f4039ca5474da659208017d8ac312a77ec3824feed55a8107
7
- data.tar.gz: 44b880579f95b4498e4fa12e75c5b612d8bbe24e8d345d200c8bd62a4e600b4900c7d87503db4e5e233e0640a019bc3e15cf78adb05aa301b97ec9aed2b64e26
6
+ metadata.gz: 1cdb26b69ebb65c23c0c69bb0213fda5b83189c5298b0680fd33ea3bbbcc9598f9cf45cd4dfc611e299f354484fc3b8af43eff9eac307b416fc8d30b5cca81fe
7
+ data.tar.gz: 6637758f163b61bc490aeb5063ca7c703a3bafd882938e085066e6e81fdb8ab292a433e0f5616e8638f60a0770e42d47805431109f53c6c403b903549568def8
@@ -56,7 +56,7 @@ module Formwandler
56
56
  private
57
57
 
58
58
  def transform_value(value, transformation)
59
- return if value.nil? || value == ''
59
+ return value if value.nil? || value == ''
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.3'
2
+ VERSION = '0.4.4'
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.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Bilharz