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

Suggest alternatives in gem query deprecation #4021

Conversation

landongrindheim
Copy link
Contributor

@landongrindheim landongrindheim commented Oct 16, 2020

What was the end-user or developer problem that led to this PR?

gem query was deprecated in rubygems 3.2. Prior to the command being deprecated, there was an injunction to use list or search. While the query command is going away, the usefulness of this suggestion is still present, as pointed out in #3984.

@deivid-rodriguez's comment on the linked issue suggested adding suggestions for the now-deprecated query command, along with adding information about the deprecation to rubygems.org.

Note: since the described problem requires changes in two repositories, this is the first of two pull requests to address this issue.

Make sure he following tasks are checked

`gem query` was deprecated in rubygems 3.2. Prior to the command being
deprecated, there was an injunction to use `list` or `search`. While
the `query` command is going away, the usefulness of this suggestion is
still present, as pointed out in rubygems#3984.
@welcome
Copy link

welcome bot commented Oct 16, 2020

Thanks for opening a pull request and helping make RubyGems and Bundler better! Someone from the RubyGems team will take a look at your pull request shortly and leave any feedback. Please make sure that your pull request has tests for any changes or added functionality.

We use GitHub Actions to test and make sure your change works functionally and uses acceptable conventions, you can review the current progress of GitHub Actions in the PR status window below.

If you have any questions or concerns that you wish to ask, feel free to leave a comment in this PR or join our #rubygems or #bundler channel on Slack.

For more information about contributing to the RubyGems project feel free to review our CONTRIBUTING guide

Copy link
Member

@deivid-rodriguez deivid-rodriguez left a comment

Choose a reason for hiding this comment

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

This looks good to me, thanks!

@deivid-rodriguez deivid-rodriguez merged commit 61447f3 into rubygems:master Oct 20, 2020
deivid-rodriguez added a commit that referenced this pull request Dec 7, 2020
…ves-to-deprecation-warning

Suggest alternatives in `gem query` deprecation

(cherry picked from commit 61447f3)
deivid-rodriguez added a commit that referenced this pull request Dec 7, 2020
…ves-to-deprecation-warning

Suggest alternatives in `gem query` deprecation

(cherry picked from commit 61447f3)
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.

None yet

3 participants