A new version of Rhesus has been released.
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.blog comments powered by Disqus