Skip to content
This repository has been archived by the owner on Jul 5, 2019. It is now read-only.

thoiberg/gemstrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gemstrapper

Build Status

gemstrapper is a small gem that can create directories and common files for building gems.

Installing

To install gemstrapper use the following command:

$ gem install gemstrapper

Usage

To use gemstrapper run the init <gem_name> command, which will generate the folders and files in the current working directory

$ gemstrapper init my-gem
my-gem/Gemfile created
my-gem/my-gem.gemspec created
my-gem/lib/my-gem/version.rb created

The application will generate the basic scaffolding for a gem as well as common files, such as the gemspec and Gemfile. The top level module is created by converting the gem name into valid Ruby syntax for constants, eg my-gem will become MyGem

To configure the gem to have an executable component you can add the -e or --executable argument to the init subcommand

$ gemstrapper init my-gem -e
...
my-gem/bin/my_gem created

License

gemstrapper is licensed under the MIT license

About

Simple gem to create gem scaffolding

Resources

License

Stars

Watchers

Forks

Packages

No packages published