superform 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e95163f7344e0731cc859cf60a4bc1486bede4fe3cc88c86a0bd98497ecdf369
4
- data.tar.gz: ebd8c4ea43a8958a4d6c70f4886aec84dd20a08a5b51563d18b2d65a4e2afff1
3
+ metadata.gz: f0023768360f3864f5d40be3db143795445ab5f31aca7d166fd09294deaa8f1e
4
+ data.tar.gz: 5a611e254153c2d32705302220581c41b376db5c7eb4eab289049a1cfe654e81
5
5
  SHA512:
6
- metadata.gz: 4d03e967c4e018cb6902ad360719b5c98c4f7ab698a3dd9b6b61d3f3e4fde98231242085657ad9da20258335b34e52c5df7087d9ff27b503fa3a37b69a0c9eab
7
- data.tar.gz: b859c82d78000486ab7b51070b22d4611f634513a5ba4f8f1f0c551e75ca3ced2549255858b1c56bc7fc48341ea35a84cc084c9be41af041840d45cb862fea6b
6
+ metadata.gz: 7392079da126e3a623ba0dc95e52872c1a04f2995ac2236100ae93f33f8470ed336140449e83e19c294ab8024ed56a8ee9a85f5f0ed9018901cc7dd12cb05e7f
7
+ data.tar.gz: 633cdeb0536d1a44bdd4943ef71e88f5acc13d6555a28f2bc026cabf44318f925eda333218c2591a42ffca26b8f49602f2fe8f4dea94332295f9f261b11980e2
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Superform
4
- VERSION = "0.4.2"
4
+ VERSION = "0.4.3"
5
5
  end
data/lib/superform.rb CHANGED
@@ -188,8 +188,8 @@ module Superform
188
188
 
189
189
  # Checks if the child exists. If it does then it returns that. If it doesn't, it will
190
190
  # build the child.
191
- def create_child(key, child_class, **, &)
192
- @children.fetch(key) { @children[key] = child_class.new(key, parent: self, **, &) }
191
+ def create_child(key, child_class, **kwargs, &block)
192
+ @children.fetch(key) { @children[key] = child_class.new(key, parent: self, **kwargs, &block) }
193
193
  end
194
194
  end
195
195
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brad Gessler
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-16 00:00:00.000000000 Z
11
+ date: 2023-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: phlex-rails
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubygems_version: 3.4.6
87
+ rubygems_version: 3.5.3
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Build forms in Rails