Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Faker::ChileRut #893

Merged
merged 11 commits into from
Jul 22, 2018
Merged

Add Faker::ChileRut #893

merged 11 commits into from
Jul 22, 2018

Conversation

oxfist
Copy link
Contributor

@oxfist oxfist commented Apr 22, 2017

No description provided.

Copy link
Member

@vbrazo vbrazo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good 👍

We have an IDNumber object that provides a few ssn methods. I think we should move your code to this object and then we'd be good to go.

Could you also please update the changelog and add your name + PR?

@vbrazo
Copy link
Member

vbrazo commented Jun 10, 2018

Could you please rebase/update your branch with master and fix the rubocop violations?

@oxfist
Copy link
Contributor Author

oxfist commented Jun 12, 2018

Sorry for the late response!

I really think Chileans would benefit a lot more from having this on a separate module since social security numbers from Spain are kinda different from the Chilean RUT. I put 'social security number' so it could be easily understood the sort of equivalence.

@vbrazo
Copy link
Member

vbrazo commented Jun 13, 2018

No problem. We can work with ChileRUT. Let me know when you update the branch.

@vbrazo vbrazo changed the title Adds chilean RUT (social security number equivalent) Add Faker::ChileRUT Jun 13, 2018
@vbrazo
Copy link
Member

vbrazo commented Jul 18, 2018

@oxfist any updates on this PR?

@oxfist
Copy link
Contributor Author

oxfist commented Jul 22, 2018

@vbrazo it's been really busy for me lately, so I apologize for the delay. I'm not really sure how to rebase my branch and I don't want to screw it up. Could you help me with it? I forked the repo and pushed the changes to that fork.

@vbrazo vbrazo changed the title Add Faker::ChileRUT Add Faker::ChileRut Jul 22, 2018
@vbrazo
Copy link
Member

vbrazo commented Jul 22, 2018

👍

@vbrazo vbrazo merged commit 12dbcda into faker-ruby:master Jul 22, 2018
davidmorton0 pushed a commit to davidmorton0/faker that referenced this pull request Jul 12, 2021
* Added ChileRUT class for generating Modulo 11 chilean RUTs and check digits.

* Improved ChileRUT docs.

* Update chile_rut.rb

* Update test_determinism.rb

* Update test_faker_chile_rut.rb

* Update CHANGELOG.md

* Update chile_rut.md

* Update README.md

* Update chile_rut.md

* Update test_faker_chile_rut.rb
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants