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

Code Improvement: Inheritance corrected #1942

Merged
merged 1 commit into from Jun 5, 2017
Merged

Conversation

shivabhusal
Copy link
Contributor

Description:

Class inherited from Gem::Commands::QueryCommand here instead of Gem::Command.

Reason:

I have copied code from another command file but forgot to change this portion of code.

Thanks for point this out @simi.


Tasks:

  • Describe the problem / feature
  • [] Get code review from coworkers / friends

I will abide by the code of conduct.

@simi
Copy link
Member

simi commented Jun 5, 2017

Is that remove_option still needed also?

https://github.com/rubygems/rubygems/pull/1942/files#diff-2f4ccf4e08dba90f734c2f15cd2c47d8R9

@segiddins
Copy link
Member

Cool, thanks!

@homu r+

@homu
Copy link
Contributor

homu commented Jun 5, 2017

📌 Commit f641120 has been approved by segiddins

@homu
Copy link
Contributor

homu commented Jun 5, 2017

⌛ Testing commit f641120 with merge 6d63769...

homu added a commit that referenced this pull request Jun 5, 2017
Code Improvement: Inheritance corrected

# Description:
Class inherited from `Gem::Commands::QueryCommand` here instead of `Gem::Command`.

## Reason:
I have copied code from another command file but forgot to change this portion of code.

Thanks for point this out @simi.
______________

# Tasks:

- [x] Describe the problem / feature
- [] Get code review from coworkers / friends

I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
@homu
Copy link
Contributor

homu commented Jun 5, 2017

☀️ Test successful - status

@homu homu merged commit f641120 into rubygems:master Jun 5, 2017
@bundlerbot
Copy link
Collaborator

💥 Test timed out

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.

None yet

6 participants