stronger_parameters 2.12.1 → 2.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/stronger_parameters.rb +0 -1
- data/lib/stronger_parameters/parameters.rb +2 -6
- data/lib/stronger_parameters/version.rb +1 -1
- metadata +8 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 598d8d30678b80a1fff8224887b69dacd1975b8c3849f123961b3514a643e6e3
|
4
|
+
data.tar.gz: d80b6fa97333c507ab7e2282ed78e22260c352f528d50f434340afdd206b2c3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8f5201eeb8a1eb53a58f6eaacae23d40f08dcdb28da8ba9c650f607c19d126e5eea951a788fedc6cd82f0b4e9a020385952662ea6f44655f65e0c992e89b6e4
|
7
|
+
data.tar.gz: 932b7e76c8d86afefe1aa9d5cfdbf9af19ea2f784ed678e469bebde5761cd6317fd39075e86a029cc13ed5f2ce1a4fe3221775c48f4ff765db30e86e74593bfe
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# stronger_parameters
|
2
|
-
|
2
|
+
![CI](https://github.com/zendesk/stronger_parameters/workflows/CI/badge.svg)
|
3
3
|
|
4
4
|
This is an extension of `strong_parameters` with added type checking and conversion.
|
5
5
|
|
data/lib/stronger_parameters.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
require 'stronger_parameters/version'
|
3
3
|
require 'action_pack'
|
4
|
-
require 'strong_parameters' if ActionPack::VERSION::MAJOR == 3
|
5
4
|
require 'stronger_parameters/parameters'
|
6
5
|
require 'stronger_parameters/constraints'
|
7
6
|
require 'stronger_parameters/controller_support/permitted_parameters'
|
@@ -1,12 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
require 'action_pack'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
else
|
7
|
-
require 'action_controller/base'
|
8
|
-
require 'action_controller/metal/strong_parameters'
|
9
|
-
end
|
4
|
+
require 'action_controller/base'
|
5
|
+
require 'action_controller/metal/strong_parameters'
|
10
6
|
|
11
7
|
require 'stronger_parameters/constraints'
|
12
8
|
require 'stronger_parameters/errors'
|
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.
|
4
|
+
version: 2.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mick Staugaard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -94,20 +94,6 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: wwtd
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: bump
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,20 +156,20 @@ dependencies:
|
|
170
156
|
requirements:
|
171
157
|
- - ">="
|
172
158
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
159
|
+
version: '4.2'
|
174
160
|
- - "<"
|
175
161
|
- !ruby/object:Gem::Version
|
176
|
-
version: '6.
|
162
|
+
version: '6.2'
|
177
163
|
type: :runtime
|
178
164
|
prerelease: false
|
179
165
|
version_requirements: !ruby/object:Gem::Requirement
|
180
166
|
requirements:
|
181
167
|
- - ">="
|
182
168
|
- !ruby/object:Gem::Version
|
183
|
-
version: '
|
169
|
+
version: '4.2'
|
184
170
|
- - "<"
|
185
171
|
- !ruby/object:Gem::Version
|
186
|
-
version: '6.
|
172
|
+
version: '6.2'
|
187
173
|
description:
|
188
174
|
email:
|
189
175
|
- mick@zendesk.com
|
@@ -227,14 +213,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
227
213
|
requirements:
|
228
214
|
- - ">="
|
229
215
|
- !ruby/object:Gem::Version
|
230
|
-
version: 2.
|
216
|
+
version: 2.5.0
|
231
217
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
232
218
|
requirements:
|
233
219
|
- - ">="
|
234
220
|
- !ruby/object:Gem::Version
|
235
221
|
version: '0'
|
236
222
|
requirements: []
|
237
|
-
rubygems_version: 3.
|
223
|
+
rubygems_version: 3.1.3
|
238
224
|
signing_key:
|
239
225
|
specification_version: 4
|
240
226
|
summary: Type checking and type casting of parameters for Action Pack
|