formalist 0.8.0 → 0.9.0

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: 57327fa76ef1f36d45bfe52a3e77a546d7e17675449e9d5062b9e5289d70c06a
4
- data.tar.gz: 82550096d61ede92d2eccb2bd5199600def45bb23386b8b25e32b1dbbc65361d
3
+ metadata.gz: 8cb9ec48a2b65c7e8b44b9ea1db47b9a466e5b664f8c9a1ef799dc998f7ae339
4
+ data.tar.gz: aa3a86a47295192edb6278e9a19a5e675c01e041fba98f30be87c7ee04aa108a
5
5
  SHA512:
6
- metadata.gz: 2da6a34c12b22c98dccd2e98901b35bd429fcf6637a12d6e68f6eb8e9c220222b221fd4b721e22d5f56486902153a12ffe8bc1c5f394e80fe155ee63b4abfd44
7
- data.tar.gz: e31db349cb4a8260c5842f8adecf15acb1a673ec41385d269bbea77b6a6ed0b6655d5bb22f913793636bd0a9038d67c4623cdf0e75405a8028aac77ca409ea27
6
+ metadata.gz: ea0667c4a32ca779b49b1d1fdce21a717b04e0a630680c267bea3f960b04a13d6223e3bbaabb16ae77291d14975f74fe6c2d51afc34c6d453eb293f1e0b9e791
7
+ data.tar.gz: 20c9ff5caa796d18312122cc5da852980cc51b9ebffd6eeabc182a161034997241633213478910debed24897bb93513fabf6010a4ea146abb3f4999f03511d11
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.9.0 / 2022-06-30
2
+
3
+ ### Added
4
+
5
+ - Added a `#with` method to `EmbeddedFormRenderer` to support additional call time options
6
+
1
7
  # 0.8.0 / 2022-06-29
2
8
 
3
9
  ### Changed
@@ -26,6 +26,15 @@ module Formalist
26
26
  end
27
27
  end
28
28
 
29
+ def with(**context_options)
30
+ self.class.new(
31
+ container,
32
+ namespace: namespace,
33
+ paths: paths,
34
+ **options.merge(context_options)
35
+ )
36
+ end
37
+
29
38
  private
30
39
 
31
40
  def resolve_key(type)
@@ -1,3 +1,3 @@
1
1
  module Formalist
2
- VERSION = "0.8.0".freeze
2
+ VERSION = "0.9.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formalist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Riley
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-28 00:00:00.000000000 Z
11
+ date: 2022-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable