Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.99 KB

README.md

File metadata and controls

65 lines (45 loc) · 1.99 KB

rubygems-source-cli travis-ci

This is a collection of dirty, dirty patches for gem push and gem yank:

  • When you do not supply an API key and you are not using rubygems.org, you are not prompted to sign into rubygems.org
  • gem yank accepts --host [HOST] and --key [KEY] options

Usage

API keys should be stored in YAML format in $HOME/.gem/credentials:

---
:rubygems_api_key: 198dbad38sadasd87
:another_key: 2897234987bsdb90834

Then specify --host and --key options when pushing/yanking:

$ gem push mygem-1.0.0.gem --host https://example.com --key another_key
$ gem yank mygem-1.0.0.gem --host https://example.com --key another_key

Install

  • gem install rubygems-source-cli

or add it to your Gemfile:

  • gem "rubygems-source-cli"

Development

Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.

Testing

$ rake

Related projects

Author

Dave Nolan