full_metal_body 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +227 -0
- data/Rakefile +3 -0
- data/lib/full_metal_body/controllers/concerns/input_validation_action.rb +180 -0
- data/lib/full_metal_body/deep_sort.rb +43 -0
- data/lib/full_metal_body/dynamic_whitelist_generator.rb +201 -0
- data/lib/full_metal_body/input_key_utils.rb +29 -0
- data/lib/full_metal_body/input_validation.rb +148 -0
- data/lib/full_metal_body/internal/input_file_validator.rb +47 -0
- data/lib/full_metal_body/internal/input_string_validator.rb +60 -0
- data/lib/full_metal_body/internal/reasonable_boolean_validator.rb +16 -0
- data/lib/full_metal_body/internal/reasonable_date_validator.rb +27 -0
- data/lib/full_metal_body/models/blocked_action.rb +12 -0
- data/lib/full_metal_body/models/blocked_key.rb +12 -0
- data/lib/full_metal_body/railtie.rb +4 -0
- data/lib/full_metal_body/services/save_blocked_keys_service.rb +55 -0
- data/lib/full_metal_body/version.rb +3 -0
- data/lib/full_metal_body/whitelist_writer.rb +64 -0
- data/lib/full_metal_body.rb +9 -0
- data/lib/generators/full_metal_body/install/install_generator.rb +37 -0
- data/lib/generators/full_metal_body/install/templates/create_blocked_actions.rb.erb +22 -0
- data/lib/tasks/full_metal_body_tasks.rake +4 -0
- metadata +129 -0
metadata
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: full_metal_body
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Toyoaki Oko
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-03-01 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "<"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 7.1.0
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 6.0.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "<"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 7.1.0
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 6.0.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: pg
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.0'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: bury
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 2.0.0
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 2.0.0
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: appraisal
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
description: FullMetalBody is an input validation tool for ruby on rails.
|
76
|
+
email:
|
77
|
+
- chariderpato@gmail.com
|
78
|
+
executables: []
|
79
|
+
extensions: []
|
80
|
+
extra_rdoc_files: []
|
81
|
+
files:
|
82
|
+
- MIT-LICENSE
|
83
|
+
- README.md
|
84
|
+
- Rakefile
|
85
|
+
- lib/full_metal_body.rb
|
86
|
+
- lib/full_metal_body/controllers/concerns/input_validation_action.rb
|
87
|
+
- lib/full_metal_body/deep_sort.rb
|
88
|
+
- lib/full_metal_body/dynamic_whitelist_generator.rb
|
89
|
+
- lib/full_metal_body/input_key_utils.rb
|
90
|
+
- lib/full_metal_body/input_validation.rb
|
91
|
+
- lib/full_metal_body/internal/input_file_validator.rb
|
92
|
+
- lib/full_metal_body/internal/input_string_validator.rb
|
93
|
+
- lib/full_metal_body/internal/reasonable_boolean_validator.rb
|
94
|
+
- lib/full_metal_body/internal/reasonable_date_validator.rb
|
95
|
+
- lib/full_metal_body/models/blocked_action.rb
|
96
|
+
- lib/full_metal_body/models/blocked_key.rb
|
97
|
+
- lib/full_metal_body/railtie.rb
|
98
|
+
- lib/full_metal_body/services/save_blocked_keys_service.rb
|
99
|
+
- lib/full_metal_body/version.rb
|
100
|
+
- lib/full_metal_body/whitelist_writer.rb
|
101
|
+
- lib/generators/full_metal_body/install/install_generator.rb
|
102
|
+
- lib/generators/full_metal_body/install/templates/create_blocked_actions.rb.erb
|
103
|
+
- lib/tasks/full_metal_body_tasks.rake
|
104
|
+
homepage: https://github.com/hayashima/full_metal_body
|
105
|
+
licenses:
|
106
|
+
- MIT
|
107
|
+
metadata:
|
108
|
+
homepage_uri: https://github.com/hayashima/full_metal_body
|
109
|
+
source_code_uri: https://github.com/hayashima/full_metal_body
|
110
|
+
post_install_message:
|
111
|
+
rdoc_options: []
|
112
|
+
require_paths:
|
113
|
+
- lib
|
114
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
requirements: []
|
125
|
+
rubygems_version: 3.3.7
|
126
|
+
signing_key:
|
127
|
+
specification_version: 4
|
128
|
+
summary: FullMetalBody is an input validation tool for ruby on rails.
|
129
|
+
test_files: []
|