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

Add update task #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

lostapathy
Copy link

We keep running into missing zip codes and I noticed the list of PRs to manually add things one at a time seems like a lot of maintainer overhead.

This task lets you download the latest upstream file and incorporate all new zip codes in one shot. This could be extended to also download the upstream file automatically, but I did not include that because I wanted to mirror the behavior of the existing rake task. If you'd like me to add that I'm happy to.

Whether we can get this merged or not, though, it'd be great if we could cut a new gem version that includes all the added zip codes.

Thanks! This gem has been tremendously useful for us.

This task re-processes the upstream source file and adds missing zip
codes to the yml in the gem.  It is an add-only process and does not
modify or remove any conflicting data.

Also fixed a quoting mistake in the string parsing of existing convert
task.
Rake task picks up several new zip codes.  It appears the default
quoting of yaml changed since US.yml was originally saved and now
entries with a leading-zero are quoted where they weren't previously.
@lostapathy
Copy link
Author

@brodyhoskins is there any interest at all in the rake task in this PR, or should I give up on that and submit PRs for individual missing zip codes instead?

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.

1 participant