Sha256: 58b200f26eed6821f5e16773d97ed878ac510570b591808353ce557932275488
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
geminabox-release ================= This gem is a dependency free option to add a rake inabox:release task that mirrors bundler's rake release task for your geminabox server. ## How to use Simply load this gem and and patch with your geminabox URL before requiring bundler/gem_tasks in your Rakefile. E.g. ``` require 'geminabox-release' GeminaboxRelease.patch(:host => "http://localhost:4000") require 'bundler/gem_tasks' ``` or use your geminabox config file (YAML file with key :host and host url as value in ~/.gem/geminabox) ``` require 'geminabox-release' GeminaboxRelease.patch(:use_config => true) require 'bundler/gem_tasks' ``` Then you will get an rake inabox:release task. The gem (theoretically) supports basic auth like geminabox in the host address. e.g. http://username:password@localhost:4000 It's untested as we didn't need it. Feel free to try it. ### Order The order is important as requiring bunlder/gem_tasks creates the rake tasks and this gem does not modify them after that. ## Safety To ensure you are not accidently pushing your gem to rubygems there are two distinct safety measures. 1) The rake task has another name. Do not use rake release if you want to push to your geminabox server! 2) The gem is pushed via the HTTP POST file request geminabox expects and not via the gem push interface. # LICENSE Copyright (c) 2014 Dennis-Florian Herr @ Experteer GmbH see {LICENSE}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
geminabox-release-0.0.6 | README.md |
geminabox-release-0.0.5 | README.md |