1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
Commit graph

21 commits

Author SHA1 Message Date
hcatlin
90412fdd07 Fixed a bug where the instance variables that are set in helpers were not being
translated back to the view because of the way that instance variables are handled.

Phew!

Included the tests to prove its fixed.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@21 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-09 18:12:54 +00:00
hcatlin
d6069e5264 Fixing the way the rakefile is supposed to work with rcov.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@20 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-09 18:01:16 +00:00
hcatlin
4f9465d540 100% C0!
Thank you, thank you, thank you.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@19 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-08 22:55:07 +00:00
hcatlin
b394cbaddc Got rcov going.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@18 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-08 22:46:19 +00:00
hcatlin
331f0247ae We have 100% passing.
Simplified (in a way I didn't initially want) the flattening procedure. However, it helps the tests pass and that's a Good Thing.

Now for speed tests and playing with globalize.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@17 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-08 21:38:50 +00:00
hcatlin
6cbc2bf9b3 Split up the tests into two to match the new lib files that were created a few days ago.
Also, created tests for the propper "flattening" of whitespace-active-areas and created most of the code.

However, it is to be noted in this release... TESTS ARE BROKEN.

The flattening needs some love still. And the testing needs to get expanded further. I thought this would be easy, 
turns out its a bit of a bitch.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@16 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-08 13:42:19 +00:00
hcatlin
9b82e1672d Basic test-templates.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@15 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-07 23:55:16 +00:00
hcatlin
7e1be5b6be Added a cool helper that I just like adding to the language. Also, started checking line-by-line instead of as
gigantic strings when dealing with testing the templates.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@14 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-06 04:25:31 +00:00
hcatlin
ad712a6d7e Proudly presenting excellent test coverage for HAML.
C0 is at 99.0%... all except for one experimental feature.

So, now any changes have something to be tested against which should be a fairly strong background.

Now, the only problem left is that whitespace active areas get fucked. That's not a good thing. Once we get a 
philosophical stance on such subjects, then we shall figure crap out about what that all means.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@13 7063305b-7217-0410-af8c-cdc13e5119b9
2006-08-06 03:18:54 +00:00
hcatlin
ff323de099 Trying to find ways around the white-space sensitive tags that exist in HTML.
Currently I have added the action "~" and... oh fuck it... I'm going to do it a different way.




git-svn-id: svn://hamptoncatlin.com/haml/trunk@12 7063305b-7217-0410-af8c-cdc13e5119b9
2006-07-31 14:28:44 +00:00
hcatlin
782a199d5d Closes Ticket #4.
Now, when non-string values are passed into an attribute hash for a tag, they will have #to_s called on them, and then be in the proper 
format.

ALL numeric values are also put in quotes.




git-svn-id: svn://hamptoncatlin.com/haml/trunk@11 7063305b-7217-0410-af8c-cdc13e5119b9
2006-07-26 15:45:09 +00:00
hcatlin
5b1819d977 Fixed conflict!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@10 7063305b-7217-0410-af8c-cdc13e5119b9
2006-07-23 13:57:44 +00:00
hcatlin
c4ef30d084 Fixed error handling (again).
git-svn-id: svn://hamptoncatlin.com/haml/trunk@9 7063305b-7217-0410-af8c-cdc13e5119b9
2006-07-21 18:05:25 +00:00
hcatlin
1cacde8b4f More shit.
Now a false on a evaluated line will make the line not render.



git-svn-id: svn://hamptoncatlin.com/haml/trunk@8 7063305b-7217-0410-af8c-cdc13e5119b9
2006-07-20 21:39:06 +00:00
hcatlin
d4c7c8c431 LOTS of changes.
Fixed it so that instance variables now work with edge rails!




git-svn-id: svn://hamptoncatlin.com/haml/trunk@7 7063305b-7217-0410-af8c-cdc13e5119b9
2006-07-20 04:01:23 +00:00
hcatlin
60b2298346 Finally getting a good bit of stability to the hauss!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@6 7063305b-7217-0410-af8c-cdc13e5119b9
2006-07-19 22:23:01 +00:00
hcatlin
20bc1c314d 1-9 now..
git-svn-id: svn://hamptoncatlin.com/haml/trunk@5 7063305b-7217-0410-af8c-cdc13e5119b9
2006-07-02 02:12:26 +00:00
hcatlin
b03cf78f5b Now can handle tags with numbers in them... like %h1
git-svn-id: svn://hamptoncatlin.com/haml/trunk@4 7063305b-7217-0410-af8c-cdc13e5119b9
2006-07-02 02:10:54 +00:00
hcatlin
9b9c0dd24b So much better!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@3 7063305b-7217-0410-af8c-cdc13e5119b9
2006-07-02 02:09:44 +00:00
hcatlin
dcbc4a8333 New super-duper awesome changes!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@2 7063305b-7217-0410-af8c-cdc13e5119b9
2006-06-30 21:40:07 +00:00
hcatlin
35f7e17de5 Initial upload.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@1 7063305b-7217-0410-af8c-cdc13e5119b9
2006-06-30 15:14:44 +00:00