Sha256: 595ef8a716bfae68d99ed57684acd82ac88a945e942e7444ed48967505e62e36
Contents?: true
Size: 700 Bytes
Versions: 4
Compression:
Stored size: 700 Bytes
Contents
module MyScripts # This script uses Jeweler to create new project skeleton, local git repo and # initiate remote repo on github # 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
my_scripts-0.0.13 | lib/my_scripts/jew.rb |
my_scripts-0.0.12 | lib/my_scripts/jew.rb |
my_scripts-0.0.11 | lib/my_scripts/jew.rb |
my_scripts-0.0.9 | lib/my_scripts/jew.rb |