validates_identity-br_cpf 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +2 -2
- data/lib/validates_identity/br_cpf/version.rb +1 -1
- data/lib/validates_identity/br_cpf.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6152ac6d75cedc0fd2e6806ade4af093337700d2f75636aeed08878add25fdf
|
4
|
+
data.tar.gz: 5f5117a0964403685b169cce9380438acfc921c82b11cf81ad034c0a4756f57e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7eb050568c8e15d35c2397dcece9a6a25957e2bfd6164343696e8ffac3dedb50a5662c6fdf7e9cadf7f6888b5f690b48afba84e4656cbf252fa00352ad78759
|
7
|
+
data.tar.gz: abb1437b94160cc7bb6fae128f0270f2a602e7e73383cae3fa0f9eb892e732211e845fc5755d596ff61bef44d2761c1eaabfd201364b954c28788fb57c189f22
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
validates_identity-br_cpf (0.
|
4
|
+
validates_identity-br_cpf (0.3.0)
|
5
5
|
activemodel
|
6
6
|
validates_identity
|
7
7
|
|
@@ -107,7 +107,7 @@ GEM
|
|
107
107
|
concurrent-ruby (~> 1.0)
|
108
108
|
unicode-display_width (2.5.0)
|
109
109
|
unicode_utils (1.4.0)
|
110
|
-
validates_identity (0.
|
110
|
+
validates_identity (0.4.0)
|
111
111
|
activemodel
|
112
112
|
|
113
113
|
PLATFORMS
|
@@ -10,3 +10,5 @@ class ValidatesIdentity
|
|
10
10
|
end
|
11
11
|
|
12
12
|
ValidatesIdentity.register_identity_type('BR_CPF', ValidatesIdentity::BrCpf::Validator)
|
13
|
+
ValidatesIdentity::ShouldaMatchers.register_allowed_values('BR_CPF', %w[897.546.112-20 67242509009])
|
14
|
+
ValidatesIdentity::ShouldaMatchers.register_disallowed_values('BR_CPF', %w[123456 897.546.112-30])
|