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: 8d888930c9a1649b83470cc64c9c3d4d9477c9d520c3ac262bb9741b72b63f92
4
- data.tar.gz: 4dfb6bc178a3b498c35288cf79f75c944e42ffe55a72a8f2603eb7d9f420d212
3
+ metadata.gz: 87e4ff01c63a1ed514ebaa3ecc1f67cce5bf7f0aed4362344a47483df7f917b6
4
+ data.tar.gz: 532577e89429851252c74d192311cc262d77dccf6cf925a96c4d65fb69ac1b2f
5
5
  SHA512:
6
- metadata.gz: b7f3f4a17050f13d2310d0ac4909e6b570223f96bc3147860f389a464c454eb1738557f53d2b7d303b41c6071e28e5e294f21aab9b7b38ae8a750c1f2a600cac
7
- data.tar.gz: 5fb38548e76beb1e9e88ac03b0cdcba3b5b819db598f54f08bcaca3665588c22fecff1fcb9450dd3ad346acd5032f1c5b6eb05669fac916d1600b344aad9a695
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
- search_field telephone_field date_field time_field datetime_field
15
- month_field week_field url_field email_field number_field range_field
16
- file_field password_field text_area text_field radio_button phone_field
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|
@@ -1,3 +1,3 @@
1
1
  module AutoStrongParameters
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -71,7 +71,7 @@ module AutoStrongParameters
71
71
  end
72
72
  end
73
73
 
74
- # Rails' message_verifier exists with a stable API in all versions of 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.3
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-21 00:00:00.000000000 Z
11
+ date: 2023-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails