pedicel 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3217e14dfecc55bab0f78ee4590da4b12d560d829720ec44f78469a5b78180df
4
- data.tar.gz: f1ac8712d339aa2767187034376cb119b740b3f0b0535612be9cd6f40cce85a9
3
+ metadata.gz: fed4d4cabb18079674809c7c8468a1b95f1172d02f078a8eef15efc8dce7a719
4
+ data.tar.gz: 2f710bcded70d40aa3ae9d0466d353789c83aabce8ab7db2e8aabd65ba460299
5
5
  SHA512:
6
- metadata.gz: 74e8d791583b565e80d44a568f58596f1abc6cdea864745830140dae532b42fe48047a0a7d03422acbc54aba74145e1fd83079fc0d9a01e22b4832bc8157f8f9
7
- data.tar.gz: 571f62bc7861c87e6299bc35b6497b0273cec76a9dc7152e0c31b7a3ce96530f0120afcbfe9385af95caa9b89d4f7562d350e27917f5af0dc414778f30e94279
6
+ metadata.gz: 451f88546c04c1120931a1027451298aaab4fa78d0a8f11ff1854d16cae4f0cd934649782576a439f95c5b0b746c69a7ea9d65b94ecc1f814929312bf947e751
7
+ data.tar.gz: 2ac95f89473a58cc33230074a50a3a1cdc90182c4bdc525496d2bb8a8806f913efd1637e0ce4222b61d9428fde8831d62197a6c7b3b59cc41289021b3fa1fd60
@@ -102,7 +102,7 @@ module Pedicel
102
102
 
103
103
  Dry::Validation.register_macro(:is_iso4217_numeric) do
104
104
  if key?
105
- unless /\A[0-9]{3}\z/.match?(value)
105
+ unless /\A[0-9]{3}\z/.match?(value.rjust(3, "0"))
106
106
  key.failure(CUSTOM_ERRORS[:is_iso4217_numeric])
107
107
  end
108
108
  end
@@ -1,3 +1,3 @@
1
1
  module Pedicel
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.1.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pedicel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clearhaus
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-12 00:00:00.000000000 Z
11
+ date: 2023-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-validation
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: '1.8'
19
+ version: '1.9'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: '1.8'
26
+ version: '1.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dry-schema
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  requirements: []
142
- rubygems_version: 3.1.6
142
+ rubygems_version: 3.3.5
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Decryption of Apple Pay payment tokens