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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6a7276cdcf4ce230a7396395fc8cc45e74379cfe1c06572f5dddff5dc73b82c
4
- data.tar.gz: 40b9ac83c60d2505b2b5e2769bfc5e4006e73bb62aabfe569e6dccdf57434334
3
+ metadata.gz: d40ec183371da2de6880bf9f7ee0bee6385801fffa01ebae296e8f95308185be
4
+ data.tar.gz: 484466e7a74891098e68459ba121cd08165aff15365c5b1e5d31275526f37df2
5
5
  SHA512:
6
- metadata.gz: 236052d396b6df4b91abf7dfecc7a4fb983a7ed9d3362cae1488f60ce7d8b92df3921a3bded6d56e7eb7024ae9e9e2df515dcbca4e5addb3da8fa8e875f30b14
7
- data.tar.gz: c5cc9a4cba56e14b7a70d5a5a5ab90ccdb25373ea01662720cdc55205491676136681f3e5a3f2a41593e9e78f3e0f7068bd307768a4c9f256cbd74372cef9107
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Phlexi
4
4
  module Form
5
- VERSION = "0.4.4"
5
+ VERSION = "0.4.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phlexi-form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich