pedicel 1.0.0 → 1.0.1

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: 8effeb35a7193cf9470319b3666b17a7105e3abb94d404882ce5ca705feca4b3
4
+ data.tar.gz: 9586a185c9dd0c0ea2faeea433f938507391cc91c20e7000c1b1a60f47b70e52
5
5
  SHA512:
6
- metadata.gz: 74e8d791583b565e80d44a568f58596f1abc6cdea864745830140dae532b42fe48047a0a7d03422acbc54aba74145e1fd83079fc0d9a01e22b4832bc8157f8f9
7
- data.tar.gz: 571f62bc7861c87e6299bc35b6497b0273cec76a9dc7152e0c31b7a3ce96530f0120afcbfe9385af95caa9b89d4f7562d350e27917f5af0dc414778f30e94279
6
+ metadata.gz: f3ae4d8a50ec94b2f217a19c63aeeeeab150296d85b7716fe3b2ef2721839059eeb14c69e42c5f503f84f4662dec72e7b7e19292c40ccc2d7ef48eccf84a64fb
7
+ data.tar.gz: '091465c0bcdba0987a5cae1df961ae68f0c0f406278187072a9d7d980c2e20e51b419cd501924d96adfb4448917deaa5343465d69168d8fa0d80330ba1e23442'
@@ -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.0.1'.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.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clearhaus
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-12 00:00:00.000000000 Z
11
+ date: 2023-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-validation
@@ -108,7 +108,7 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.0'
111
- description:
111
+ description:
112
112
  email: hello@clearhaus.com
113
113
  executables: []
114
114
  extensions: []
@@ -124,7 +124,7 @@ homepage: https://github.com/clearhaus/pedicel
124
124
  licenses:
125
125
  - MIT
126
126
  metadata: {}
127
- post_install_message:
127
+ post_install_message:
128
128
  rdoc_options: []
129
129
  require_paths:
130
130
  - lib
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  version: '0'
141
141
  requirements: []
142
142
  rubygems_version: 3.1.6
143
- signing_key:
143
+ signing_key:
144
144
  specification_version: 4
145
145
  summary: Decryption of Apple Pay payment tokens
146
146
  test_files: []