Skip to content

patches for gem server, gem push, and gem yank commands for use with rubygems-source

Notifications You must be signed in to change notification settings

kapoq/rubygems-source-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

patches for gem server, gem push, and gem yank commands for use with rubygems-source

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages