moderate_parameters 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +23 -23
- data/README.md +1 -1
- data/lib/moderate_parameters/parameters.rb +2 -0
- data/lib/moderate_parameters/version.rb +1 -1
- data/moderate_parameters.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccebf986537b995e0dda4aaba0fac77329a0f87b885f36eb4b1a0b85b03dfb9b
|
4
|
+
data.tar.gz: a8fd30ef1653f7376370643772066700535effc2f2a6eef88e410f3724cc3314
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef57958d1feb5a3a7d965bba16e829ddcfecdf881a17ae5ef4c9413ae2a13447b76999ee463381b376abb029055407e4bc99dbadbf1df510a9f888958133caf9
|
7
|
+
data.tar.gz: b65cc1997e65da4ae7c88045652edef1f73fa6efe417a4f0e6c41b711b89ed21f9eb8f97cfdd576dd09e7b307d4960cd82cf60cd4613620c5d0cd44ebed2c2b0
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
moderate_parameters (0.3.
|
4
|
+
moderate_parameters (0.3.4)
|
5
5
|
actionpack (>= 4.2, < 6.1)
|
6
6
|
activemodel (>= 4.2, < 6.1)
|
7
7
|
activesupport (>= 4.2, < 6.1)
|
@@ -10,51 +10,51 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actionpack (6.0.
|
14
|
-
actionview (= 6.0.
|
15
|
-
activesupport (= 6.0.
|
13
|
+
actionpack (6.0.3.4)
|
14
|
+
actionview (= 6.0.3.4)
|
15
|
+
activesupport (= 6.0.3.4)
|
16
16
|
rack (~> 2.0, >= 2.0.8)
|
17
17
|
rack-test (>= 0.6.3)
|
18
18
|
rails-dom-testing (~> 2.0)
|
19
19
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
20
|
-
actionview (6.0.
|
21
|
-
activesupport (= 6.0.
|
20
|
+
actionview (6.0.3.4)
|
21
|
+
activesupport (= 6.0.3.4)
|
22
22
|
builder (~> 3.1)
|
23
23
|
erubi (~> 1.4)
|
24
24
|
rails-dom-testing (~> 2.0)
|
25
25
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
26
|
-
activemodel (6.0.
|
27
|
-
activesupport (= 6.0.
|
28
|
-
activesupport (6.0.
|
26
|
+
activemodel (6.0.3.4)
|
27
|
+
activesupport (= 6.0.3.4)
|
28
|
+
activesupport (6.0.3.4)
|
29
29
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
30
30
|
i18n (>= 0.7, < 2)
|
31
31
|
minitest (~> 5.1)
|
32
32
|
tzinfo (~> 1.1)
|
33
|
-
zeitwerk (~> 2.2)
|
33
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
34
34
|
appraisal (2.2.0)
|
35
35
|
bundler
|
36
36
|
rake
|
37
37
|
thor (>= 0.14.0)
|
38
38
|
builder (3.2.4)
|
39
39
|
coderay (1.1.2)
|
40
|
-
concurrent-ruby (1.1.
|
40
|
+
concurrent-ruby (1.1.7)
|
41
41
|
crass (1.0.6)
|
42
42
|
diff-lcs (1.3)
|
43
43
|
erubi (1.9.0)
|
44
|
-
i18n (1.8.
|
44
|
+
i18n (1.8.5)
|
45
45
|
concurrent-ruby (~> 1.0)
|
46
|
-
loofah (2.
|
46
|
+
loofah (2.7.0)
|
47
47
|
crass (~> 1.0.2)
|
48
48
|
nokogiri (>= 1.5.9)
|
49
49
|
method_source (0.9.2)
|
50
50
|
mini_portile2 (2.4.0)
|
51
|
-
minitest (5.14.
|
52
|
-
nokogiri (1.10.
|
51
|
+
minitest (5.14.2)
|
52
|
+
nokogiri (1.10.10)
|
53
53
|
mini_portile2 (~> 2.4.0)
|
54
54
|
pry (0.12.2)
|
55
55
|
coderay (~> 1.1.0)
|
56
56
|
method_source (~> 0.9.0)
|
57
|
-
rack (2.
|
57
|
+
rack (2.2.3)
|
58
58
|
rack-test (1.1.0)
|
59
59
|
rack (>= 1.0, < 3)
|
60
60
|
rails-dom-testing (2.0.3)
|
@@ -62,13 +62,13 @@ GEM
|
|
62
62
|
nokogiri (>= 1.6)
|
63
63
|
rails-html-sanitizer (1.3.0)
|
64
64
|
loofah (~> 2.3)
|
65
|
-
railties (6.0.
|
66
|
-
actionpack (= 6.0.
|
67
|
-
activesupport (= 6.0.
|
65
|
+
railties (6.0.3.4)
|
66
|
+
actionpack (= 6.0.3.4)
|
67
|
+
activesupport (= 6.0.3.4)
|
68
68
|
method_source
|
69
69
|
rake (>= 0.8.7)
|
70
70
|
thor (>= 0.20.3, < 2.0)
|
71
|
-
rake (
|
71
|
+
rake (13.0.1)
|
72
72
|
rspec (3.9.0)
|
73
73
|
rspec-core (~> 3.9.0)
|
74
74
|
rspec-expectations (~> 3.9.0)
|
@@ -86,9 +86,9 @@ GEM
|
|
86
86
|
rspec-core (>= 2, < 4, != 2.12.0)
|
87
87
|
thor (1.0.1)
|
88
88
|
thread_safe (0.3.6)
|
89
|
-
tzinfo (1.2.
|
89
|
+
tzinfo (1.2.7)
|
90
90
|
thread_safe (~> 0.1)
|
91
|
-
zeitwerk (2.
|
91
|
+
zeitwerk (2.4.0)
|
92
92
|
|
93
93
|
PLATFORMS
|
94
94
|
ruby
|
@@ -98,7 +98,7 @@ DEPENDENCIES
|
|
98
98
|
bundler (~> 2.0)
|
99
99
|
moderate_parameters!
|
100
100
|
pry (~> 0.12.2)
|
101
|
-
rake (~>
|
101
|
+
rake (~> 13.0)
|
102
102
|
rspec (~> 3.0)
|
103
103
|
rspec_junit_formatter (= 0.4.1)
|
104
104
|
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
By [Hint.io](https://hint.io)
|
7
7
|
|
8
|
-
[![Gem Version](https://badge.fury.io/rb/moderate_parameters.svg)](https://badge.fury.io/rb/moderate_parameters)
|
8
|
+
[![Gem Version](https://badge.fury.io/rb/moderate_parameters.svg)](https://badge.fury.io/rb/moderate_parameters) ![CI](https://github.com/hintmedia/moderate_parameters/workflows/CI/badge.svg) ![Appraisals](https://github.com/hintmedia/moderate_parameters/workflows/Appraisals/badge.svg) [![Maintainability](https://api.codeclimate.com/v1/badges/4971eb01d5bd98dbac8b/maintainability)](https://codeclimate.com/github/hintmedia/moderate_parameters/maintainability)
|
9
9
|
|
10
10
|
In our experience with [UpgradeRails](https://www.upgraderails.com), the migration from [protected_attributes](https://github.com/rails/protected_attributes) to [strong_parameters](https://api.rubyonrails.org/classes/ActionController/StrongParameters.html) can leave more questions than answers. It can be difficult to determine what data is originating from within the app and what is coming from the internet.
|
11
11
|
|
data/moderate_parameters.gemspec
CHANGED
@@ -43,7 +43,7 @@ Gem::Specification.new do |spec|
|
|
43
43
|
|
44
44
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
45
45
|
spec.add_development_dependency 'pry', '~> 0.12.2'
|
46
|
-
spec.add_development_dependency 'rake', '~>
|
46
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
47
47
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
48
48
|
spec.add_development_dependency 'rspec_junit_formatter', '0.4.1'
|
49
49
|
spec.add_development_dependency 'appraisal', '2.2.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moderate_parameters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Boe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -124,14 +124,14 @@ dependencies:
|
|
124
124
|
requirements:
|
125
125
|
- - "~>"
|
126
126
|
- !ruby/object:Gem::Version
|
127
|
-
version: '
|
127
|
+
version: '13.0'
|
128
128
|
type: :development
|
129
129
|
prerelease: false
|
130
130
|
version_requirements: !ruby/object:Gem::Requirement
|
131
131
|
requirements:
|
132
132
|
- - "~>"
|
133
133
|
- !ruby/object:Gem::Version
|
134
|
-
version: '
|
134
|
+
version: '13.0'
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: rspec
|
137
137
|
requirement: !ruby/object:Gem::Requirement
|