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 ability to configure defaults #184

Merged
merged 3 commits into from
May 13, 2021

Conversation

p-wall
Copy link
Contributor

@p-wall p-wall commented Apr 27, 2021

This allows configuring defaults, for example excluding certain countries app-wide.

Closes #183

@p-wall p-wall force-pushed the feature-config-except branch from 689118c to 982b371 Compare April 27, 2021 09:19
@olleolleolle
Copy link
Contributor

@p-wall This is super, and works well!

Should we add a README note about this feature, to teach it to people scanning the README?

Copy link
Collaborator

@scudco scudco left a comment

Choose a reason for hiding this comment

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

Thanks for submitting this with tests @p-wall! This will be a good contribution :)

I have one request around how values are accessed, and I would second @olleolleolle's suggestion to add information to the README.

lib/country_select/tag_helper.rb Outdated Show resolved Hide resolved
spec/country_select_spec.rb Outdated Show resolved Hide resolved
@p-wall
Copy link
Contributor Author

p-wall commented May 4, 2021

Updated to use fetch and added a section to the README :)

@olleolleolle
Copy link
Contributor

@scudco @p-wall This looks super, thanks all!

spec/country_select_spec.rb Outdated Show resolved Hide resolved
@olleolleolle
Copy link
Contributor

@scudco Cool, is this like ready to go?

@p-wall p-wall requested a review from scudco May 12, 2021 08:17
@scudco scudco merged commit 0124c5b into countries:master May 13, 2021
@scudco
Copy link
Collaborator

scudco commented May 13, 2021

I'll get a release out on rubygems in the next couple days. Thanks @p-wall and @olleolleolle

@p-wall p-wall deleted the feature-config-except branch May 17, 2021 06:12
@p-wall p-wall restored the feature-config-except branch May 17, 2021 06:12
@p-wall p-wall deleted the feature-config-except branch May 18, 2021 16:36
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.

Feature request: Allow user-configured defaults for "except:" option
4 participants