merbjedi-haml 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/FAQ +138 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +332 -0
- data/REVISION +1 -0
- data/Rakefile +184 -0
- data/VERSION +1 -0
- data/bin/css2sass +7 -0
- data/bin/haml +9 -0
- data/bin/html2haml +7 -0
- data/bin/sass +8 -0
- data/extra/haml-mode.el +434 -0
- data/extra/sass-mode.el +98 -0
- data/init.rb +8 -0
- data/lib/haml.rb +1025 -0
- data/lib/haml/buffer.rb +255 -0
- data/lib/haml/engine.rb +268 -0
- data/lib/haml/error.rb +22 -0
- data/lib/haml/exec.rb +395 -0
- data/lib/haml/filters.rb +276 -0
- data/lib/haml/helpers.rb +465 -0
- data/lib/haml/helpers/action_view_extensions.rb +45 -0
- data/lib/haml/helpers/action_view_mods.rb +181 -0
- data/lib/haml/html.rb +218 -0
- data/lib/haml/precompiler.rb +896 -0
- data/lib/haml/shared.rb +45 -0
- data/lib/haml/template.rb +51 -0
- data/lib/haml/template/patch.rb +58 -0
- data/lib/haml/template/plugin.rb +72 -0
- data/lib/haml/util.rb +77 -0
- data/lib/haml/version.rb +47 -0
- data/lib/sass.rb +1062 -0
- data/lib/sass/css.rb +388 -0
- data/lib/sass/engine.rb +501 -0
- data/lib/sass/environment.rb +33 -0
- data/lib/sass/error.rb +35 -0
- data/lib/sass/plugin.rb +203 -0
- data/lib/sass/plugin/merb.rb +56 -0
- data/lib/sass/plugin/rails.rb +24 -0
- data/lib/sass/repl.rb +44 -0
- data/lib/sass/script.rb +38 -0
- data/lib/sass/script/bool.rb +13 -0
- data/lib/sass/script/color.rb +97 -0
- data/lib/sass/script/funcall.rb +28 -0
- data/lib/sass/script/functions.rb +122 -0
- data/lib/sass/script/lexer.rb +144 -0
- data/lib/sass/script/literal.rb +60 -0
- data/lib/sass/script/number.rb +231 -0
- data/lib/sass/script/operation.rb +30 -0
- data/lib/sass/script/parser.rb +142 -0
- data/lib/sass/script/string.rb +42 -0
- data/lib/sass/script/unary_operation.rb +21 -0
- data/lib/sass/script/variable.rb +20 -0
- data/lib/sass/tree/attr_node.rb +64 -0
- data/lib/sass/tree/comment_node.rb +30 -0
- data/lib/sass/tree/debug_node.rb +22 -0
- data/lib/sass/tree/directive_node.rb +50 -0
- data/lib/sass/tree/file_node.rb +27 -0
- data/lib/sass/tree/for_node.rb +29 -0
- data/lib/sass/tree/if_node.rb +27 -0
- data/lib/sass/tree/mixin_def_node.rb +18 -0
- data/lib/sass/tree/mixin_node.rb +34 -0
- data/lib/sass/tree/node.rb +97 -0
- data/lib/sass/tree/rule_node.rb +120 -0
- data/lib/sass/tree/variable_node.rb +24 -0
- data/lib/sass/tree/while_node.rb +20 -0
- data/rails/init.rb +1 -0
- data/test/benchmark.rb +99 -0
- data/test/haml/engine_test.rb +852 -0
- data/test/haml/helper_test.rb +224 -0
- data/test/haml/html2haml_test.rb +92 -0
- data/test/haml/markaby/standard.mab +52 -0
- data/test/haml/mocks/article.rb +6 -0
- data/test/haml/results/content_for_layout.xhtml +15 -0
- data/test/haml/results/eval_suppressed.xhtml +9 -0
- data/test/haml/results/filters.xhtml +62 -0
- data/test/haml/results/helpers.xhtml +93 -0
- data/test/haml/results/helpful.xhtml +10 -0
- data/test/haml/results/just_stuff.xhtml +68 -0
- data/test/haml/results/list.xhtml +12 -0
- data/test/haml/results/nuke_inner_whitespace.xhtml +40 -0
- data/test/haml/results/nuke_outer_whitespace.xhtml +148 -0
- data/test/haml/results/original_engine.xhtml +20 -0
- data/test/haml/results/partial_layout.xhtml +5 -0
- data/test/haml/results/partials.xhtml +21 -0
- data/test/haml/results/render_layout.xhtml +3 -0
- data/test/haml/results/silent_script.xhtml +74 -0
- data/test/haml/results/standard.xhtml +42 -0
- data/test/haml/results/tag_parsing.xhtml +23 -0
- data/test/haml/results/very_basic.xhtml +5 -0
- data/test/haml/results/whitespace_handling.xhtml +89 -0
- data/test/haml/rhtml/_av_partial_1.rhtml +12 -0
- data/test/haml/rhtml/_av_partial_2.rhtml +8 -0
- data/test/haml/rhtml/action_view.rhtml +62 -0
- data/test/haml/rhtml/standard.rhtml +54 -0
- data/test/haml/template_test.rb +204 -0
- data/test/haml/templates/_av_partial_1.haml +9 -0
- data/test/haml/templates/_av_partial_1_ugly.haml +9 -0
- data/test/haml/templates/_av_partial_2.haml +5 -0
- data/test/haml/templates/_av_partial_2_ugly.haml +5 -0
- data/test/haml/templates/_layout.erb +3 -0
- data/test/haml/templates/_layout_for_partial.haml +3 -0
- data/test/haml/templates/_partial.haml +8 -0
- data/test/haml/templates/_text_area.haml +3 -0
- data/test/haml/templates/action_view.haml +47 -0
- data/test/haml/templates/action_view_ugly.haml +47 -0
- data/test/haml/templates/breakage.haml +8 -0
- data/test/haml/templates/content_for_layout.haml +10 -0
- data/test/haml/templates/eval_suppressed.haml +11 -0
- data/test/haml/templates/filters.haml +66 -0
- data/test/haml/templates/helpers.haml +95 -0
- data/test/haml/templates/helpful.haml +11 -0
- data/test/haml/templates/just_stuff.haml +83 -0
- data/test/haml/templates/list.haml +12 -0
- data/test/haml/templates/nuke_inner_whitespace.haml +32 -0
- data/test/haml/templates/nuke_outer_whitespace.haml +144 -0
- data/test/haml/templates/original_engine.haml +17 -0
- data/test/haml/templates/partial_layout.haml +3 -0
- data/test/haml/templates/partialize.haml +1 -0
- data/test/haml/templates/partials.haml +12 -0
- data/test/haml/templates/render_layout.haml +2 -0
- data/test/haml/templates/silent_script.haml +40 -0
- data/test/haml/templates/standard.haml +42 -0
- data/test/haml/templates/standard_ugly.haml +42 -0
- data/test/haml/templates/tag_parsing.haml +21 -0
- data/test/haml/templates/very_basic.haml +4 -0
- data/test/haml/templates/whitespace_handling.haml +87 -0
- data/test/linked_rails.rb +12 -0
- data/test/sass/css2sass_test.rb +193 -0
- data/test/sass/engine_test.rb +752 -0
- data/test/sass/functions_test.rb +96 -0
- data/test/sass/more_results/more1.css +9 -0
- data/test/sass/more_results/more1_with_line_comments.css +26 -0
- data/test/sass/more_results/more_import.css +29 -0
- data/test/sass/more_templates/_more_partial.sass +2 -0
- data/test/sass/more_templates/more1.sass +23 -0
- data/test/sass/more_templates/more_import.sass +11 -0
- data/test/sass/plugin_test.rb +208 -0
- data/test/sass/results/alt.css +4 -0
- data/test/sass/results/basic.css +9 -0
- data/test/sass/results/compact.css +5 -0
- data/test/sass/results/complex.css +87 -0
- data/test/sass/results/compressed.css +1 -0
- data/test/sass/results/expanded.css +19 -0
- data/test/sass/results/import.css +29 -0
- data/test/sass/results/line_numbers.css +49 -0
- data/test/sass/results/mixins.css +95 -0
- data/test/sass/results/multiline.css +24 -0
- data/test/sass/results/nested.css +22 -0
- data/test/sass/results/parent_ref.css +13 -0
- data/test/sass/results/script.css +16 -0
- data/test/sass/results/subdir/nested_subdir/nested_subdir.css +1 -0
- data/test/sass/results/subdir/subdir.css +3 -0
- data/test/sass/results/units.css +11 -0
- data/test/sass/script_test.rb +152 -0
- data/test/sass/templates/_partial.sass +2 -0
- data/test/sass/templates/alt.sass +16 -0
- data/test/sass/templates/basic.sass +23 -0
- data/test/sass/templates/bork.sass +2 -0
- data/test/sass/templates/bork2.sass +2 -0
- data/test/sass/templates/compact.sass +17 -0
- data/test/sass/templates/complex.sass +309 -0
- data/test/sass/templates/compressed.sass +15 -0
- data/test/sass/templates/expanded.sass +17 -0
- data/test/sass/templates/import.sass +11 -0
- data/test/sass/templates/importee.sass +19 -0
- data/test/sass/templates/line_numbers.sass +13 -0
- data/test/sass/templates/mixins.sass +76 -0
- data/test/sass/templates/multiline.sass +20 -0
- data/test/sass/templates/nested.sass +25 -0
- data/test/sass/templates/parent_ref.sass +25 -0
- data/test/sass/templates/script.sass +101 -0
- data/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +2 -0
- data/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +3 -0
- data/test/sass/templates/subdir/subdir.sass +6 -0
- data/test/sass/templates/units.sass +11 -0
- data/test/test_helper.rb +21 -0
- metadata +273 -0
@@ -0,0 +1,76 @@
|
|
1
|
+
!yellow = #fc0
|
2
|
+
|
3
|
+
=bordered
|
4
|
+
:border
|
5
|
+
:top
|
6
|
+
:width 2px
|
7
|
+
:color = !yellow
|
8
|
+
:left
|
9
|
+
:width 1px
|
10
|
+
:color #000
|
11
|
+
-moz-border-radius: 10px
|
12
|
+
|
13
|
+
=header-font
|
14
|
+
:color #f00
|
15
|
+
:font
|
16
|
+
:size 20px
|
17
|
+
|
18
|
+
=compound
|
19
|
+
+header-font
|
20
|
+
+bordered
|
21
|
+
|
22
|
+
=complex
|
23
|
+
+header-font
|
24
|
+
text:
|
25
|
+
decoration: none
|
26
|
+
&:after
|
27
|
+
content: "."
|
28
|
+
display: block
|
29
|
+
height: 0
|
30
|
+
clear: both
|
31
|
+
visibility: hidden
|
32
|
+
* html &
|
33
|
+
height: 1px
|
34
|
+
+header-font
|
35
|
+
=deep
|
36
|
+
a:hover
|
37
|
+
:text-decoration underline
|
38
|
+
+compound
|
39
|
+
|
40
|
+
|
41
|
+
#main
|
42
|
+
:width 15em
|
43
|
+
:color #0000ff
|
44
|
+
p
|
45
|
+
+bordered
|
46
|
+
:border
|
47
|
+
:style dotted
|
48
|
+
:width 2px
|
49
|
+
.cool
|
50
|
+
:width 100px
|
51
|
+
|
52
|
+
#left
|
53
|
+
+bordered
|
54
|
+
:font
|
55
|
+
:size 2em
|
56
|
+
:weight bold
|
57
|
+
:float left
|
58
|
+
|
59
|
+
#right
|
60
|
+
+bordered
|
61
|
+
+header-font
|
62
|
+
:float right
|
63
|
+
|
64
|
+
.bordered
|
65
|
+
+bordered
|
66
|
+
|
67
|
+
.complex
|
68
|
+
+complex
|
69
|
+
|
70
|
+
.more-complex
|
71
|
+
+complex
|
72
|
+
+deep
|
73
|
+
display: inline
|
74
|
+
-webkit-nonsense:
|
75
|
+
top-right: 1px
|
76
|
+
bottom-left: 1px
|
@@ -0,0 +1,25 @@
|
|
1
|
+
#main
|
2
|
+
:width 15em
|
3
|
+
:color #0000ff
|
4
|
+
p
|
5
|
+
:border
|
6
|
+
:style dotted
|
7
|
+
/* Nested comment
|
8
|
+
More nested stuff
|
9
|
+
:width 2px
|
10
|
+
.cool
|
11
|
+
:width 100px
|
12
|
+
|
13
|
+
#left
|
14
|
+
:font
|
15
|
+
:size 2em
|
16
|
+
:weight bold
|
17
|
+
:float left
|
18
|
+
|
19
|
+
#right
|
20
|
+
.header
|
21
|
+
:border-style solid
|
22
|
+
.body
|
23
|
+
:border-style dotted
|
24
|
+
.footer
|
25
|
+
:border-style dashed
|
@@ -0,0 +1,25 @@
|
|
1
|
+
a
|
2
|
+
:color #000
|
3
|
+
&:hover
|
4
|
+
:color #f00
|
5
|
+
|
6
|
+
p, div
|
7
|
+
:width 100em
|
8
|
+
& foo
|
9
|
+
:width 10em
|
10
|
+
&:hover, bar
|
11
|
+
:height 20em
|
12
|
+
|
13
|
+
#cool
|
14
|
+
:border
|
15
|
+
:style solid
|
16
|
+
:width 2em
|
17
|
+
.ie7 &, .ie6 &
|
18
|
+
:content string(Totally not cool.)
|
19
|
+
.firefox &
|
20
|
+
:content string(Quite cool.)
|
21
|
+
|
22
|
+
.wow, .snazzy
|
23
|
+
:font-family fantasy
|
24
|
+
&:hover, &:visited
|
25
|
+
:font-weight bold
|
@@ -0,0 +1,101 @@
|
|
1
|
+
!width = 10em + 20
|
2
|
+
!color = #00ff98
|
3
|
+
!main_text = #ffa
|
4
|
+
!num = 10
|
5
|
+
!dec = 10.2
|
6
|
+
!dec_0 = 99.0
|
7
|
+
!neg = -10
|
8
|
+
!esc= 10"+12"
|
9
|
+
!str= "Hello!"
|
10
|
+
!qstr= "Quo\"ted\"!"
|
11
|
+
!hstr= "Hyph-en!"
|
12
|
+
!concat = "#{5 + 4} hi there"
|
13
|
+
!percent= 11%
|
14
|
+
!complex = 1px/1em
|
15
|
+
|
16
|
+
#main
|
17
|
+
:content = !str
|
18
|
+
:qstr = !qstr
|
19
|
+
:hstr = !hstr
|
20
|
+
:width = !width
|
21
|
+
:background-color #000
|
22
|
+
:color= !main_text
|
23
|
+
:short-color= #123
|
24
|
+
:named-color= olive
|
25
|
+
:con= "foo" bar (!concat "boom")
|
26
|
+
:con2= "noquo" "quo"
|
27
|
+
#sidebar
|
28
|
+
:background-color= !color
|
29
|
+
:num
|
30
|
+
:normal= !num
|
31
|
+
:dec= !dec
|
32
|
+
:dec0= !dec_0
|
33
|
+
:neg= !neg
|
34
|
+
:esc= !esc
|
35
|
+
:many= 1 + 2 + 3
|
36
|
+
:order= 1 + 2 * 3
|
37
|
+
:complex= ((1 + 2) + 15)+#3a8b9f + ("hi"+(1 +1+ 2)* 4)
|
38
|
+
|
39
|
+
#plus
|
40
|
+
:num
|
41
|
+
:num= 5+2
|
42
|
+
:num-un= 10em + 15em
|
43
|
+
:num-un2= 10 + 13em
|
44
|
+
:num-neg= 10 + -.13
|
45
|
+
:str= 100 * 1px
|
46
|
+
:col= 13 + #aaa
|
47
|
+
:perc = !percent + 20%
|
48
|
+
:str
|
49
|
+
:str= "hi" + "\ there"
|
50
|
+
:str2= "hi" + " there"
|
51
|
+
:col= "14em solid " + #123
|
52
|
+
:num= "times: " + 13
|
53
|
+
:col
|
54
|
+
:num= #f02 + 123.5
|
55
|
+
:col= #12A + #405162
|
56
|
+
|
57
|
+
#minus
|
58
|
+
:num
|
59
|
+
:num= 912 - 12
|
60
|
+
:col
|
61
|
+
:num= #fffffa - 5.2
|
62
|
+
:col= #abcdef - #fedcba
|
63
|
+
:unary
|
64
|
+
:num= -1
|
65
|
+
:const= -!neg
|
66
|
+
:paren= -(5 + 6)
|
67
|
+
:two= --12
|
68
|
+
:many= --------12
|
69
|
+
:crazy= -----(5 + ---!neg)
|
70
|
+
|
71
|
+
#times
|
72
|
+
:num
|
73
|
+
:num= 2 * 3.5
|
74
|
+
:col= 2 * #3a4b5c
|
75
|
+
:col
|
76
|
+
:num= #12468a * 0.5
|
77
|
+
:col= #121212 * #020304
|
78
|
+
|
79
|
+
#div
|
80
|
+
:num
|
81
|
+
:num= 10 / 3.0
|
82
|
+
:num2= 10 / 3
|
83
|
+
:col
|
84
|
+
:num= #12468a / 2
|
85
|
+
:col= #abcdef / #0f0f0f
|
86
|
+
:comp = !complex * 1em
|
87
|
+
|
88
|
+
#mod
|
89
|
+
:num
|
90
|
+
:num= 17 % 3
|
91
|
+
:col
|
92
|
+
:col= #5f6e7d % #10200a
|
93
|
+
:num= #aaabac % 3
|
94
|
+
|
95
|
+
#const
|
96
|
+
:escaped
|
97
|
+
:quote = "!foo"
|
98
|
+
:default = !str !important
|
99
|
+
|
100
|
+
#regression
|
101
|
+
:a= (3 + 2) - 1
|
@@ -0,0 +1,11 @@
|
|
1
|
+
b
|
2
|
+
:foo= 0.5 * 10px
|
3
|
+
:bar= 10zzz * 12px / 5zzz
|
4
|
+
:baz= percentage(12.0px / 18px)
|
5
|
+
:many-units= 10.0zzz / 3yyy * 12px / 5zzz * 3yyy / 3px * 4em
|
6
|
+
:mm= 5mm + 1cm
|
7
|
+
:pc= 1pc + 12pt
|
8
|
+
:pt= 72pt - 2in
|
9
|
+
:inches= 1in + 2.54cm
|
10
|
+
:more-inches= 1in + ((72pt * 2in) + (36pt * 1in)) / 2.54cm
|
11
|
+
:mixed= (1 + (1em * 6px / 3in)) * 4in / 2em
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
lib_dir = File.dirname(__FILE__) + '/../lib'
|
2
|
+
require File.dirname(__FILE__) + '/linked_rails'
|
3
|
+
|
4
|
+
require 'test/unit'
|
5
|
+
$:.unshift lib_dir unless $:.include?(lib_dir)
|
6
|
+
require 'haml'
|
7
|
+
require 'sass'
|
8
|
+
|
9
|
+
# required because of Sass::Plugin
|
10
|
+
unless defined? RAILS_ROOT
|
11
|
+
RAILS_ROOT = '.'
|
12
|
+
MERB_ENV = RAILS_ENV = 'testing'
|
13
|
+
end
|
14
|
+
|
15
|
+
class Test::Unit::TestCase
|
16
|
+
def munge_filename(opts)
|
17
|
+
return if opts[:filename]
|
18
|
+
test_name = caller[1].gsub(/^.*`(?:\w+ )*(\w+)'.*$/, '\1')
|
19
|
+
opts[:filename] = "#{test_name}_inline.sass"
|
20
|
+
end
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,273 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: merbjedi-haml
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nathan Weizenbaum
|
8
|
+
- Hampton Catlin
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2009-02-23 00:00:00 -08:00
|
14
|
+
default_executable:
|
15
|
+
dependencies: []
|
16
|
+
|
17
|
+
description: Haml (HTML Abstraction Markup Language) is a layer on top of XHTML or XML that's designed to express the structure of XHTML or XML documents in a non-repetitive, elegant, easy way, using indentation rather than closing tags and allowing Ruby to be embedded with ease. It was originally envisioned as a plugin for Ruby on Rails, but it can function as a stand-alone templating engine.
|
18
|
+
email: haml@googlegroups.com
|
19
|
+
executables:
|
20
|
+
- haml
|
21
|
+
- html2haml
|
22
|
+
- sass
|
23
|
+
- css2sass
|
24
|
+
extensions: []
|
25
|
+
|
26
|
+
extra_rdoc_files:
|
27
|
+
- FAQ
|
28
|
+
- MIT-LICENSE
|
29
|
+
- README.rdoc
|
30
|
+
- REVISION
|
31
|
+
- VERSION
|
32
|
+
files:
|
33
|
+
- rails/init.rb
|
34
|
+
- lib/haml
|
35
|
+
- lib/haml/buffer.rb
|
36
|
+
- lib/haml/engine.rb
|
37
|
+
- lib/haml/error.rb
|
38
|
+
- lib/haml/exec.rb
|
39
|
+
- lib/haml/filters.rb
|
40
|
+
- lib/haml/helpers
|
41
|
+
- lib/haml/helpers/action_view_extensions.rb
|
42
|
+
- lib/haml/helpers/action_view_mods.rb
|
43
|
+
- lib/haml/helpers.rb
|
44
|
+
- lib/haml/html.rb
|
45
|
+
- lib/haml/precompiler.rb
|
46
|
+
- lib/haml/shared.rb
|
47
|
+
- lib/haml/template
|
48
|
+
- lib/haml/template/patch.rb
|
49
|
+
- lib/haml/template/plugin.rb
|
50
|
+
- lib/haml/template.rb
|
51
|
+
- lib/haml/util.rb
|
52
|
+
- lib/haml/version.rb
|
53
|
+
- lib/haml.rb
|
54
|
+
- lib/sass
|
55
|
+
- lib/sass/css.rb
|
56
|
+
- lib/sass/engine.rb
|
57
|
+
- lib/sass/environment.rb
|
58
|
+
- lib/sass/error.rb
|
59
|
+
- lib/sass/plugin
|
60
|
+
- lib/sass/plugin/merb.rb
|
61
|
+
- lib/sass/plugin/rails.rb
|
62
|
+
- lib/sass/plugin.rb
|
63
|
+
- lib/sass/repl.rb
|
64
|
+
- lib/sass/script
|
65
|
+
- lib/sass/script/bool.rb
|
66
|
+
- lib/sass/script/color.rb
|
67
|
+
- lib/sass/script/funcall.rb
|
68
|
+
- lib/sass/script/functions.rb
|
69
|
+
- lib/sass/script/lexer.rb
|
70
|
+
- lib/sass/script/literal.rb
|
71
|
+
- lib/sass/script/number.rb
|
72
|
+
- lib/sass/script/operation.rb
|
73
|
+
- lib/sass/script/parser.rb
|
74
|
+
- lib/sass/script/string.rb
|
75
|
+
- lib/sass/script/unary_operation.rb
|
76
|
+
- lib/sass/script/variable.rb
|
77
|
+
- lib/sass/script.rb
|
78
|
+
- lib/sass/tree
|
79
|
+
- lib/sass/tree/attr_node.rb
|
80
|
+
- lib/sass/tree/comment_node.rb
|
81
|
+
- lib/sass/tree/debug_node.rb
|
82
|
+
- lib/sass/tree/directive_node.rb
|
83
|
+
- lib/sass/tree/file_node.rb
|
84
|
+
- lib/sass/tree/for_node.rb
|
85
|
+
- lib/sass/tree/if_node.rb
|
86
|
+
- lib/sass/tree/mixin_def_node.rb
|
87
|
+
- lib/sass/tree/mixin_node.rb
|
88
|
+
- lib/sass/tree/node.rb
|
89
|
+
- lib/sass/tree/rule_node.rb
|
90
|
+
- lib/sass/tree/variable_node.rb
|
91
|
+
- lib/sass/tree/while_node.rb
|
92
|
+
- lib/sass.rb
|
93
|
+
- bin/css2sass
|
94
|
+
- bin/haml
|
95
|
+
- bin/html2haml
|
96
|
+
- bin/sass
|
97
|
+
- test/benchmark.rb
|
98
|
+
- test/haml
|
99
|
+
- test/haml/engine_test.rb
|
100
|
+
- test/haml/helper_test.rb
|
101
|
+
- test/haml/html2haml_test.rb
|
102
|
+
- test/haml/markaby
|
103
|
+
- test/haml/markaby/standard.mab
|
104
|
+
- test/haml/mocks
|
105
|
+
- test/haml/mocks/article.rb
|
106
|
+
- test/haml/results
|
107
|
+
- test/haml/results/content_for_layout.xhtml
|
108
|
+
- test/haml/results/eval_suppressed.xhtml
|
109
|
+
- test/haml/results/filters.xhtml
|
110
|
+
- test/haml/results/helpers.xhtml
|
111
|
+
- test/haml/results/helpful.xhtml
|
112
|
+
- test/haml/results/just_stuff.xhtml
|
113
|
+
- test/haml/results/list.xhtml
|
114
|
+
- test/haml/results/nuke_inner_whitespace.xhtml
|
115
|
+
- test/haml/results/nuke_outer_whitespace.xhtml
|
116
|
+
- test/haml/results/original_engine.xhtml
|
117
|
+
- test/haml/results/partial_layout.xhtml
|
118
|
+
- test/haml/results/partials.xhtml
|
119
|
+
- test/haml/results/render_layout.xhtml
|
120
|
+
- test/haml/results/silent_script.xhtml
|
121
|
+
- test/haml/results/standard.xhtml
|
122
|
+
- test/haml/results/tag_parsing.xhtml
|
123
|
+
- test/haml/results/very_basic.xhtml
|
124
|
+
- test/haml/results/whitespace_handling.xhtml
|
125
|
+
- test/haml/rhtml
|
126
|
+
- test/haml/rhtml/_av_partial_1.rhtml
|
127
|
+
- test/haml/rhtml/_av_partial_2.rhtml
|
128
|
+
- test/haml/rhtml/action_view.rhtml
|
129
|
+
- test/haml/rhtml/standard.rhtml
|
130
|
+
- test/haml/template_test.rb
|
131
|
+
- test/haml/templates
|
132
|
+
- test/haml/templates/_av_partial_1.haml
|
133
|
+
- test/haml/templates/_av_partial_1_ugly.haml
|
134
|
+
- test/haml/templates/_av_partial_2.haml
|
135
|
+
- test/haml/templates/_av_partial_2_ugly.haml
|
136
|
+
- test/haml/templates/_layout.erb
|
137
|
+
- test/haml/templates/_layout_for_partial.haml
|
138
|
+
- test/haml/templates/_partial.haml
|
139
|
+
- test/haml/templates/_text_area.haml
|
140
|
+
- test/haml/templates/action_view.haml
|
141
|
+
- test/haml/templates/action_view_ugly.haml
|
142
|
+
- test/haml/templates/breakage.haml
|
143
|
+
- test/haml/templates/content_for_layout.haml
|
144
|
+
- test/haml/templates/eval_suppressed.haml
|
145
|
+
- test/haml/templates/filters.haml
|
146
|
+
- test/haml/templates/helpers.haml
|
147
|
+
- test/haml/templates/helpful.haml
|
148
|
+
- test/haml/templates/just_stuff.haml
|
149
|
+
- test/haml/templates/list.haml
|
150
|
+
- test/haml/templates/nuke_inner_whitespace.haml
|
151
|
+
- test/haml/templates/nuke_outer_whitespace.haml
|
152
|
+
- test/haml/templates/original_engine.haml
|
153
|
+
- test/haml/templates/partial_layout.haml
|
154
|
+
- test/haml/templates/partialize.haml
|
155
|
+
- test/haml/templates/partials.haml
|
156
|
+
- test/haml/templates/render_layout.haml
|
157
|
+
- test/haml/templates/silent_script.haml
|
158
|
+
- test/haml/templates/standard.haml
|
159
|
+
- test/haml/templates/standard_ugly.haml
|
160
|
+
- test/haml/templates/tag_parsing.haml
|
161
|
+
- test/haml/templates/very_basic.haml
|
162
|
+
- test/haml/templates/whitespace_handling.haml
|
163
|
+
- test/linked_rails.rb
|
164
|
+
- test/sass
|
165
|
+
- test/sass/css2sass_test.rb
|
166
|
+
- test/sass/engine_test.rb
|
167
|
+
- test/sass/functions_test.rb
|
168
|
+
- test/sass/more_results
|
169
|
+
- test/sass/more_results/more1.css
|
170
|
+
- test/sass/more_results/more1_with_line_comments.css
|
171
|
+
- test/sass/more_results/more_import.css
|
172
|
+
- test/sass/more_templates
|
173
|
+
- test/sass/more_templates/_more_partial.sass
|
174
|
+
- test/sass/more_templates/more1.sass
|
175
|
+
- test/sass/more_templates/more_import.sass
|
176
|
+
- test/sass/plugin_test.rb
|
177
|
+
- test/sass/results
|
178
|
+
- test/sass/results/alt.css
|
179
|
+
- test/sass/results/basic.css
|
180
|
+
- test/sass/results/compact.css
|
181
|
+
- test/sass/results/complex.css
|
182
|
+
- test/sass/results/compressed.css
|
183
|
+
- test/sass/results/expanded.css
|
184
|
+
- test/sass/results/import.css
|
185
|
+
- test/sass/results/line_numbers.css
|
186
|
+
- test/sass/results/mixins.css
|
187
|
+
- test/sass/results/multiline.css
|
188
|
+
- test/sass/results/nested.css
|
189
|
+
- test/sass/results/parent_ref.css
|
190
|
+
- test/sass/results/script.css
|
191
|
+
- test/sass/results/subdir
|
192
|
+
- test/sass/results/subdir/nested_subdir
|
193
|
+
- test/sass/results/subdir/nested_subdir/nested_subdir.css
|
194
|
+
- test/sass/results/subdir/subdir.css
|
195
|
+
- test/sass/results/units.css
|
196
|
+
- test/sass/script_test.rb
|
197
|
+
- test/sass/templates
|
198
|
+
- test/sass/templates/_partial.sass
|
199
|
+
- test/sass/templates/alt.sass
|
200
|
+
- test/sass/templates/basic.sass
|
201
|
+
- test/sass/templates/bork.sass
|
202
|
+
- test/sass/templates/bork2.sass
|
203
|
+
- test/sass/templates/compact.sass
|
204
|
+
- test/sass/templates/complex.sass
|
205
|
+
- test/sass/templates/compressed.sass
|
206
|
+
- test/sass/templates/expanded.sass
|
207
|
+
- test/sass/templates/import.sass
|
208
|
+
- test/sass/templates/importee.sass
|
209
|
+
- test/sass/templates/line_numbers.sass
|
210
|
+
- test/sass/templates/mixins.sass
|
211
|
+
- test/sass/templates/multiline.sass
|
212
|
+
- test/sass/templates/nested.sass
|
213
|
+
- test/sass/templates/parent_ref.sass
|
214
|
+
- test/sass/templates/script.sass
|
215
|
+
- test/sass/templates/subdir
|
216
|
+
- test/sass/templates/subdir/nested_subdir
|
217
|
+
- test/sass/templates/subdir/nested_subdir/_nested_partial.sass
|
218
|
+
- test/sass/templates/subdir/nested_subdir/nested_subdir.sass
|
219
|
+
- test/sass/templates/subdir/subdir.sass
|
220
|
+
- test/sass/templates/units.sass
|
221
|
+
- test/test_helper.rb
|
222
|
+
- extra/haml-mode.el
|
223
|
+
- extra/sass-mode.el
|
224
|
+
- Rakefile
|
225
|
+
- init.rb
|
226
|
+
- FAQ
|
227
|
+
- MIT-LICENSE
|
228
|
+
- README.rdoc
|
229
|
+
- REVISION
|
230
|
+
- VERSION
|
231
|
+
has_rdoc: true
|
232
|
+
homepage: https://github.com/merbjedi/haml
|
233
|
+
post_install_message:
|
234
|
+
rdoc_options:
|
235
|
+
- --title
|
236
|
+
- Haml
|
237
|
+
- --main
|
238
|
+
- README.rdoc
|
239
|
+
- --exclude
|
240
|
+
- lib/haml/buffer.rb
|
241
|
+
- --line-numbers
|
242
|
+
- --inline-source
|
243
|
+
require_paths:
|
244
|
+
- lib
|
245
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
246
|
+
requirements:
|
247
|
+
- - ">="
|
248
|
+
- !ruby/object:Gem::Version
|
249
|
+
version: "0"
|
250
|
+
version:
|
251
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
|
+
requirements:
|
253
|
+
- - ">="
|
254
|
+
- !ruby/object:Gem::Version
|
255
|
+
version: "0"
|
256
|
+
version:
|
257
|
+
requirements: []
|
258
|
+
|
259
|
+
rubyforge_project: merbjedi-haml
|
260
|
+
rubygems_version: 1.3.1
|
261
|
+
signing_key:
|
262
|
+
specification_version: 2
|
263
|
+
summary: An elegant, structured XHTML/XML templating engine. Comes with Sass, a similar CSS templating engine.
|
264
|
+
test_files:
|
265
|
+
- test/haml/engine_test.rb
|
266
|
+
- test/haml/helper_test.rb
|
267
|
+
- test/haml/html2haml_test.rb
|
268
|
+
- test/haml/template_test.rb
|
269
|
+
- test/sass/css2sass_test.rb
|
270
|
+
- test/sass/engine_test.rb
|
271
|
+
- test/sass/functions_test.rb
|
272
|
+
- test/sass/plugin_test.rb
|
273
|
+
- test/sass/script_test.rb
|