Project

gemstrap

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Command-line tool for bootstraping a new ruby gem in seconds.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.3
~> 3.0

Runtime

 Project Readme

gemstrap

Build Status Code Climate

Fastest way to bootstrap a new ruby gem.

Command-line mode

Installing

$ gem install gemstrap

Alternatively use our Docker image dieb/gemstrap:

$ docker pull dieb/gemstrap

Usage

$  gemstrap -h
Usage: gemstrap [options]
    -h, --help                       Display this message
    -V, --version                    Display version
    -n, --name GEM_NAME              Gem name
    -d, --description GEM_DESC       Gem description
    -a, --authors AUTHORS            CSV list of authors names (e.g. John Dorian, Christopher Turk)
    -m, --emails AUTHORS_EMAILS      CSV list of corresponding authors emails (e.g. jd@sacredheart.com, turk@sacredheart.com)
    -s, --summary SUMMARY            Gem summary. If not supplied takes description value.
    -g, --github_user GITHUB_USER    Github user. If not blank, homepage will be set to GITHUB_USER/GEM_NAME
    -H, --homepage HOMEPAGE          Homepage URL. Takes priority over the github_user parameter.
    -i, --interactive                Interactive mode. Prompt for user the parameters for gem generate.

Or if you prefer through Docker:

$ docker run --rm -ti -v $(pwd):/build dieb/gemstrap
gemstrap: starting interactive mode
gemstrap: please type in the required fields:
  gem name: my_gem
  ...

Please note we bind the current folder to /build, which is where gemstrap spits out the new gem.