This post originated from an RSS feed registered with Ruby Buzz
by James Britt.
Original Post: Rhesus 0.4.0 Released
Feed Title: James Britt: Ruby Development
Feed URL: http://feeds.feedburner.com/JamesBritt-Home
Feed Description: James Britt: Playing with better toys
Rhesus is a simple yet powerful code templating tool. It uses prototype folders and files to generate code, with variable substitution.
This release has some minor changes and bug fixes.
The template options file, originally called .options.yaml is now called .rhesus-options.yaml
Importing new template folders from a git repo now works.
Rhesus was borking automagic file and folder naming conversion, where it decides whether some file or path should be created as CamelCase or snake_case. The current fix is the addition of a language setting in the options file. Right now it only reacts to ruby, in which case it assumes that files and folders should use snake_case. If you omit that it looks for certain file name aspects (e.g. common Ruby file extensions) and uses that to drive the format. But this has been unreliable, hence the new option.
This is an unsatisfying solution for assorted reasons, but mainly because it's so heavy-handed. But the fix does make things work better.
However, much of this is tossed in with the code, a hacky approach that will likely make it harder to expand for more languages. A better solution will have to come out of continued use to see what fits.