stronger_parameters 2.23.0 → 2.23.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stronger_parameters/parameters.rb +2 -2
- data/lib/stronger_parameters/version.rb +1 -1
- 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: b2dbf842e3f1bb52a9c860ba5c55cc7604aeee74111650be5943a4a6e8d20141
|
4
|
+
data.tar.gz: 7d3ae37786f765317397fed2e54dd33c2fd0875a58cd3ae33c61af3329be6b95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02d3ab03fcbaecc0bcefce902f813abd04f6440da15ab74fe6c6e3a9a317933688c80c5111ccd405ddb83941adb80871391c11ec955f97751b9680d6e3bb8e49
|
7
|
+
data.tar.gz: 837f6c2b476486d9ae46f298aac91e5762d92829fab8ed59a08f8fb79f9566fe5e74f55538fece0c272306c40bb9312adb275630ef042ae3ded645ab558ef403
|
@@ -147,7 +147,7 @@ module StrongerParameters
|
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
150
|
-
def hash_filter_with_stronger_parameters(params, filter)
|
150
|
+
def hash_filter_with_stronger_parameters(params, filter, **kwargs)
|
151
151
|
stronger_filter = ActiveSupport::HashWithIndifferentAccess.new
|
152
152
|
other_filter = ActiveSupport::HashWithIndifferentAccess.new
|
153
153
|
|
@@ -159,7 +159,7 @@ module StrongerParameters
|
|
159
159
|
end
|
160
160
|
end
|
161
161
|
|
162
|
-
hash_filter_without_stronger_parameters(params, other_filter)
|
162
|
+
hash_filter_without_stronger_parameters(params, other_filter, **kwargs)
|
163
163
|
|
164
164
|
stronger_filter.each_key do |key|
|
165
165
|
value = fetch(key, nil)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stronger_parameters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.23.
|
4
|
+
version: 2.23.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mick Staugaard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
192
|
- !ruby/object:Gem::Version
|
193
193
|
version: '0'
|
194
194
|
requirements: []
|
195
|
-
rubygems_version: 3.5.
|
195
|
+
rubygems_version: 3.5.16
|
196
196
|
signing_key:
|
197
197
|
specification_version: 4
|
198
198
|
summary: Type checking and type casting of parameters for Action Pack
|