0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Geminabox rake task for building and releasing gems.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

 Project Readme

Geminabox::Rake

A simple extension to use bundler's rake tasks with a custom geminabox server.

Installation

Add this line to your application's Gemfile:

gem 'geminabox-rake'

And then execute:

$ bundle

Or install it yourself as:

$ gem install geminabox-rake

Usage

Instead of requiring bundler's rake tasks in your Rakefile use geminabox-rake:

#require 'bundler/gem_tasks' # Do not require bundler's tasks

require 'geminabox/rake'
Geminabox::Rake.install

You can also specify gem dir or geminabox server in your Rakefile:

require 'geminabox/rake'
Geminabox::Rake.install dir: './client', host: 'http://user:password@gems.server.org/'

You could also specify multiple hosts by passing array to host key in options:

require 'geminabox/rake'
Geminabox::Rake.install dir: './client', host: ['http://user:password@gems.server.org/', 'http://backup.host']

By default all tasks will be scoped under the geminabox namespace to avoid accidental pushes to rubygems.org. You can define your own namespace:

require 'geminabox/rake'
Geminabox::Rake.install namespace: 'my'

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request