validates_identity-pa_ruc 0.1.0 → 1.0.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: 187b40bdac9610cd86cff02a051ac40fb3a53c721f909c3ff41d908cccf86b2a
4
- data.tar.gz: d865f56bd0b56c85e42ba85049d9db5960eece3286589ecaa8ee7ab3f2b4fce7
3
+ metadata.gz: '058f47429f9d90db498a7dba9b020db86dd46078dedaa6b2d07d55703a0b4bf5'
4
+ data.tar.gz: a2e03f22a734bae781b4a9db68e9d39454047014b6be6e75bf040923a34102d2
5
5
  SHA512:
6
- metadata.gz: 0b7f9678113ecd47c358afd0a7a9143f10a3bf1044e187bd6d88b5f24184d8fbb4eaeeb592a306ac5bf62c5094db6da55894b169de47c7ad406319bd9eb466a9
7
- data.tar.gz: ecf7870a8d00aae47af3a77b3f6ff22ff6dcf71c4635469d35d87f2b1660761b793aa1eb6260374c0b6e0e3497c3606f91d5f62ee3e1a7cd1fd2594446ad11d4
6
+ metadata.gz: 95763a0ea7682761aa6c5587f20d87446689a853e90baae842d75270daf3860871b0b32e715b445c3b3b1988c5d29eec7fd068598d2682aaf1ce2abb257c775c
7
+ data.tar.gz: cd2b867a88bbb08b1893c65e854c66a053ac8782a3daf0674c016cdec8ab723da0ec879f99e8a57f1a8442775ff5ccfa3033840aa959a32e5b42b6782b656a31
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [1.0.0] - 2024-02-29
2
+
3
+ ### Changed
4
+
5
+ - First deployable version. Ready to Production
6
+
1
7
  ## [0.1.0] - 2024-02-28
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-pa_ruc (0.1.0)
4
+ validates_identity-pa_ruc (1.0.0)
5
5
  activemodel
6
6
  validates_identity (>= 0.5.0)
7
7
 
@@ -112,6 +112,7 @@ GEM
112
112
 
113
113
  PLATFORMS
114
114
  x86_64-darwin-21
115
+ x86_64-linux
115
116
 
116
117
  DEPENDENCIES
117
118
  jazz_fingers
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  This projects aims to validate Panama [Registro Único de Contribuyente](https://es.wikipedia.org/wiki/Documento_Personal_de_Identificaci%C3%B3n) identification document.
4
4
  This project depends on `validates_identity` gem and is a plugin for it.
5
- This project is based on documentations found [here](https://learn.sayari.com/interpreting-guatemalan-national-id-numbers/) and [here](https://www.mineduc.gob.gt/DIGEESP/documents/adecuacionesCurriculares/Documentos%20de%20Apoyo/C%C3%B3digos%20Departamentos-Municipios-Idiomas.pdf)
6
5
 
7
6
  ## Installation
8
7
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  class ValidatesIdentity
4
4
  module PaRuc
5
- VERSION = '0.1.0'
5
+ VERSION = '1.0.0'
6
6
  end
7
7
  end
@@ -11,10 +11,10 @@ class ValidatesIdentity
11
11
  end
12
12
 
13
13
  # Legal
14
- ValidatesIdentity.register_legal_identity_type('PA_RUCL', ValidatesIdentity::PaRuc::LegalValidator)
15
- ValidatesIdentity::ShouldaMatchers.register_legal_allowed_values('PA_RUCL', %w[123456789-2-2015 10101010-1-2001 12312123-3-2040])
16
- ValidatesIdentity::ShouldaMatchers.register_legal_disallowed_values('PA_RUCL', %w[90-234-1-23 10-0-123-123])
14
+ ValidatesIdentity.register_legal_identity_type('PA_RUC_LEGAL', ValidatesIdentity::PaRuc::LegalValidator)
15
+ ValidatesIdentity::ShouldaMatchers.register_legal_allowed_values('PA_RUC_LEGAL', %w[123456789-2-2015 10101010-1-2001 12312123-3-2040])
16
+ ValidatesIdentity::ShouldaMatchers.register_legal_disallowed_values('PA_RUC_LEGAL', %w[90-234-1-23 10-0-123-123])
17
17
  # Person
18
- ValidatesIdentity.register_person_identity_type('PA_RUCP', ValidatesIdentity::PaRuc::PersonValidator)
19
- ValidatesIdentity::ShouldaMatchers.register_person_allowed_values('PA_RUCP', %w[PE-23-123 10-1-123])
20
- ValidatesIdentity::ShouldaMatchers.register_person_disallowed_values('PA_RUCP', %w[90-234-123 10-0123-123])
18
+ ValidatesIdentity.register_person_identity_type('PA_RUC_PERSON', ValidatesIdentity::PaRuc::PersonValidator)
19
+ ValidatesIdentity::ShouldaMatchers.register_person_allowed_values('PA_RUC_PERSON', %w[PE-23-123 10-1-123])
20
+ ValidatesIdentity::ShouldaMatchers.register_person_disallowed_values('PA_RUC_PERSON', %w[90-234-123 10-0123-123])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_identity-pa_ruc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Ribeiro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-28 00:00:00.000000000 Z
11
+ date: 2024-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel