doc_validator 1.2.5 → 1.2.9

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: 00630e4c82c7cc29f4681fb3e379717fc17039e02328bd6f49b8a5b21aacc70f
4
- data.tar.gz: 3a29a7c36dc0ded72966bfa6c8294c10be7588c8a5f9a7de897b24a30b0196b4
3
+ metadata.gz: 0aae5d3e519b960b8ca9db6067cc57c0511a2688567d3195e74f5f0e9cd602f2
4
+ data.tar.gz: 16f89fcc2b925534f2b4959f0353b24f8b080a66e9f03b179fa9f4ffd574f828
5
5
  SHA512:
6
- metadata.gz: bec6ffda79e157eaa2eb3165e88599c6ace39989c88ddce1742ca92292f492144a94b31573963ec2a04516230a6983fbd1b88fb42942cb11fe1759ff6a132d3c
7
- data.tar.gz: 68e020b8194848cd32fc53a0c865533af46bd3c334608f1e43feaa5bb60d0c33f2fde7bd51c2a6e986bbddad76ba8efbff7d71450605ee63b2ace3ce2dbe386e
6
+ metadata.gz: 11a44eea3f0bf4e5f7b292e592ce4aa9066e44df148a16321d195c2c62795a90df2f8644f2626b3e57d09864992c904d50d9ccdf611ac4d907c6c815a3fe3f50
7
+ data.tar.gz: b364a289242cf89306e6326c4e9f3583a1075b1fea10629cccbdd0e7e896c016600a41e372feb50ceae466ad8a9ad79cf44b023e205d50c42f375c7e63bb7c8c
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module DocValidator
2
4
  class Cnpj
3
5
  def self.valid?(cnpj)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module DocValidator
2
4
  class Cpf
3
5
  def self.valid?(cpf)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module DocValidator
2
4
  class Rg
3
5
  def self.valid?(rg)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module DocValidator
2
- VERSION = "1.2.5"
4
+ VERSION = '1.2.9'
3
5
  end
data/lib/doc_validator.rb CHANGED
@@ -1,7 +1,9 @@
1
- require "doc_validator/version"
2
- require "doc_validator/cpf"
3
- require "doc_validator/cnpj"
4
- require "doc_validator/rg"
1
+ # frozen_string_literal: true
2
+
3
+ require 'doc_validator/version'
4
+ require 'doc_validator/cpf'
5
+ require 'doc_validator/cnpj'
6
+ require 'doc_validator/rg'
5
7
 
6
8
  module DocValidator
7
9
  # Aqui você pode incluir métodos gerais, se necessário
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doc_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maikon Douglas
@@ -10,75 +10,75 @@ cert_chain: []
10
10
  date: 2025-03-31 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
- name: rspec
13
+ name: bundler-audit
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '3.0'
18
+ version: '0.9'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '3.0'
25
+ version: '0.9'
26
26
  - !ruby/object:Gem::Dependency
27
- name: simplecov
27
+ name: pry
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: '0.21'
32
+ version: '0.13'
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.21'
39
+ version: '0.13'
40
40
  - !ruby/object:Gem::Dependency
41
- name: bundler-audit
41
+ name: rspec
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.9'
46
+ version: '3.0'
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0.9'
53
+ version: '3.0'
54
54
  - !ruby/object:Gem::Dependency
55
- name: pry
55
+ name: rubocop
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '0.13'
60
+ version: '1.0'
61
61
  type: :runtime
62
62
  prerelease: false
63
63
  version_requirements: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '0.13'
67
+ version: '1.0'
68
68
  - !ruby/object:Gem::Dependency
69
- name: rubocop
69
+ name: simplecov
70
70
  requirement: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '1.0'
74
+ version: '0.21'
75
75
  type: :runtime
76
76
  prerelease: false
77
77
  version_requirements: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '1.0'
81
+ version: '0.21'
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: bundler
84
84
  requirement: !ruby/object:Gem::Requirement
@@ -112,6 +112,7 @@ metadata:
112
112
  homepage_uri: https://github.com/maikondouglas/doc_validator
113
113
  source_code_uri: https://github.com/maikondouglas/doc_validator
114
114
  bug_tracker_uri: https://github.com/maikondouglas/doc_validator/issues
115
+ rubygems_mfa_required: 'true'
115
116
  rdoc_options: []
116
117
  require_paths:
117
118
  - lib