https://github.com/neomantic/helm-rubygems-org.git
git clone 'git://github.com/neomantic/helm-rubygems-org.git'
A Helm interface to query rubygems.org
For this helm interface to connect to rubygems.org, API requests must be
authorized using an API key. There are 3 ways to provide this key to
helm-rubygems-org.el
.
If you have chosen to store your API key in the ~.gem/credentials
YAML file,
helm-rubygems-org.el
will use it as API key source.
M-x customize-group
⇒ helm-rubygems-org
will provide a customization
interface.
Using setq
, bind the helm-rubygems-org-api-key
variable to either the value
of the API key or the credentials YAML file where the API key is stored.
M-x helm-rubygems-org
and then type the name of the gem. After a few seconds,
a list of search results should appear in a helm interface.
Helm Actions
By default, hitting the return key on a item in the search results will populate
the kill ring with a string suitable for inclusion in a Gemfile
. (e.g.
gem 'guard-rackunit', '~> 1.0.0'
). Alternatively, hitting the tab key will
provide a list of helm actions. They are:
Important Note
API connection's to rubygems.org are often slow. Helm (or emacs) does not
provide a mechanism to indicate to the user the progress of this connection.
Consequently, helm-rubygems-org.el
appears to be doing nothing, when it actually
is. Please be patient, and a list of gems is bound to appear.
This library follows semantic versioning conventions
The source is available on github.com
Please file bugs and feature requests here