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 +4 -4
- data/lib/superform/version.rb +1 -1
- data/lib/superform.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0023768360f3864f5d40be3db143795445ab5f31aca7d166fd09294deaa8f1e
|
|
4
|
+
data.tar.gz: 5a611e254153c2d32705302220581c41b376db5c7eb4eab289049a1cfe654e81
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7392079da126e3a623ba0dc95e52872c1a04f2995ac2236100ae93f33f8470ed336140449e83e19c294ab8024ed56a8ee9a85f5f0ed9018901cc7dd12cb05e7f
|
|
7
|
+
data.tar.gz: 633cdeb0536d1a44bdd4943ef71e88f5acc13d6555a28f2bc026cabf44318f925eda333218c2591a42ffca26b8f49602f2fe8f4dea94332295f9f261b11980e2
|
data/lib/superform/version.rb
CHANGED
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.
|
|
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
|
+
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.
|
|
87
|
+
rubygems_version: 3.5.3
|
|
88
88
|
signing_key:
|
|
89
89
|
specification_version: 4
|
|
90
90
|
summary: Build forms in Rails
|