phlexi-form 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/phlexi/form/options/inferred_types.rb +2 -0
- data/lib/phlexi/form/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d40ec183371da2de6880bf9f7ee0bee6385801fffa01ebae296e8f95308185be
|
4
|
+
data.tar.gz: 484466e7a74891098e68459ba121cd08165aff15365c5b1e5d31275526f37df2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a688125991b3f227bbbb55a43c2814260b7c33f19deba7cf8c7fd3ec4ce9ece00a739d3226da2b2d01bcc53410ce75920e781618a08658bb3a4011ea6d1559b0
|
7
|
+
data.tar.gz: 4d21a8135ae5ffc4b4ac06e32f33b98d4f53cab77df7e961e8bc11af706905c76de8c9f583b16f86c21e61fcc063077b6ee1e7f0aff71a371c4409ff413b75dc
|
@@ -20,6 +20,8 @@ module Phlexi
|
|
20
20
|
association_reflection.polymorphic? ? :"polymorphic_#{association_reflection.macro}" : association_reflection.macro
|
21
21
|
when :attachment, :binary
|
22
22
|
:file
|
23
|
+
when :citext
|
24
|
+
infer_string_field_type || :string
|
23
25
|
when :date, :time, :datetime, :boolean, :hstore
|
24
26
|
inferred_field_type
|
25
27
|
else
|
data/lib/phlexi/form/version.rb
CHANGED