ci_uy.cr-deletion_scheduled-13508626
ci_uy
A shard to validate Uruguayan Identity Documents (Cedula de Identidad Uruguaya) - A port of: https://rubygems.org/gems/ci_uy
Installation
-
Add the dependency to your
shard.yml:dependencies: ci_uy: github: picandocodigo/ci_uy.cr -
Run
shards install
Usage
require "ci_uy"
CiUY.validate("1.111.111-1")
CiUY.validation_digit("2222222")
CiUY.random
It receives a string (or integer) and doesn't care what you use to separate the digits, it gets the numbers from the string and checks the verification digit. So all of these formats are valid: 1.111.111-1, 1_111_111_1, 1.111.111/1.
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/your-github-user/ci_uy/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Fernando Briano - creator and maintainer
Repository
ci_uy.cr-deletion_scheduled-13508626
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- about 3 hours ago
- July 26, 2019
License
MIT License
Links
Synced at
Tue, 12 May 2026 07:46:27 GMT
Languages