Project

newkata

0.0
No commit activity in last 3 years
No release in over 3 years
A simple project generator, handy to tryout a new class with a corresponding (r)spec. **NOW** producing a gem structure
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

New Kata

Build Status Code Climate

A simple project generator, handy to tryout a new class with a corresponding (r)spec.

Features

  • Generates a project structure that uses Bundler and Guard
  • Trivial to customize thanks to Thor
  • So simple it can serve as a playground for beginners to Thor, Cucumber and Aruba
  • Gets you coding faster than you can say pinan nidan
  • NEW: Optionnally creates a gem structure when launched with --gem (thanks to bundle gem)

Installation

gem install newkata

Usage

newkata StringCalculator
cd stringcalculator
bundle
bundle exec guard

This will create the following project layout:

stringcalculator/
├── Gemfile
├── Guardfile
├── lib
│   └── stringcalculator.rb
└── spec
    └── stringcalculator_spec.rb

EMACS users

RVM (through http://www.emacswiki.org/emacs/RvmEl), Bundler and RSpec play nicely with EMACS. Launch guard under bundler using the current rvm with:

M-x rvm-use-default
M-x eshell
bundle exec guard