Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Latest commit

 

History

History
57 lines (33 loc) · 1.52 KB

README.md

File metadata and controls

57 lines (33 loc) · 1.52 KB

gem command extension for nexus gem repository server

  • Build Status

see

installing

gem install nexus

usage

gem nexus my.gem

then the command will prompt for the url, username and password.

or you can specify --url URL and --credential USER:PASS to skip first prompt.

gem nexus --url http://localhost:8081/nexus/content/repositories/gems-internal --credential "your-account:${YOUR_PASS}" my.gem

for further info on how to deploy to more then one repo, keep the credentials file on different file system location (like on an external device) or encrypt the credentials file altogether with password based encryption:

gem help nexus

test, build, deploy, push

prepare the dependencies

bundle install

run tests

bundle exec rake 

build and push gem to rubygems.org

gem build nexus.gemspec
gem push nexus-*.gem

install the gem into your local rubgems repository

gem install -l nexus-*.gem

contributing

  1. fork it
  2. create your feature branch (git checkout -b my-new-feature)
  3. commit your changes (git commit -am 'Added some feature')
  4. push to the branch (git push origin my-new-feature)
  5. create new pull request

meta-fu

enjoy :)