phlexi-form 0.4.2 → 0.4.4

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: 6e48bcf63b4a10f2a96634c9bc29da6d4aaf2aa2b07610a068b8855f3b886f00
4
- data.tar.gz: 9dc72e580de4b3c2106b8b11b87ee9c98f529541d7fb32338fd6a0364fe7ad8f
3
+ metadata.gz: d6a7276cdcf4ce230a7396395fc8cc45e74379cfe1c06572f5dddff5dc73b82c
4
+ data.tar.gz: 40b9ac83c60d2505b2b5e2769bfc5e4006e73bb62aabfe569e6dccdf57434334
5
5
  SHA512:
6
- metadata.gz: badb2048ae77cffec7f21d75f010fe60cf66fce6da0131d2432d4f1a530f48a7ef9694e46386106e87d165456dd641fe096d9eb3f6c24db0bdf4426b69d720a8
7
- data.tar.gz: 124992bdef2e96b91a238ba124be3a587252cf113df6bc75fe88b94b18090cda1b075ac6e24c835be11b4debfd0788a78dc5f054487ec7453987cf8188c05536
6
+ metadata.gz: 236052d396b6df4b91abf7dfecc7a4fb983a7ed9d3362cae1488f60ce7d8b92df3921a3bded6d56e7eb7024ae9e9e2df515dcbca4e5addb3da8fa8e875f30b14
7
+ data.tar.gz: c5cc9a4cba56e14b7a70d5a5a5ab90ccdb25373ea01662720cdc55205491676136681f3e5a3f2a41593e9e78f3e0f7068bd307768a4c9f256cbd74372cef9107
@@ -57,6 +57,7 @@ module Phlexi
57
57
  initialize_object_and_key(record)
58
58
  initialize_namespace
59
59
  initialize_attributes
60
+ super()
60
61
  end
61
62
 
62
63
  # Renders the form template.
@@ -185,6 +185,7 @@ module Phlexi
185
185
 
186
186
  select_tag(**options, &)
187
187
  end
188
+ alias_method :has_and_belongs_to_many_tag, :has_many_tag
188
189
 
189
190
  def input_array_tag(**, &)
190
191
  create_component(Components::InputArray, :array, **, &)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Phlexi
4
4
  module Form
5
- VERSION = "0.4.2"
5
+ VERSION = "0.4.4"
6
6
  end
7
7
  end
data/lib/phlexi/form.rb CHANGED
@@ -9,6 +9,7 @@ module Phlexi
9
9
  module Form
10
10
  Loader = Zeitwerk::Loader.new.tap do |loader|
11
11
  loader.tag = File.basename(__FILE__, ".rb")
12
+ loader.ignore("#{__dir__}/form/version.rb")
12
13
  loader.inflector.inflect(
13
14
  "phlexi-form" => "Phlexi",
14
15
  "phlexi" => "Phlexi",
data/lib/phlexi-form.rb CHANGED
@@ -1,3 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require_relative "phlexi/form/version"
3
4
  require_relative "phlexi/form"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phlexi-form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-22 00:00:00.000000000 Z
11
+ date: 2024-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: phlex