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

Simplify deprecate command method #2974

Merged
6 commits merged into from
Nov 19, 2019
Merged

Conversation

bronzdoc
Copy link
Member

Description:

Simplify Gem::Deprecate#deprecate_command that was introduced here #2935


I will abide by the code of conduct.

@bronzdoc bronzdoc changed the title Simplify deprecate comamnd method Simplify deprecate command method Oct 31, 2019
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.

Wow, the API looked just fine, but this implementation is much simpler, nice work!

Just added one comment on a test that I think we're missing.

test/rubygems/test_deprecate.rb Show resolved Hide resolved
@duckinator
Copy link
Member

@bronzdoc woah, this is a great improvement, nicely done! After you add the test @deivid-rodriguez mentioned, I think this is good to go!

@bronzdoc bronzdoc force-pushed the simplify-deprecate-comamnd-method branch from 3235920 to e9e7c38 Compare November 9, 2019 15:16
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.

I'm sorry for the delay @bronzdoc. Looks great!

@deivid-rodriguez
Copy link
Member

@bundlerbot r+

ghost pushed a commit that referenced this pull request Nov 19, 2019
2974: Simplify deprecate command method r=deivid-rodriguez a=bronzdoc

# Description:
 
Simplify `Gem::Deprecate#deprecate_command` that was introduced here #2935
______________

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


Co-authored-by: bronzdoc <lsagastume1990@gmail.com>
@ghost
Copy link

ghost commented Nov 19, 2019

Build succeeded

  • macos (2.4.x)
  • macos (2.5.x)
  • macos (2.6.x)
  • ruby_master
  • ubuntu (2.3.x, bundler)
  • ubuntu (2.3.x, rubygems)
  • ubuntu (2.4.x, bundler)
  • ubuntu (2.4.x, rubygems)
  • ubuntu (2.5.x, bundler)
  • ubuntu (2.5.x, rubygems)
  • ubuntu (2.6.x, bundler)
  • ubuntu (2.6.x, rubygems)
  • ubuntu_bundler_master (2.6.x)
  • ubuntu_lint
  • ubuntu_rvm (jruby-9.2.9.0, rubygems)
  • ubuntu_rvm (ruby-head, bundler)
  • windows (2.4.x)
  • windows (2.5.x)
  • windows (2.6.x)

@ghost ghost merged commit e9e7c38 into master Nov 19, 2019
@ghost ghost deleted the simplify-deprecate-comamnd-method branch November 19, 2019 10:42
This pull request was closed.
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

3 participants