auto_strong_parameters 0.0.3 → 0.0.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87e4ff01c63a1ed514ebaa3ecc1f67cce5bf7f0aed4362344a47483df7f917b6
|
4
|
+
data.tar.gz: 532577e89429851252c74d192311cc262d77dccf6cf925a96c4d65fb69ac1b2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cca99d08901cc8b920fce63d89039496e202ab7c90e95758a62f7778fe7b8d9d91b42cad1d2770164277d66b584304f11a7bdf7861a521b9b4c1beb3a54ecbc8
|
7
|
+
data.tar.gz: 71688a056ee736c0c13c4ecf7fe495c73828e9c4314b2005f4db19614e299f9a9cb33252e33a3045316c402f7570cc85a81a44eb323a3364ee7eb1afe501c76e
|
@@ -11,10 +11,36 @@ module AutoStrongParameters::AutoFormParams
|
|
11
11
|
ASP_DIGIT_REGEX = /\[\d+\]/
|
12
12
|
|
13
13
|
TRACKED_FIELDS = %w(
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
check_box
|
15
|
+
collection_check_boxes
|
16
|
+
collection_radio_buttons
|
17
|
+
collection_select
|
18
|
+
color_field
|
19
|
+
date_field
|
20
|
+
datetime_field
|
21
|
+
datetime_local_field
|
22
|
+
email_field
|
23
|
+
file_field
|
24
|
+
grouped_collection_select
|
25
|
+
grouped_collection_select
|
26
|
+
hidden_field
|
27
|
+
month_field
|
28
|
+
number_field
|
29
|
+
password_field
|
30
|
+
phone_field
|
31
|
+
radio_button
|
32
|
+
range_field
|
33
|
+
rich_text_area
|
34
|
+
search_field
|
17
35
|
select
|
36
|
+
telephone_field
|
37
|
+
text_area
|
38
|
+
text_field
|
39
|
+
time_field
|
40
|
+
time_zone_select
|
41
|
+
trix_editor
|
42
|
+
url_field
|
43
|
+
week_field
|
18
44
|
)
|
19
45
|
|
20
46
|
TRACKED_FIELDS.each do |name|
|
@@ -71,7 +71,7 @@ module AutoStrongParameters
|
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
-
# Rails'
|
74
|
+
# Rails' MessageVerifier exists with a stable API in all versions of Rails
|
75
75
|
# since 4.2.
|
76
76
|
def self.verifier
|
77
77
|
@verifier ||= ActiveSupport::MessageVerifier.new(secret, serializer: JSON)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auto_strong_parameters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drew Ulmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|