public
Description: HTML Abstraction Markup Language - A Markup Haiku
Homepage: http://haml.hamptoncatlin.com
Clone URL: git://github.com/nex3/haml.git
Releasing version 1.0.3 - now compatible with Rails 1.2.


git-svn-id: svn://hamptoncatlin.com/haml/tags/stable@290 
7063305b-7217-0410-af8c-cdc13e5119b9
nex3 (author)
Thu Jan 18 19:39:45 -0800 2007
commit  79e583d519aa1090a8709be4c1b1e1742b5ec275
tree    c7d170c15f840e991bf6f2ff9c7d87631f85b22d
parent  e4ea3b8e064812b68e83f241f6654c2db4ad064e
...
1
 
...
 
1
0
@@ -1 +1 @@
0
-1.0.2
0
+1.0.3
...
1
2
3
 
4
5
6
...
1
2
3
4
5
6
7
0
@@ -1,6 +1,7 @@
0
 begin
0
   require 'rubygems'
0
   require 'active_support'
0
+ require 'action_controller'
0
   require 'action_view'
0
   action_view_included = true
0
 rescue LoadError
...
93
94
95
96
 
97
98
99
...
93
94
95
 
96
97
98
99
0
@@ -93,7 +93,7 @@ class HelperTest < Test::Unit::TestCase
0
     # two behaviors.
0
     
0
     result = render("- form_tag 'foo' do\n %p bar\n %strong baz", :action_view)
0
- new_rails = "<form action=\"foo\" method=\"post\">\n <p>foo</p>\n</form>\n"
0
+ new_rails = "<form action=\"foo\" method=\"post\">\n <p>bar</p>\n <strong>baz</strong>\n</form>"
0
     old_rails = ""
0
     assert(result == new_rails || result == old_rails)
0
   end
...
50
51
52
53
 
54
55
56
...
50
51
52
 
53
54
55
56
0
@@ -50,7 +50,7 @@
0
     <li>z</li>
0
   </ul>
0
   <h1>I can catch errors!</h1>
0
- Oh no! "uninitialized constant Foo" happened!
0
+ Oh no! "undefined method `silly' for String:Class" happened!
0
   <p>
0
     "false" is:
0
     false
...
8
9
10
11
 
12
13
14
...
8
9
10
 
11
12
13
14
0
@@ -8,7 +8,7 @@
0
       %li= i
0
   %h1 I can catch errors!
0
   - begin
0
- - Foo.silly
0
+ - String.silly
0
   - rescue NameError => e
0
     = "Oh no! \"#{e}\" happened!"
0
   %p

Comments

    No one has commented yet.