kinda like hoe and newgem but more for private gems
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
spec
templates
vendor/allison-2.0.2
.gitignore
LICENSE.txt
README.textile
Rakefile
rstack.gemspec

README.textile

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...