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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5455cd0a895d92a75b2233ca7c0c354daa175fe5f87b0e93c2a3c70841a6d5ba
4
- data.tar.gz: 44a29a9c69fc1e9e8b601d9fbf9298d3c53620d349cdd552d53e195ed993a91e
3
+ metadata.gz: b2dbf842e3f1bb52a9c860ba5c55cc7604aeee74111650be5943a4a6e8d20141
4
+ data.tar.gz: 7d3ae37786f765317397fed2e54dd33c2fd0875a58cd3ae33c61af3329be6b95
5
5
  SHA512:
6
- metadata.gz: 0b73b50ec00b778044f198c5e6983fc0e8e059cee0528feabd1bd8a8a4baecd0210d2ca9f8363392d7c5db2c650605df2d24b3abe881deac8a1b910ee42c4540
7
- data.tar.gz: 00e7adc12e37a1a3d6179a92433af706706f5c0a75dacf87811a9a1a547985fed4c4542e01d87a567657a1f03a87916f4eae6cd13bb298e62dbf344002f89439
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StrongerParameters
4
- VERSION = "2.23.0"
4
+ VERSION = "2.23.1"
5
5
  end
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.0
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-07-18 00:00:00.000000000 Z
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.11
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