-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Feature Faker::DNI or Faker::NIE #872
Comments
What kind of numbers are they, bank account numbers? company identifiers? other? |
@PuZZleDucK citizen identifier, is the number you use to identify yourself in an specific country. In Spain is DNI when you are born inside the country, and the NIE when you come from another country. Maybe it is an optional feature that depends on the country...yet I think it can be useful. https://en.wikipedia.org/wiki/National_identification_number |
Ahh... it seems faker has a I also think we should follow the example in |
* update rake * add id_number docs * add tests for ssn * add failing tests for spanish IDs * add spanish citizen ids for issue #872 * cleanup comments * give spanish_citizen_number correct checksum * add validation checksum to Spanish NIE * convert asserts into asert_equals * replacing string concatenation with interpolation * Minor changes * Run rubocop and fix lint
Closing this issue, because it looks like we've already worked on it. |
* update rake * add id_number docs * add tests for ssn * add failing tests for spanish IDs * add spanish citizen ids for issue faker-ruby#872 * cleanup comments * give spanish_citizen_number correct checksum * add validation checksum to Spanish NIE * convert asserts into asert_equals * replacing string concatenation with interpolation * Minor changes * Run rubocop and fix lint
I'd like to be able to generate random dni and nies like this http://generadordni.es/
The text was updated successfully, but these errors were encountered: