Sha256: 00ab48b42245e64d990947bce789ecfd1001df7b39e038e2a42a76afc4f6fc51
Contents?: true
Size: 566 Bytes
Versions: 1
Compression:
Stored size: 566 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: #{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.6 | lib/my_scripts/jew.rb |