plutonium 0.23.5 → 0.24.0

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.
@@ -5,14 +5,6 @@ module Plutonium
5
5
 
6
6
  included do
7
7
  defineable_prop :nested_input
8
-
9
- # def self.nested_input(name, with: nil, **)
10
- # defined_nested_inputs[name] = {}
11
- # end
12
-
13
- # def nested_input(name, with: nil, **)
14
- # instance_defined_nested_inputs[name] = {}
15
- # end
16
8
  end
17
9
  end
18
10
  end
@@ -73,7 +73,7 @@ module Plutonium
73
73
  # Returns the submitted resource parameters
74
74
  # @return [Hash] The submitted resource parameters
75
75
  def submitted_resource_params
76
- @submitted_resource_params ||= build_form(resource_class.new).extract_input(params, view_context:)[resource_param_key.to_sym]
76
+ @submitted_resource_params ||= build_form(resource_class.new).extract_input(params, view_context:)[resource_param_key.to_sym].compact
77
77
  end
78
78
 
79
79
  # Returns the resource parameters, including scoped and parent parameters
@@ -1,5 +1,5 @@
1
1
  module Plutonium
2
- VERSION = "0.23.5"
2
+ VERSION = "0.24.0"
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.23.5
4
+ version: 0.24.0
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-21 00:00:00.000000000 Z
11
+ date: 2025-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zeitwerk