validates_identity-co_cc 0.1.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: 47de987a587b171e72a15d5fa13d8b5834a3f0b59dff29b2105da74d4491c83f
4
- data.tar.gz: bf6862d501ddcf5386ecbe4da5172c10bf839cc5cedd6a80a940d7f4f7aefee2
3
+ metadata.gz: 9bb43d3ab047bde877f7c2d0a326811ceab131c9400a245b67b455f6b163c6bf
4
+ data.tar.gz: e3d890b02a1e7015d41b054a1009af4284f7a6ac14c0d92b991b7029e1c914ed
5
5
  SHA512:
6
- metadata.gz: d56b55d32369f854187a04af4da7355c9278e5c45fe5d434bbb1a757a190762f39e71265184c048f5871bb878615c049385e5747251977e023afa06b2c858f79
7
- data.tar.gz: 514489ad5a5150bddb552ce4a6ddb25b22d8dd8eaf4da78277ea7fe3ef466575b8af6b85b582bc7e6e88690a0de63af5a1c261e193ddb083ec5d335363cdf4a9
6
+ metadata.gz: 0d2db2c7c6c5851f2d39ffeeeb3039144fe8b5bec470c367f414f65eaa3b6edbb1003f304187040c9880ae049faf43dd06fac5ab5143aa7cf54c5b95cef001a1
7
+ data.tar.gz: f308ea8e43756b8cb015458fdb327b7beee56a2050b4073970c2a34786c73a3c0896205a469095dd962c84bd1d0adb7901e55db5591e73dfb51160b4db837af0
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.0
1
+ 3.4.1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
- ## [Unreleased]
1
+ ## [1.0.1] - 2025-01-15
2
+
3
+ ### Fixed
4
+
5
+ - Allow numbers with 9 characters
6
+
7
+ ## [1.0.0] - 2024-03-22
8
+
9
+ ### Added
10
+
11
+ - First Production Ready version
12
+
13
+ ## [0.1.0] - 2024-03-22
2
14
 
3
15
  ### Added
4
16
 
5
- - Initial release
17
+ - Initial release
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- validates_identity-co_cc (0.1.0)
4
+ validates_identity-co_cc (1.0.0)
5
5
  activemodel
6
6
  validates_identity (>= 0.5.0)
7
7
 
@@ -3,7 +3,7 @@
3
3
  class ValidatesIdentity
4
4
  module CoCc
5
5
  class Validator
6
- VALIDATION_REGULAR_EXPRESSION = /\A\d{6,10}\z/i.freeze
6
+ VALIDATION_REGULAR_EXPRESSION = /\A\d{8,10}\z/i.freeze
7
7
 
8
8
  attr_reader :value
9
9
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  class ValidatesIdentity
4
4
  module CoCc
5
- VERSION = '0.1.0'
5
+ VERSION = '1.0.1'
6
6
  end
7
7
  end
@@ -10,5 +10,5 @@ class ValidatesIdentity
10
10
  end
11
11
 
12
12
  ValidatesIdentity.register_person_identity_type('CO_CC', ValidatesIdentity::CoCc::Validator)
13
- ValidatesIdentity::ShouldaMatchers.register_person_allowed_values('CO_CC', %w[123456 1234567 12345678 123456789 1234567890])
14
- ValidatesIdentity::ShouldaMatchers.register_person_disallowed_values('CO_CC', %w[12345 12345678901])
13
+ ValidatesIdentity::ShouldaMatchers.register_person_allowed_values('CO_CC', %w[12345678 123456789 1234567890])
14
+ ValidatesIdentity::ShouldaMatchers.register_person_disallowed_values('CO_CC', %w[1234567 12345678901])
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_identity-co_cc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Ribeiro
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-03-22 00:00:00.000000000 Z
10
+ date: 2025-01-15 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activemodel
@@ -38,7 +37,6 @@ dependencies:
38
37
  - - ">="
39
38
  - !ruby/object:Gem::Version
40
39
  version: 0.5.0
41
- description:
42
40
  email:
43
41
  - plribeiro3000@gmail.com
44
42
  executables: []
@@ -68,7 +66,6 @@ metadata:
68
66
  source_code_uri: https://github.com/plribeiro3000/validates_identity-co_cc/blob/master
69
67
  changelog_uri: https://github.com/plribeiro3000/validates_identity-co_cc/blob/master/CHANGELOG.md
70
68
  rubygems_mfa_required: 'true'
71
- post_install_message:
72
69
  rdoc_options: []
73
70
  require_paths:
74
71
  - lib
@@ -83,8 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
80
  - !ruby/object:Gem::Version
84
81
  version: '0'
85
82
  requirements: []
86
- rubygems_version: 3.5.3
87
- signing_key:
83
+ rubygems_version: 3.6.2
88
84
  specification_version: 4
89
85
  summary: Validates Colombia CC Document and test it with matchers in a simple way.
90
86
  test_files: []