attribute_normalizer 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/attribute_normalizer.rb +2 -2
- metadata +2 -2
data/lib/attribute_normalizer.rb
CHANGED
@@ -26,8 +26,8 @@ module AttributeNormalizer
|
|
26
26
|
value.nil? ? value : self.class.send(:normalize_#{attribute}, value)
|
27
27
|
end
|
28
28
|
|
29
|
-
def #{attribute}=(
|
30
|
-
super(self.class.send(:normalize_#{attribute},
|
29
|
+
def #{attribute}=(value)
|
30
|
+
super(self.class.send(:normalize_#{attribute}, value))
|
31
31
|
end
|
32
32
|
end_src
|
33
33
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: attribute_normalizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Deering
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-13 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|