jeremyruppel / walrus

A bolder kind of mustache
http://documentup.com/jeremyruppel/walrus/
MIT License
215 stars 10 forks source link

Added :titleize filter #28

Closed kagd closed 12 years ago

kagd commented 12 years ago

Used active support as a reference for this implementation.

All the string tests pass.

Also, my date tests were failing because there was no file for 0600. I added the file, although, it was never passing the tests for me. Might have been something that I was missing.

kagd commented 12 years ago

I should note that I did not generate a new readme with the :titleize documentation since it appears that it is generated by some system, and I am not sure which.

kagd commented 12 years ago

OSX 10.7.4 and jison = 0.3.2

kagd commented 12 years ago

Yes, all the specs passed except for the date 0600 one.

kagd commented 12 years ago

I will have to think about the date test a bit. I'm sure that there has to be a way to test it without having to worry about timezones.

jeremyruppel commented 12 years ago

This looks great though, man. Merged and published. Thanks for the help!

I know there are several Date-mocking packages out there, so I'm wondering if one of those might be useful in avoiding the travis-time-zone debacle. Anyhow, I've filed #29 for that. Thanks!

kagd commented 12 years ago

No problem. This is a great renderer and I am glad to give back. I will look around for some options to deal with the date testing issue.