CampaignMonitor API Wrapper

Update: This was renamed to campaign_monitor_party.

Campaign_monitor_gem

First of all, HTTParty is simply amazing. That is all.

Second, Ruby never ceases to amaze me regarding its power and tools for meta-programming. "method_missing" is just too cool.

Third, I created a 20-line wrapper class for the Campaign Monitor API this weekend (using HTTParty). The code and the gem is over on GitHub: http://github.com/seven1m/campaign_monitor_party.

CascadingRubies - Ruby DSL for generating CSS

I've been working on a little experiment lately... a Ruby domain-specific language for generating Cascading Style Sheets called CascadingRubies. It's an internal DSL, meaning it uses plain Ruby syntax, like this:
Media_httpmpovwordpresscomfiles200906rcsscodepng_ksvedhykhsgbbzt
Output:
Media_httpmpovwordpresscomfiles200906rcssoutput1png_jxdjmydgddlfeow
Being just Ruby, of course, you can mix in variables, arithmetic, require external code, hit the database, or whatever. The guys on the Tulsa.rb mailing list have provided some great feedback, and from that I've released the the second gem version (0.2.0). If this looks interesting to you, head over to the GitHub project and check it out. Please let me know what you think.