Hello,
For the new qk/quik tool - the missing code generator for ruby -
that lets you use quick starter scripts and github-hosted code
templates - I've put together a new example that lets you generate new
gems using the "classic" gem starter template from the hoe gem.
Use:
$ quik new gem-hoe
to auto-generate a new gem that will use the gem-hoe.rb [1] wizard
script and the gem-starter-template-hoe [2] repo.
Resulting in something like:
Hello from the gem quick starter wizard script (hoe classic edition)
Q: Name of the gem? [hola]: hola
Thanks! Ready-to-go. Stand back.
Downloading Gem Starter Template (Hoe Classic Edition)...
Setting up Gem Starter Template (Hoe Classic Edition)...
...
Merging templates...
name: "hola"
klass: "Hola"
test_klass: "TestHola"
...
Done.
Not your gem style? Add/use your own script and template. Cheers.
[1] https://github.com/rubyref/scripts/blob/master/gem-hoe.rb
[2] GitHub - quikstart/gem-starter-template-hoe: gem quick starter template - classic hoe edition