action_form 0.5.0 → 0.5.1

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: 0211bd706504ef28c1045cc72f33a2408b554ca0a2b3e922436491a1865a16b9
4
- data.tar.gz: 87c0249ed1b139d6fea7d26fb9e9d2e220cafa3a045b129530e94b9afb8ef545
3
+ metadata.gz: 4d93e3e3b61abdc0ceb51759d16f352819d45ccbe1667998484473934da50ff2
4
+ data.tar.gz: 5f35ee9cc4f39a5ae05eaa445f3f230deef097089bfc88853acab530241ec0f9
5
5
  SHA512:
6
- metadata.gz: 817ea2221b6780ed40c769fd37416fae7e2051256b7084b4d4cb612c60fac7288a4dad38316a9af0eba543bf712e07afce8185f33e1d3768e7172cfd81de8103
7
- data.tar.gz: 32a63869d603e1117ac6bacaf4cd526c7127ba23a703343f537507e31e5739ef9bdce5d6701529413f23f0cd9e8794c3d01b5a4d2954070051eecdcd10a7d881
6
+ metadata.gz: cbfb9b48199cda2dc7ca78c368c58ecf3628fe5ef508f37e1dc7bfe4a4d3c9a6506ad210552c20e1575e6c50dfc3bac2d08512e3c4d70e9b296dfd9f2819b708
7
+ data.tar.gz: c71f8a0fc1c8aa5967f25d5f56702da3bccfa246ca0eae947d80403b80dcb0d46ce75e0a076b41976750e37bccdf4b1b99eac933eca595a3b3a824293a9b82f4
@@ -63,7 +63,7 @@ module ActionForm
63
63
  end
64
64
 
65
65
  def with_params(form_params)
66
- self.class.new(model: @namespaced_model, scope: @scope, params: form_params, **html_options)
66
+ self.class.new(model: @namespaced_model, scope: @scope, params: form_params, owner: self, **html_options)
67
67
  end
68
68
 
69
69
  def params_definition(scope: self.scope)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActionForm
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrii Baran