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

Make repo_package_query work w/ multiple options #124

Merged

Conversation

msabramo
Copy link
Contributor

instead of one at a time.

@coveralls
Copy link

coveralls commented Jul 23, 2016

Coverage Status

Coverage increased (+0.4%) to 97.661% when pulling f62c207 on msabramo:repo_package_query_multiple_options into e0b3638 on sepulworld:master.

qs_hash['q'] = repo_options[:query] if repo_options[:query]
qs_hash['format'] = repo_options[:format] if repo_options[:format]
qs_hash['withDeps'] = 1 if repo_options[:with_deps]
uri += '?' + URI.encode_www_form(qs_hash) if qs_hash
Copy link
Owner

Choose a reason for hiding this comment

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

Neat! Learned something new here!

@sepulworld sepulworld merged commit 9c21add into sepulworld:master Jul 23, 2016
@msabramo msabramo deleted the repo_package_query_multiple_options branch July 23, 2016 07:59
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.

3 participants