phlexi-form 0.6.0 → 0.6.2

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: 2112fb7333817aef3f7d477f109c96258e03bd3d5a56900021c424c17976de85
4
- data.tar.gz: 96facfa8646307cd82cbcd69c4679ef4a31dd59be3a0df33926490830667a538
3
+ metadata.gz: 390c9251d061912836d969010c1eee35aa295b3074c6d553c4f4946c3b372619
4
+ data.tar.gz: cc10d150c8a398ca408779f0b8abdc1d0dad1a1214c2607c641b3f838ce86b6b
5
5
  SHA512:
6
- metadata.gz: 48f8143f6cf980a6ae60a9b269e5dafa17bfe6712178de1f42be026a80a69419e76fd1d082946fadde620a0b80d64a7bcb6fadb4f7aeffbcef0e439ac8d9f141
7
- data.tar.gz: 5df2b6fa53da946d5c901cccade7002db1e2769edae64f75187c47ab923b91ac41dce168275f33b7926cb040c850d82412681f015166bf0ee6c3c561c5b2839a
6
+ metadata.gz: 6ae637e65fabf7421f8abb20028567654480b136a02d6501a85a1d028fba7a4d331f5bcc4364292e75c86bcfef51ef749e0f1f02f86cac7a8a2a08b23eec2573
7
+ data.tar.gz: 69aae94f12a3f7212d1976ef774bef3f2431a28297f47828e141f18e4c046e6bc036cf7148000bbf79a34689db0067568feda4b66614b8c7d82491d1903488d1
@@ -162,7 +162,7 @@ module Phlexi
162
162
  end
163
163
 
164
164
  def belongs_to_tag(**, &)
165
- create_component(Components::BelongsTo, :has_many, **, &)
165
+ create_component(Components::BelongsTo, :belongs_to, **, &)
166
166
  end
167
167
 
168
168
  def polymorphic_belongs_to_tag(**, &)
@@ -9,9 +9,8 @@ module Phlexi
9
9
  delegate :association_reflection, to: :field
10
10
 
11
11
  def build_attributes
12
- super
13
-
14
12
  build_belongs_to_attributes
13
+ super
15
14
  end
16
15
 
17
16
  def build_belongs_to_attributes
@@ -9,9 +9,8 @@ module Phlexi
9
9
  delegate :association_reflection, to: :field
10
10
 
11
11
  def build_attributes
12
- super
13
-
14
12
  build_has_many_attributes
13
+ super
15
14
  end
16
15
 
17
16
  def build_has_many_attributes
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Phlexi
4
4
  module Form
5
- VERSION = "0.6.0"
5
+ VERSION = "0.6.2"
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.6.0
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich