Sha256: 026441b0752e88a5986b85c4b1043c28060342dccb3cc1700aa7011cf88815fd
Contents?: true
Size: 976 Bytes
Versions: 38
Compression:
Stored size: 976 Bytes
Contents
module Sprout class ToolGenerator < Generator::Base add_param :author, String, { :default => 'Unknown' } add_param :description, String, { :default => 'This is an unconfigured Sprout Tool' } add_param :email, String, { :default => 'projectsprout@googlegroups.com' } add_param :exe, String, { :default => 'executable_name' } add_param :homepage, String, { :default => 'http://projectsprouts.org' } add_param :md5, String, { :default => 'd6939117f1df58e216f365a12fec64f9' } add_param :summary, String, { :default => 'Sprout Tool' } add_param :url, String, { :default => 'http://github.com/downloads/lukebayes/project-sprouts/echochamber-test.zip' } def manifest directory snake_input do template 'Gemfile' template "#{snake_input}.gemspec", 'tool.gemspec' template "#{snake_input}.rb", 'tool.rb' end end protected def snake_input input.snake_case end end end
Version data entries
38 entries across 38 versions & 1 rubygems