request_params_validation 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/request_params_validation.rb +0 -10
- data/lib/request_params_validation/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f4e626d56a20e8b4c032af6e86dfe8c9e7672b9458bf191484aaae246f3b532
|
4
|
+
data.tar.gz: 40242b2a079e6e97d25bcd3c3550b559db6c16c97ad50946ea637b55005f07e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a262fdc8d5246854d13441268288dd149e7e5cfd7c62c37ea38b586ff2c33401c07f556f121567494ae7499f6ae03ad6e3a427d20a6e284555bffd5d587e3ca
|
7
|
+
data.tar.gz: 64bd8e7fc3579bd796a48e660e2b3d227ca2e2a4f0d9a65850df72eb9bdba7346c6fba49af50111a141bcb844fbf93962aa93591f52509665e6b83be5b5c0e08
|
@@ -344,13 +344,3 @@ module RequestParamsValidation
|
|
344
344
|
end
|
345
345
|
end
|
346
346
|
end
|
347
|
-
|
348
|
-
# given some optional param validate another one if the given is present
|
349
|
-
# same_as option for example for password confirmation
|
350
|
-
# Parameters can be defined as mutually_exclusive, ensuring that they aren't present at the same time in a request.
|
351
|
-
# https://github.com/ruby-grape/grape#allow_blank
|
352
|
-
|
353
|
-
|
354
|
-
# Warning: Never define mutually exclusive sets with any required params. Two mutually exclusive required params will mean params are never valid, thus making the endpoint useless. One required param mutually exclusive with an optional param will mean the latter is never valid.
|
355
|
-
|
356
|
-
# Grape returns all validation and coercion errors found by default. To skip all subsequent validation checks when a specific param is found invalid, use fail_fast: true.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: request_params_validation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felipe Fava
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -72,7 +72,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 1.9.3
|
76
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - ">="
|