metabahn/pakyow — pull request #58 by rjclardy (2013-06-13 17:09:49+00:00)
Title: Misc 0.8 fixes

Here's the list of TODOs I completed:

- Rename "view parser" to "view processor". Includes the classes, helpers, etc.
- Fix "repeat(3.times)".
- Right now Pakyow requires you pass a block to "repeat" (for View and ViewCollection). This should be optional.
- Need to be able to specify port in pakyow server command (something like pakyow server -p 3001).
- We need to support a unique root view name per view store. Right now it defaults to pakyow.html. If I change the "default_view" config option to "foo.html" it changes it for all view stores.

There were two that already seemed to be working correctly and didn't need a fix after all:
- There's supposed to be a "title" method that gets/sets the title for a view. Have it on my list to check, because it may have been removed on accident.
- Saw a bug with the URL format. Given: /users/1.xml, params[:id] == '1.xml'. It should only be "1".

Just lemmeno if you see any issues or want to walk through the changes with me.