fast_attributes 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/lib/fast_attributes.rb +1 -1
- data/lib/fast_attributes/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a1d80b95f685bd4f784b487c2f8f77fa32ac70e
|
4
|
+
data.tar.gz: 51b53422f3dd3c82a67e1ec07fc29102bfca6393
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7253c0f32e55877e353dd9faf04812f49663b4f45eb447e53f5f8879119ccf9348a0cd689ce01236ffc338d628ccd504ced69a56e8177b4f1d43eb7668ce1c9
|
7
|
+
data.tar.gz: 7ed3cc4165363858a85707ba2596444921989715ee767a3d41cfd530954469201fe51db2bb6c17ba247f7a859c54827f24df009e3b9778dccc4dd392aa98c497
|
data/CHANGELOG.md
CHANGED
data/lib/fast_attributes.rb
CHANGED
@@ -57,5 +57,5 @@ module FastAttributes
|
|
57
57
|
set_type_casting Date, 'Date.parse(%s)'
|
58
58
|
set_type_casting Time, 'Time.parse(%s)'
|
59
59
|
set_type_casting DateTime, 'DateTime.parse(%s)'
|
60
|
-
set_type_casting BigDecimal, 'Float(%s);BigDecimal(%s)'
|
60
|
+
set_type_casting BigDecimal, 'Float(%s);BigDecimal(%s.to_s)'
|
61
61
|
end
|