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

Data source fix for ha locale #1914

Merged
merged 2 commits into from
Feb 14, 2020
Merged

Data source fix for ha locale #1914

merged 2 commits into from
Feb 14, 2020

Conversation

psibi
Copy link
Member

@psibi psibi commented Jan 19, 2020

Summary of the changes:

  • country_code should be under address
  • city_suffix is empty and isn't used anywhere
  • direction doesn't contain any data for compass. Only when
    cardinal, ordinal and half wind has direction fields, this should be
    present.

Summary of the changes:
* `country_code` should be under address
* `city_suffix` is empty and isn't used anywhere
* `direction` doesn't contain any data for compass. Only when
cardinal, ordinal and half wind has direction fields, this should be
present.
@psibi
Copy link
Member Author

psibi commented Jan 19, 2020

Have pushed a commit which will hopefully fix the failing tests. The test seems to have the wrong assumption that country_code should be under PhoneNumber. As documented in the public API, it should be exposed under Address: https://github.com/faker-ruby/faker/blob/master/doc/default/address.md

@psibi
Copy link
Member Author

psibi commented Jan 26, 2020

Phew! The tests has been finally fixed.

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.

thanks man 👍

@vbrazo vbrazo merged commit a329170 into faker-ruby:master Feb 14, 2020
@psibi
Copy link
Member Author

psibi commented Feb 14, 2020

@vbrazo Thanks for merging this and the other MR's!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants