Sha256: bb62a4a181967cee446cdd8e10cd75e43e608a660b1d152a9831960b9c92cc20
Contents?: true
Size: 578 Bytes
Versions: 1
Compression:
Stored size: 578 Bytes
Contents
module MyScripts class Jew < Script def run usage "project_name Summary or description goes here" if @argv.empty? # First Arg should be project name project = @argv.shift # All the other args lumped into summary, or default summary summary = @argv.empty? ? "New project #{project}" : @argv.join(' ') puts "Creating Jeweler project #{project} with summary/description: #{summary}" system %Q[jeweler --rspec --cucumber --create-repo --summary "#{summary}" --description "#{summary}" #{project}] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
my_scripts-0.0.7 | lib/my_scripts/jew.rb |