The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Rhesus 0.4.0 Released

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Britt

Posts: 1319
Nickname: jamesbritt
Registered: Apr, 2003

James Britt is a principal in 30 Second Rule, and runs ruby-doc.org and rubyxml.com
Rhesus 0.4.0 Released Posted: Apr 12, 2010 12:15 AM
Reply to this message Reply

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
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by James Britt
Latest Posts From James Britt: Ruby Development

Advertisement

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.

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.

Read: Rhesus 0.4.0 Released

Topic: Mixin Surprise Previous Topic   Next Topic Topic: To SproutCore, or not to SproutCore…

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use