aliquot 2.1.4 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aliquot/validator.rb +1 -0
- 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: cb3f37a6d610188befd4ac07925edcf74936e3ef6f5780d9632b54d647922354
|
4
|
+
data.tar.gz: df69dafe49ca4bbc153ac19641887def0c8e5e971d30dcf1c95ea366a848c197
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 938f813827c63d103e7673a82c7ff1d1015d81b8c3b874d86abc4a60f7b284c73851a4b210c0cd2515a20a3bfbdb880131df02811df33ef53c01e5a936f0461f
|
7
|
+
data.tar.gz: 385ad091276577c9b3559cdfa0d82d0157d4abf9ec5d1e495cf5fd69ca3a5149063ec3f4b5f08fd1d578486a68e11738c4ba1857be02d2bb5f4409e2084a051b
|
data/lib/aliquot/validator.rb
CHANGED
@@ -209,6 +209,7 @@ module Aliquot
|
|
209
209
|
required(:messageId).filled(:str?)
|
210
210
|
required(:paymentMethod).filled(:str?)
|
211
211
|
required(:paymentMethodDetails).filled(:hash).schema(PaymentMethodDetailsContract.schema)
|
212
|
+
optional(:gatewayMerchantId).filled(:str?)
|
212
213
|
end
|
213
214
|
rule(:messageExpiration).validate(:integer_string?)
|
214
215
|
rule(:paymentMethod) do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aliquot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clearhaus
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-validation
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.1
|
61
|
+
version: '2.1'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.1
|
68
|
+
version: '2.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|