Skip to content
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

Adds FFaker::Bank.routing_number and accounting_number #543

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

professor
Copy link
Contributor

This adds FFaker::Bank.routing_number and accounting_number

For our use case, we're looking for realistic looking US Bank account numbers and routing numbers.
Accounting numbers can very between 9 and 17 digits (Reference) Routing numbers have a checksum calculation on the last digit.

@professor professor force-pushed the ts/adds-bank-routing-number branch 3 times, most recently from ad21fae to 0b31036 Compare September 8, 2023 15:41
Copy link
Contributor

@AlexWayfer AlexWayfer left a comment

Choose a reason for hiding this comment

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

I'm not against such methods.

But, we probably should think about US suffix somewhere (in the module name?), if it's specific to a country.

lib/ffaker/bank.rb Outdated Show resolved Hide resolved
lib/ffaker/bank.rb Outdated Show resolved Hide resolved
lib/ffaker/bank.rb Outdated Show resolved Hide resolved
test/test_bank.rb Outdated Show resolved Hide resolved
test/test_bank.rb Outdated Show resolved Hide resolved
@professor
Copy link
Contributor Author

But, we probably should think about US suffix somewhere (in the module name?), if it's specific to a country.

Done.

@professor professor force-pushed the ts/adds-bank-routing-number branch 2 times, most recently from 7345443 to 42297dd Compare September 11, 2023 23:07
Changelog.md Outdated Show resolved Hide resolved
@professor professor force-pushed the ts/adds-bank-routing-number branch 2 times, most recently from b8d1ac1 to 3ce0fd1 Compare September 18, 2023 23:42
Copy link
Member

@marocchino marocchino left a comment

Choose a reason for hiding this comment

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

👍🏽

@professor
Copy link
Contributor Author

@marocchino thank you for the approval. This PR has been in a green state for a little over 7 days with no new comments. I would love to see it merged this week.

@marocchino
Copy link
Member

You've waited too long. I think this will be okay.

@marocchino marocchino merged commit 1d749c4 into ffaker:main Sep 19, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants