0.0
No commit activity in last 3 years
No release in over 3 years
Provides a gem library generator and helpful rake tasks
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.1.2
>= 0.8.0
>= 1.1.3

Runtime

>= 0.8.1
 Project Readme

Why?

newgem and hoe work great for open source projects. RStack is intended to be used behind the firewall. There are a couple of other differences. One being it uses RSpec rather than test/unit. The second difference is RStack automatically works with CruiseControl.rb. It does that by adding a cruise_config.rb configuration and by including a cruise task.

Usage


rstack ninjas

Generated Files and Directories


jrun ~/tmp $ rstack ninjas
creating ninjas/lib/ninjas
creating ninjas/spec/shared
creating ninjas/spec
creating ninjas/bin
creating ninjas/lib
creating ninjas/lib
moving Rakefile to ninjas/Rakefile
moving README.txt to ninjas/README.txt
moving cruise_config.rb to ninjas/cruise_config.rb
moving main.rb to ninjas/lib/ninjas.rb
moving version.rb to ninjas/lib/ninjas/version.rb
moving spec_helper.rb to ninjas/spec/spec_helper.rb

Generated Rakefile


require 'rubygems'
require 'rstack'
require File.join(File.dirname(__FILE__), 'lib', 'ninjas', 'version')

RStack::Configuration.new 'ninjas' do |config|
  config.summary = '[ENTER A SUMMARY]'
  config.author = 'jrun'
  config.email = '[ENTER YOUR EMAIL]'
  config.url = '[ENTER A PROJECT URL]'
  config.version = Ninjas::Version::STRING
end

Available Tasks

jrun ~/tmp/ninjas $ rake -T
(in /Users/jrun/tmp/ninjas)
rake clobber_package             # Remove package products
rake clobber_spec:with_coverage  # Remove rcov products for spec:with_coverage
rake gem                         # Build the gem file ninjas-0.1.0.gem
rake package                     # Build all the packages
rake repackage                   # Force a rebuild of the package files
rake spec                        # Run specs
rake spec:with_coverage          # Run specs through RCov and generate HTML...