validates_identity-co_nit 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fa643aa51dba7d2879f078857dbc300c10dfbc07c25a1b732300386f42f9f54
4
- data.tar.gz: '0449f7e22f1c19423499b18f9add00913f2e0c569ec02c232f02cfd3d5ef9dc0'
3
+ metadata.gz: fff60d69c476ea1165474451ccd0c5aa24eb0c52053a8e841006a69a6b3ca7a7
4
+ data.tar.gz: fa765915dee50dfcb70acd89274db72e3dae40785df1643faf7e7e4fc19a7999
5
5
  SHA512:
6
- metadata.gz: d1df11967b7d97254a394115bbc8feaec7b8d42cae4199f3cee295be396fe7ec4f5e12fd75cbbf532c6490dc49a3ad9fb9febf5213b0cc2c029f9a262f1ce808
7
- data.tar.gz: a11bc32f1355abc791f3fd8fcf864a51312da6eb8f11cf631ea4c810e79eaa2f3833febdfe72689efe7024b47259bd21e4ad2207f407e19630c66c1c99870e2e
6
+ metadata.gz: ce141786d063661eb183eba3926ff0eb21b6bfbe0754d81cdc8596b982f910b8129c6f4b33c4f7481c56f1f81b388fe8440d97a25677d9478a0050b64abdfd03
7
+ data.tar.gz: 6b83fcb82096b3fe7faa39658fe764267df666e1475859c11353be43b39698f2f48bfcfaf77eb340979d9bb155d7c7e00699a0470834dea52a882eab8a39c678
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ validate_identity
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.3.0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ### Added
4
+
5
+ - Ruby version file
6
+ - Ruby gemset file
7
+
8
+ ### Changed
9
+
10
+ - Bump bundler version
11
+
12
+ ### Fixed
13
+
14
+ - Identity Formatting
15
+
16
+ ## [0.1.1] - 2024-03-05
17
+
18
+ ### Fixed
19
+
20
+ - Project Description
21
+
3
22
  ## [0.1.0] - 2024-03-05
4
23
 
24
+ ### Added
25
+
5
26
  - Initial release
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- validates_identity-co_nit (0.1.0)
4
+ validates_identity-co_nit (0.1.1)
5
5
  activemodel
6
6
  validates_identity (>= 0.5.0)
7
7
 
@@ -110,6 +110,7 @@ GEM
110
110
  activemodel
111
111
 
112
112
  PLATFORMS
113
+ x86_64-darwin-21
113
114
  x86_64-linux
114
115
 
115
116
  DEPENDENCIES
@@ -122,4 +123,4 @@ DEPENDENCIES
122
123
  validates_identity-co_nit!
123
124
 
124
125
  BUNDLED WITH
125
- 2.3.12
126
+ 2.5.6
@@ -21,7 +21,7 @@ class ValidatesIdentity
21
21
  def formatted
22
22
  return if result.nil?
23
23
 
24
- "#{result[1]}-#{result[2]}-#{result[3]}"
24
+ "#{result[1]}.#{result[2]}.#{result[3]}-#{verifier_digit}"
25
25
  end
26
26
 
27
27
  private
@@ -2,6 +2,6 @@
2
2
 
3
3
  class ValidatesIdentity
4
4
  module CoNit
5
- VERSION = '0.1.1'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_identity-co_nit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JonatascNascimento
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-06 00:00:00.000000000 Z
11
+ date: 2024-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -47,6 +47,8 @@ extra_rdoc_files: []
47
47
  files:
48
48
  - ".rspec"
49
49
  - ".rubocop.yml"
50
+ - ".ruby-gemset"
51
+ - ".ruby-version"
50
52
  - CHANGELOG.md
51
53
  - CODE_OF_CONDUCT.md
52
54
  - Gemfile
@@ -81,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
83
  - !ruby/object:Gem::Version
82
84
  version: '0'
83
85
  requirements: []
84
- rubygems_version: 3.3.7
86
+ rubygems_version: 3.5.3
85
87
  signing_key:
86
88
  specification_version: 4
87
89
  summary: Validates Colombia NIT Document and test it with matchers in a simple way.