validates_identity-br_cpf 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3d6bf70a03976c0519c2bdd6837d69e17d506afdde580aa92b57d35ba019ff2d
4
+ data.tar.gz: 1dc5c61e525bf59cea22ac9b39f1ea23b84272533846086e5a1d6dda8989d740
5
+ SHA512:
6
+ metadata.gz: b6b1684d2a8fe2c59107ed797814964ea9c3cea10bf079271ea91c75f7113366210126ba2718b5ad7a19ff9445910215ad253f1935e788bb89b5640eb5706f86
7
+ data.tar.gz: 178b7b5ab93b711da094f16a21cff5191eebe9ab26311bfded54e115b189efe73cb0e475ddf96d154b8c21de2474dc99426406adca0bf89b0f4aae0b98e8c33f
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,16 @@
1
+ require:
2
+ - rubocop-rake
3
+ - rubocop-rspec
4
+
5
+ AllCops:
6
+ NewCops: enable
7
+ TargetRubyVersion: 2.6
8
+
9
+ Layout/LineLength:
10
+ Max: 150
11
+
12
+ Metrics/BlockLength:
13
+ Enabled: false
14
+
15
+ Style/Documentation:
16
+ Enabled: false
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ validate_identity
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.3.0
data/CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
1
+ ## [0.2.0] - 2024-02-25
2
+
3
+ ### Added
4
+
5
+ - Initial Implementation
6
+
7
+ ## [0.1.0] - 2024-02-25
8
+
9
+ ### Added
10
+
11
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at plribeiro3000@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in validates_identity-br_cpf.gemspec
6
+ gemspec
7
+
8
+ gem 'jazz_fingers'
9
+ gem 'rake'
10
+ gem 'rspec'
11
+ gem 'rubocop-rake'
12
+ gem 'rubocop-rspec'
13
+ gem 'shoulda-matchers'
data/Gemfile.lock ADDED
@@ -0,0 +1,127 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ validates_identity-br_cpf (0.2.0)
5
+ activemodel
6
+ validates_identity
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (7.1.3.2)
12
+ activesupport (= 7.1.3.2)
13
+ activesupport (7.1.3.2)
14
+ base64
15
+ bigdecimal
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ connection_pool (>= 2.2.5)
18
+ drb
19
+ i18n (>= 1.6, < 2)
20
+ minitest (>= 5.1)
21
+ mutex_m
22
+ tzinfo (~> 2.0)
23
+ amazing_print (1.5.0)
24
+ ast (2.4.2)
25
+ base64 (0.2.0)
26
+ bigdecimal (3.1.6)
27
+ byebug (11.1.3)
28
+ coderay (1.1.3)
29
+ concurrent-ruby (1.2.3)
30
+ connection_pool (2.4.1)
31
+ coolline (0.5.0)
32
+ unicode_utils (~> 1.4)
33
+ diff-lcs (1.5.1)
34
+ drb (2.2.0)
35
+ ruby2_keywords
36
+ i18n (1.14.1)
37
+ concurrent-ruby (~> 1.0)
38
+ jazz_fingers (6.2.0)
39
+ amazing_print (~> 1.3)
40
+ pry (~> 0.10)
41
+ pry-byebug (~> 3.9)
42
+ pry-coolline (~> 0.2)
43
+ json (2.7.1)
44
+ language_server-protocol (3.17.0.3)
45
+ method_source (1.0.0)
46
+ minitest (5.22.2)
47
+ mutex_m (0.2.0)
48
+ parallel (1.24.0)
49
+ parser (3.3.0.5)
50
+ ast (~> 2.4.1)
51
+ racc
52
+ pry (0.14.2)
53
+ coderay (~> 1.1)
54
+ method_source (~> 1.0)
55
+ pry-byebug (3.10.1)
56
+ byebug (~> 11.0)
57
+ pry (>= 0.13, < 0.15)
58
+ pry-coolline (0.2.6)
59
+ coolline (~> 0.5)
60
+ pry (~> 0.13)
61
+ racc (1.7.3)
62
+ rainbow (3.1.1)
63
+ rake (13.1.0)
64
+ regexp_parser (2.9.0)
65
+ rexml (3.2.6)
66
+ rspec (3.13.0)
67
+ rspec-core (~> 3.13.0)
68
+ rspec-expectations (~> 3.13.0)
69
+ rspec-mocks (~> 3.13.0)
70
+ rspec-core (3.13.0)
71
+ rspec-support (~> 3.13.0)
72
+ rspec-expectations (3.13.0)
73
+ diff-lcs (>= 1.2.0, < 2.0)
74
+ rspec-support (~> 3.13.0)
75
+ rspec-mocks (3.13.0)
76
+ diff-lcs (>= 1.2.0, < 2.0)
77
+ rspec-support (~> 3.13.0)
78
+ rspec-support (3.13.1)
79
+ rubocop (1.60.2)
80
+ json (~> 2.3)
81
+ language_server-protocol (>= 3.17.0)
82
+ parallel (~> 1.10)
83
+ parser (>= 3.3.0.2)
84
+ rainbow (>= 2.2.2, < 4.0)
85
+ regexp_parser (>= 1.8, < 3.0)
86
+ rexml (>= 3.2.5, < 4.0)
87
+ rubocop-ast (>= 1.30.0, < 2.0)
88
+ ruby-progressbar (~> 1.7)
89
+ unicode-display_width (>= 2.4.0, < 3.0)
90
+ rubocop-ast (1.30.0)
91
+ parser (>= 3.2.1.0)
92
+ rubocop-capybara (2.20.0)
93
+ rubocop (~> 1.41)
94
+ rubocop-factory_bot (2.25.1)
95
+ rubocop (~> 1.41)
96
+ rubocop-rake (0.6.0)
97
+ rubocop (~> 1.0)
98
+ rubocop-rspec (2.26.1)
99
+ rubocop (~> 1.40)
100
+ rubocop-capybara (~> 2.17)
101
+ rubocop-factory_bot (~> 2.22)
102
+ ruby-progressbar (1.13.0)
103
+ ruby2_keywords (0.0.5)
104
+ shoulda-matchers (6.1.0)
105
+ activesupport (>= 5.2.0)
106
+ tzinfo (2.0.6)
107
+ concurrent-ruby (~> 1.0)
108
+ unicode-display_width (2.5.0)
109
+ unicode_utils (1.4.0)
110
+ validates_identity (0.3.2)
111
+ activemodel
112
+
113
+ PLATFORMS
114
+ ruby
115
+ x86_64-darwin-21
116
+
117
+ DEPENDENCIES
118
+ jazz_fingers
119
+ rake
120
+ rspec
121
+ rubocop-rake
122
+ rubocop-rspec
123
+ shoulda-matchers
124
+ validates_identity-br_cpf!
125
+
126
+ BUNDLED WITH
127
+ 2.5.3
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Paulo Ribeiro
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,68 @@
1
+ # ValidatesIdentity::BrCpf
2
+
3
+ This projects aims to validate Brazilian [CPF](https://pt.wikipedia.org/wiki/Cadastro_de_Pessoas_F%C3%ADsicas) identification document.
4
+ This project depends on `validates_identity` gem and is a plugin for it.
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'validates_identity-br_cpf'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ $ bundle install
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install validates_identity-br_cpf
21
+
22
+ ## Usage
23
+
24
+ Just use as any other validator:
25
+
26
+ ```ruby
27
+ class User < ActiveRecord::Base
28
+ # :identity_type is the attribute that will be used to determine the identity type and is required
29
+ validates :identity, identity: { identity_type: :identity_type }
30
+ end
31
+ ```
32
+
33
+ ## Advanced Usage
34
+
35
+ New Identity Validators can be registered through the public apis of `ValidatesIdentity`
36
+
37
+ ```ruby
38
+ ValidatesIdentity.register_identity_type('CustomIdentity', CustomIdentityValidator)
39
+ ```
40
+
41
+ Each Validator should have:
42
+
43
+ - a constructor with 2 params: `value` and `options` as a hash
44
+ - a `valid?` method that returns a boolean
45
+
46
+ In case of a legacy system where keys were already defined and differ from the official ones, aliases can be registered as well
47
+
48
+ ```ruby
49
+ ValidatesIdentity.register_identity_type_alias('LegacyIdentity', 'CustomIdentity')
50
+ ```
51
+
52
+ ## Development
53
+
54
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
55
+
56
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
57
+
58
+ ## Contributing
59
+
60
+ Bug reports and pull requests are welcome on GitHub at https://github.com/plribeiro3000/validates_identity-br_cpf. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/plribeiro3000/validates_identity-br_cpf/blob/master/CODE_OF_CONDUCT.md).
61
+
62
+ ## License
63
+
64
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
65
+
66
+ ## Code of Conduct
67
+
68
+ Everyone interacting in the ValidatesIdentity::BrCpf project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/plribeiro3000/validates_identity-br_cpf/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require 'rubocop/rake_task'
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,76 @@
1
+ # frozen_string_literal: true
2
+
3
+ class ValidatesIdentity
4
+ module BrCpf
5
+ class Validator
6
+ VALIDATION_REGULAR_EXPRESSION = /^(\d{3}\.?\d{3}\.?\d{3})-?(\d{2})$/.freeze
7
+ FORMAT_REGULAR_EXPRESSION = /(\d{3})(\d{3})(\d{3})(\d{2})/.freeze
8
+
9
+ attr_reader :value
10
+
11
+ def initialize(value)
12
+ @value = value
13
+ end
14
+
15
+ def valid?
16
+ return true if value.blank?
17
+ return false unless number
18
+ return false if striped_value.length != 11
19
+ return false if striped_value.scan(/\d/).uniq.length == 1
20
+
21
+ verifier_digits == "#{first_digit_verifier}#{second_digit_verifier}"
22
+ end
23
+
24
+ def formatted
25
+ return if number.nil?
26
+
27
+ result = FORMAT_REGULAR_EXPRESSION.match(striped_value)
28
+ "#{result[1]}.#{result[2]}.#{result[3]}-#{result[4]}"
29
+ end
30
+
31
+ private
32
+
33
+ def result
34
+ @result ||= VALIDATION_REGULAR_EXPRESSION.match(value)
35
+ end
36
+
37
+ def number
38
+ return if result.nil?
39
+
40
+ @number ||= result[1]
41
+ end
42
+
43
+ def striped_value
44
+ return if number.nil?
45
+
46
+ @striped_value ||= value.gsub(/[\.-]/, '')
47
+ end
48
+
49
+ def verifier_digits
50
+ return if result.nil?
51
+
52
+ @verifier_digits ||= result[2]
53
+ end
54
+
55
+ def first_digit_verifier
56
+ sum = multiply_and_sum([10, 9, 8, 7, 6, 5, 4, 3, 2], number)
57
+ digit_verifier(sum % 11).to_s
58
+ end
59
+
60
+ def second_digit_verifier
61
+ sum = multiply_and_sum([11, 10, 9, 8, 7, 6, 5, 4, 3, 2], "#{number}#{first_digit_verifier}")
62
+ digit_verifier(sum % 11).to_s
63
+ end
64
+
65
+ def multiply_and_sum(array, number)
66
+ multiplied = []
67
+ number.scan(/\d{1}/).each_with_index { |e, i| multiplied[i] = e.to_i * array[i] }
68
+ multiplied.inject { |s, e| s + e }
69
+ end
70
+
71
+ def digit_verifier(rest)
72
+ rest < 2 ? 0 : 11 - rest
73
+ end
74
+ end
75
+ end
76
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ class ValidatesIdentity
4
+ module BrCpf
5
+ VERSION = '0.2.0'
6
+ end
7
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'validates_identity'
4
+ require_relative 'br_cpf/version'
5
+
6
+ class ValidatesIdentity
7
+ module BrCpf
8
+ autoload :Validator, 'validates_identity/br_cpf/validator'
9
+ end
10
+ end
11
+
12
+ ValidatesIdentity.register_identity_type('BR_CPF', ValidatesIdentity::BrCpf::Validator)
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/validates_identity/br_cpf/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'validates_identity-br_cpf'
7
+ spec.version = ValidatesIdentity::BrCpf::VERSION
8
+ spec.authors = ['Paulo Ribeiro']
9
+ spec.email = ['plribeiro3000@gmail.com']
10
+
11
+ spec.summary = 'Validates Brazilian CPF Document and test it with matchers in a simple way.'
12
+ spec.homepage = 'https://github.com/plribeiro3000/validates_identity-br_cpf'
13
+ spec.license = 'MIT'
14
+ spec.required_ruby_version = '>= 2.6.0'
15
+
16
+ spec.metadata['homepage_uri'] = spec.homepage
17
+ spec.metadata['source_code_uri'] = 'https://github.com/plribeiro3000/validates_identity-br_cpf/blob/master'
18
+ spec.metadata['changelog_uri'] = 'https://github.com/plribeiro3000/validates_identity-br_cpf/blob/master/CHANGELOG.md'
19
+
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
23
+ `git ls-files -z`.split("\x0").reject do |f|
24
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
25
+ end
26
+ end
27
+ spec.bindir = 'exe'
28
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ['lib']
30
+
31
+ spec.add_runtime_dependency 'activemodel'
32
+ spec.add_runtime_dependency 'validates_identity'
33
+ spec.metadata['rubygems_mfa_required'] = 'true'
34
+ end
metadata ADDED
@@ -0,0 +1,90 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: validates_identity-br_cpf
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Paulo Ribeiro
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-02-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activemodel
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: validates_identity
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description:
42
+ email:
43
+ - plribeiro3000@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".rspec"
49
+ - ".rubocop.yml"
50
+ - ".ruby-gemset"
51
+ - ".ruby-version"
52
+ - CHANGELOG.md
53
+ - CODE_OF_CONDUCT.md
54
+ - Gemfile
55
+ - Gemfile.lock
56
+ - LICENSE.txt
57
+ - README.md
58
+ - Rakefile
59
+ - lib/validates_identity/br_cpf.rb
60
+ - lib/validates_identity/br_cpf/validator.rb
61
+ - lib/validates_identity/br_cpf/version.rb
62
+ - validates_identity-br_cpf.gemspec
63
+ homepage: https://github.com/plribeiro3000/validates_identity-br_cpf
64
+ licenses:
65
+ - MIT
66
+ metadata:
67
+ homepage_uri: https://github.com/plribeiro3000/validates_identity-br_cpf
68
+ source_code_uri: https://github.com/plribeiro3000/validates_identity-br_cpf/blob/master
69
+ changelog_uri: https://github.com/plribeiro3000/validates_identity-br_cpf/blob/master/CHANGELOG.md
70
+ rubygems_mfa_required: 'true'
71
+ post_install_message:
72
+ rdoc_options: []
73
+ require_paths:
74
+ - lib
75
+ required_ruby_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: 2.6.0
80
+ required_rubygems_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ requirements: []
86
+ rubygems_version: 3.5.3
87
+ signing_key:
88
+ specification_version: 4
89
+ summary: Validates Brazilian CPF Document and test it with matchers in a simple way.
90
+ test_files: []