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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c20b8745b806808c41cbc90ec9eea641bd2bf4530621225d68fcf5678367da59
4
- data.tar.gz: 567570643a25a91a22cdbfde4ae416a26e32c83b27447be9210cd3309747043c
3
+ metadata.gz: 2f4e626d56a20e8b4c032af6e86dfe8c9e7672b9458bf191484aaae246f3b532
4
+ data.tar.gz: 40242b2a079e6e97d25bcd3c3550b559db6c16c97ad50946ea637b55005f07e9
5
5
  SHA512:
6
- metadata.gz: cd6e167c9a3edc7dbc52306405d66aa370aa73cfe90c225bfb90d6dbd4a6750a26448adf3a4d25d9ffe7443c26681a0c190efa7bad9a0f99b436f99b07cfaf8d
7
- data.tar.gz: e27ef25b9b6969f089fd78bd6f7b1b12efd43f90dd7fa4c97ee40c080c828e2483bbe987bffe456704b29b8bfac829c23a7503537c99ea63f016a25d53e7b09c
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.
@@ -1,3 +1,3 @@
1
1
  module RequestParamsValidation
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
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.0
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-09 00:00:00.000000000 Z
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: '0'
75
+ version: 1.9.3
76
76
  required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - ">="