plutonium 0.24.4 → 0.24.5

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: bc8c3eebd956753de089be922bfb08afb9027a0ea140bb64cd1d38ae86a0f3be
4
- data.tar.gz: 52a2eeab468801268f566ed68c4bbc255c49b54e40018933e4ff9ebf8657fcba
3
+ metadata.gz: 1f9e098d47ef383cae732c39bef92132a9084e0dcda2119bcbb33c9726ae5d6b
4
+ data.tar.gz: f43fe2a2794feb1bc1ee698587b9c6169459b08859a862a7e615f7364f174ec3
5
5
  SHA512:
6
- metadata.gz: 0e622da49c97060b6b3d51a33ecc884250627e42347e0d35ac18ac39ad816cf42a779a2263833bdffffc38cae7b173e3c6cf944d37095da0b99d1b9edbb49e26
7
- data.tar.gz: 0cd79cd887b4f11fbc495d62120449ed5af5416c6e5f42c323e53c3f067c85ffdfdc993ad0eaf52cadf5f6e113e6210b9e51c524bcf01165b6fd79f22371db8f
6
+ metadata.gz: d6c70ccd4aca7091971465a5c55b465bf8b380d699b7ce0df4d265ee854efef660b3e85202593532f88d192f8487d8af8a241e30edbed9fb2b35e1c674bdd352
7
+ data.tar.gz: 78a8129530a6d1d036b507cb71b66b152cc7bfe463a849cf2ab5fe2b0378a1893ec3570da1fbd45e9b81aadbd02561adb2b7d4fe697de413d1f5f361ac1262cf
@@ -45,7 +45,7 @@ module Plutonium
45
45
  :allowed_to?,
46
46
  :registered_resources,
47
47
  :root_path,
48
- to: :helpers
48
+ to: :view_context
49
49
  end
50
50
  end
51
51
  end
@@ -83,7 +83,7 @@ module Plutonium
83
83
  # Do not render the field, but still create field
84
84
  # Phlexi form will record it without rendering it, allowing us to extract its value
85
85
  form.field(name, **field_options) do |f|
86
- instance_exec(f, &tag_block)
86
+ vanish { render instance_exec(f, &tag_block) }
87
87
  end
88
88
  else
89
89
  wrapper_options = input_options[:wrapper] || {}
@@ -1,5 +1,5 @@
1
1
  module Plutonium
2
- VERSION = "0.24.4"
2
+ VERSION = "0.24.5"
3
3
  NEXT_MAJOR_VERSION = VERSION.split(".").tap { |v|
4
4
  v[1] = v[1].to_i + 1
5
5
  v[2] = 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plutonium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.4
4
+ version: 0.24.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-06-26 00:00:00.000000000 Z
11
+ date: 2025-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zeitwerk