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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d6bf70a03976c0519c2bdd6837d69e17d506afdde580aa92b57d35ba019ff2d
4
- data.tar.gz: 1dc5c61e525bf59cea22ac9b39f1ea23b84272533846086e5a1d6dda8989d740
3
+ metadata.gz: f6152ac6d75cedc0fd2e6806ade4af093337700d2f75636aeed08878add25fdf
4
+ data.tar.gz: 5f5117a0964403685b169cce9380438acfc921c82b11cf81ad034c0a4756f57e
5
5
  SHA512:
6
- metadata.gz: b6b1684d2a8fe2c59107ed797814964ea9c3cea10bf079271ea91c75f7113366210126ba2718b5ad7a19ff9445910215ad253f1935e788bb89b5640eb5706f86
7
- data.tar.gz: 178b7b5ab93b711da094f16a21cff5191eebe9ab26311bfded54e115b189efe73cb0e475ddf96d154b8c21de2474dc99426406adca0bf89b0f4aae0b98e8c33f
6
+ metadata.gz: b7eb050568c8e15d35c2397dcece9a6a25957e2bfd6164343696e8ffac3dedb50a5662c6fdf7e9cadf7f6888b5f690b48afba84e4656cbf252fa00352ad78759
7
+ data.tar.gz: abb1437b94160cc7bb6fae128f0270f2a602e7e73383cae3fa0f9eb892e732211e845fc5755d596ff61bef44d2761c1eaabfd201364b954c28788fb57c189f22
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [0.3.0] - 2024-02-25
2
+
3
+ ### Added
4
+
5
+ - Matcher values for validation
6
+
1
7
  ## [0.2.0] - 2024-02-25
2
8
 
3
9
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- validates_identity-br_cpf (0.2.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.3.2)
110
+ validates_identity (0.4.0)
111
111
  activemodel
112
112
 
113
113
  PLATFORMS
@@ -2,6 +2,6 @@
2
2
 
3
3
  class ValidatesIdentity
4
4
  module BrCpf
5
- VERSION = '0.2.0'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
@@ -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])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_identity-br_cpf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Ribeiro