drnic-haml 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +5 -0
- data/CONTRIBUTING +4 -0
- data/MIT-LICENSE +20 -0
- data/README.md +347 -0
- data/REVISION +1 -0
- data/Rakefile +371 -0
- data/VERSION +1 -0
- data/VERSION_NAME +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 +663 -0
- data/extra/sass-mode.el +205 -0
- data/extra/update_watch.rb +13 -0
- data/init.rb +8 -0
- data/lib/haml.rb +40 -0
- data/lib/haml/buffer.rb +307 -0
- data/lib/haml/engine.rb +301 -0
- data/lib/haml/error.rb +22 -0
- data/lib/haml/exec.rb +470 -0
- data/lib/haml/filters.rb +341 -0
- data/lib/haml/helpers.rb +560 -0
- data/lib/haml/helpers/action_view_extensions.rb +40 -0
- data/lib/haml/helpers/action_view_mods.rb +176 -0
- data/lib/haml/herb.rb +96 -0
- data/lib/haml/html.rb +308 -0
- data/lib/haml/precompiler.rb +997 -0
- data/lib/haml/shared.rb +78 -0
- data/lib/haml/template.rb +51 -0
- data/lib/haml/template/patch.rb +58 -0
- data/lib/haml/template/plugin.rb +71 -0
- data/lib/haml/util.rb +244 -0
- data/lib/haml/version.rb +64 -0
- data/lib/sass.rb +24 -0
- data/lib/sass/css.rb +423 -0
- data/lib/sass/engine.rb +491 -0
- data/lib/sass/environment.rb +79 -0
- data/lib/sass/error.rb +162 -0
- data/lib/sass/files.rb +133 -0
- data/lib/sass/plugin.rb +170 -0
- data/lib/sass/plugin/merb.rb +57 -0
- data/lib/sass/plugin/rails.rb +23 -0
- data/lib/sass/repl.rb +58 -0
- data/lib/sass/script.rb +55 -0
- data/lib/sass/script/bool.rb +17 -0
- data/lib/sass/script/color.rb +183 -0
- data/lib/sass/script/funcall.rb +50 -0
- data/lib/sass/script/functions.rb +199 -0
- data/lib/sass/script/lexer.rb +191 -0
- data/lib/sass/script/literal.rb +177 -0
- data/lib/sass/script/node.rb +14 -0
- data/lib/sass/script/number.rb +381 -0
- data/lib/sass/script/operation.rb +45 -0
- data/lib/sass/script/parser.rb +222 -0
- data/lib/sass/script/string.rb +12 -0
- data/lib/sass/script/unary_operation.rb +34 -0
- data/lib/sass/script/variable.rb +31 -0
- data/lib/sass/tree/comment_node.rb +84 -0
- data/lib/sass/tree/debug_node.rb +30 -0
- data/lib/sass/tree/directive_node.rb +70 -0
- data/lib/sass/tree/for_node.rb +48 -0
- data/lib/sass/tree/if_node.rb +54 -0
- data/lib/sass/tree/import_node.rb +69 -0
- data/lib/sass/tree/mixin_def_node.rb +29 -0
- data/lib/sass/tree/mixin_node.rb +48 -0
- data/lib/sass/tree/node.rb +252 -0
- data/lib/sass/tree/prop_node.rb +106 -0
- data/lib/sass/tree/root_node.rb +56 -0
- data/lib/sass/tree/rule_node.rb +220 -0
- data/lib/sass/tree/variable_node.rb +34 -0
- data/lib/sass/tree/while_node.rb +31 -0
- data/rails/init.rb +1 -0
- data/test/benchmark.rb +99 -0
- data/test/haml/engine_test.rb +1129 -0
- data/test/haml/helper_test.rb +282 -0
- data/test/haml/html2haml_test.rb +258 -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 +12 -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 +162 -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/spec_test.rb +44 -0
- data/test/haml/template_test.rb +217 -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 +8 -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/haml/util_test.rb +92 -0
- data/test/linked_rails.rb +12 -0
- data/test/sass/css2sass_test.rb +294 -0
- data/test/sass/engine_test.rb +956 -0
- data/test/sass/functions_test.rb +126 -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 +229 -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 +261 -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/bork1.sass +2 -0
- data/test/sass/templates/bork2.sass +2 -0
- data/test/sass/templates/bork3.sass +2 -0
- data/test/sass/templates/compact.sass +17 -0
- data/test/sass/templates/complex.sass +307 -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/nested_bork1.sass +2 -0
- data/test/sass/templates/nested_bork2.sass +2 -0
- data/test/sass/templates/nested_bork3.sass +2 -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 +44 -0
- metadata +298 -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,44 @@
|
|
1
|
+
lib_dir = File.dirname(__FILE__) + '/../lib'
|
2
|
+
require File.dirname(__FILE__) + '/linked_rails'
|
3
|
+
|
4
|
+
require 'test/unit'
|
5
|
+
require 'fileutils'
|
6
|
+
$:.unshift lib_dir unless $:.include?(lib_dir)
|
7
|
+
require 'haml'
|
8
|
+
require 'sass'
|
9
|
+
|
10
|
+
Sass::RAILS_LOADED = true unless defined?(Sass::RAILS_LOADED)
|
11
|
+
|
12
|
+
# required because of Sass::Plugin
|
13
|
+
unless defined? RAILS_ROOT
|
14
|
+
RAILS_ROOT = '.'
|
15
|
+
MERB_ENV = RAILS_ENV = 'testing'
|
16
|
+
end
|
17
|
+
|
18
|
+
class Test::Unit::TestCase
|
19
|
+
def munge_filename(opts)
|
20
|
+
return if opts[:filename]
|
21
|
+
test_name = caller[1].gsub(/^.*`(?:\w+ )*(\w+)'.*$/, '\1')
|
22
|
+
opts[:filename] = "#{test_name}_inline.sass"
|
23
|
+
end
|
24
|
+
|
25
|
+
def clean_up_sassc
|
26
|
+
path = File.dirname(__FILE__) + "/../.sass-cache"
|
27
|
+
FileUtils.rm_r(path) if File.exist?(path)
|
28
|
+
end
|
29
|
+
|
30
|
+
def assert_warning(message)
|
31
|
+
the_real_stderr, $stderr = $stderr, StringIO.new
|
32
|
+
yield
|
33
|
+
assert_equal message.strip, $stderr.string.strip
|
34
|
+
ensure
|
35
|
+
$stderr = the_real_stderr
|
36
|
+
end
|
37
|
+
|
38
|
+
def silence_warnings
|
39
|
+
the_real_stderr, $stderr = $stderr, StringIO.new
|
40
|
+
yield
|
41
|
+
ensure
|
42
|
+
$stderr = the_real_stderr
|
43
|
+
end
|
44
|
+
end
|
metadata
ADDED
@@ -0,0 +1,298 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: drnic-haml
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.3.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nathan Weizenbaum
|
8
|
+
- Hampton Catlin
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2009-10-06 00:00:00 +10:00
|
14
|
+
default_executable:
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: yard
|
18
|
+
type: :development
|
19
|
+
version_requirement:
|
20
|
+
version_requirements: !ruby/object:Gem::Requirement
|
21
|
+
requirements:
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 0.2.3
|
25
|
+
version:
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: maruku
|
28
|
+
type: :development
|
29
|
+
version_requirement:
|
30
|
+
version_requirements: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 0.5.9
|
35
|
+
version:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: ParseTree
|
38
|
+
type: :runtime
|
39
|
+
version_requirement:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 2.1.1
|
45
|
+
version:
|
46
|
+
description: " Haml (HTML Abstraction Markup Language) is a layer on top of XHTML or XML\n that's designed to express the structure of XHTML or XML documents\n in a non-repetitive, elegant, easy way,\n using indentation rather than closing tags\n and allowing Ruby to be embedded with ease.\n It was originally envisioned as a plugin for Ruby on Rails,\n but it can function as a stand-alone templating engine.\n"
|
47
|
+
email: haml@googlegroups.com
|
48
|
+
executables:
|
49
|
+
- haml
|
50
|
+
- html2haml
|
51
|
+
- sass
|
52
|
+
- css2sass
|
53
|
+
extensions: []
|
54
|
+
|
55
|
+
extra_rdoc_files:
|
56
|
+
- CONTRIBUTING
|
57
|
+
- MIT-LICENSE
|
58
|
+
- README.md
|
59
|
+
- REVISION
|
60
|
+
- VERSION
|
61
|
+
- VERSION_NAME
|
62
|
+
files:
|
63
|
+
- rails/init.rb
|
64
|
+
- lib/haml/buffer.rb
|
65
|
+
- lib/haml/engine.rb
|
66
|
+
- lib/haml/error.rb
|
67
|
+
- lib/haml/exec.rb
|
68
|
+
- lib/haml/filters.rb
|
69
|
+
- lib/haml/helpers/action_view_extensions.rb
|
70
|
+
- lib/haml/helpers/action_view_mods.rb
|
71
|
+
- lib/haml/helpers.rb
|
72
|
+
- lib/haml/herb.rb
|
73
|
+
- lib/haml/html.rb
|
74
|
+
- lib/haml/precompiler.rb
|
75
|
+
- lib/haml/shared.rb
|
76
|
+
- lib/haml/template/patch.rb
|
77
|
+
- lib/haml/template/plugin.rb
|
78
|
+
- lib/haml/template.rb
|
79
|
+
- lib/haml/util.rb
|
80
|
+
- lib/haml/version.rb
|
81
|
+
- lib/haml.rb
|
82
|
+
- lib/sass/css.rb
|
83
|
+
- lib/sass/engine.rb
|
84
|
+
- lib/sass/environment.rb
|
85
|
+
- lib/sass/error.rb
|
86
|
+
- lib/sass/files.rb
|
87
|
+
- lib/sass/plugin/merb.rb
|
88
|
+
- lib/sass/plugin/rails.rb
|
89
|
+
- lib/sass/plugin.rb
|
90
|
+
- lib/sass/repl.rb
|
91
|
+
- lib/sass/script/bool.rb
|
92
|
+
- lib/sass/script/color.rb
|
93
|
+
- lib/sass/script/funcall.rb
|
94
|
+
- lib/sass/script/functions.rb
|
95
|
+
- lib/sass/script/lexer.rb
|
96
|
+
- lib/sass/script/literal.rb
|
97
|
+
- lib/sass/script/node.rb
|
98
|
+
- lib/sass/script/number.rb
|
99
|
+
- lib/sass/script/operation.rb
|
100
|
+
- lib/sass/script/parser.rb
|
101
|
+
- lib/sass/script/string.rb
|
102
|
+
- lib/sass/script/unary_operation.rb
|
103
|
+
- lib/sass/script/variable.rb
|
104
|
+
- lib/sass/script.rb
|
105
|
+
- lib/sass/tree/comment_node.rb
|
106
|
+
- lib/sass/tree/debug_node.rb
|
107
|
+
- lib/sass/tree/directive_node.rb
|
108
|
+
- lib/sass/tree/for_node.rb
|
109
|
+
- lib/sass/tree/if_node.rb
|
110
|
+
- lib/sass/tree/import_node.rb
|
111
|
+
- lib/sass/tree/mixin_def_node.rb
|
112
|
+
- lib/sass/tree/mixin_node.rb
|
113
|
+
- lib/sass/tree/node.rb
|
114
|
+
- lib/sass/tree/prop_node.rb
|
115
|
+
- lib/sass/tree/root_node.rb
|
116
|
+
- lib/sass/tree/rule_node.rb
|
117
|
+
- lib/sass/tree/variable_node.rb
|
118
|
+
- lib/sass/tree/while_node.rb
|
119
|
+
- lib/sass.rb
|
120
|
+
- bin/css2sass
|
121
|
+
- bin/haml
|
122
|
+
- bin/html2haml
|
123
|
+
- bin/sass
|
124
|
+
- test/benchmark.rb
|
125
|
+
- test/haml/engine_test.rb
|
126
|
+
- test/haml/helper_test.rb
|
127
|
+
- test/haml/html2haml_test.rb
|
128
|
+
- test/haml/markaby/standard.mab
|
129
|
+
- test/haml/mocks/article.rb
|
130
|
+
- test/haml/results/content_for_layout.xhtml
|
131
|
+
- test/haml/results/eval_suppressed.xhtml
|
132
|
+
- test/haml/results/filters.xhtml
|
133
|
+
- test/haml/results/helpers.xhtml
|
134
|
+
- test/haml/results/helpful.xhtml
|
135
|
+
- test/haml/results/just_stuff.xhtml
|
136
|
+
- test/haml/results/list.xhtml
|
137
|
+
- test/haml/results/nuke_inner_whitespace.xhtml
|
138
|
+
- test/haml/results/nuke_outer_whitespace.xhtml
|
139
|
+
- test/haml/results/original_engine.xhtml
|
140
|
+
- test/haml/results/partial_layout.xhtml
|
141
|
+
- test/haml/results/partials.xhtml
|
142
|
+
- test/haml/results/render_layout.xhtml
|
143
|
+
- test/haml/results/silent_script.xhtml
|
144
|
+
- test/haml/results/standard.xhtml
|
145
|
+
- test/haml/results/tag_parsing.xhtml
|
146
|
+
- test/haml/results/very_basic.xhtml
|
147
|
+
- test/haml/results/whitespace_handling.xhtml
|
148
|
+
- test/haml/rhtml/_av_partial_1.rhtml
|
149
|
+
- test/haml/rhtml/_av_partial_2.rhtml
|
150
|
+
- test/haml/rhtml/action_view.rhtml
|
151
|
+
- test/haml/rhtml/standard.rhtml
|
152
|
+
- test/haml/spec_test.rb
|
153
|
+
- test/haml/template_test.rb
|
154
|
+
- test/haml/templates/_av_partial_1.haml
|
155
|
+
- test/haml/templates/_av_partial_1_ugly.haml
|
156
|
+
- test/haml/templates/_av_partial_2.haml
|
157
|
+
- test/haml/templates/_av_partial_2_ugly.haml
|
158
|
+
- test/haml/templates/_layout.erb
|
159
|
+
- test/haml/templates/_layout_for_partial.haml
|
160
|
+
- test/haml/templates/_partial.haml
|
161
|
+
- test/haml/templates/_text_area.haml
|
162
|
+
- test/haml/templates/action_view.haml
|
163
|
+
- test/haml/templates/action_view_ugly.haml
|
164
|
+
- test/haml/templates/breakage.haml
|
165
|
+
- test/haml/templates/content_for_layout.haml
|
166
|
+
- test/haml/templates/eval_suppressed.haml
|
167
|
+
- test/haml/templates/filters.haml
|
168
|
+
- test/haml/templates/helpers.haml
|
169
|
+
- test/haml/templates/helpful.haml
|
170
|
+
- test/haml/templates/just_stuff.haml
|
171
|
+
- test/haml/templates/list.haml
|
172
|
+
- test/haml/templates/nuke_inner_whitespace.haml
|
173
|
+
- test/haml/templates/nuke_outer_whitespace.haml
|
174
|
+
- test/haml/templates/original_engine.haml
|
175
|
+
- test/haml/templates/partial_layout.haml
|
176
|
+
- test/haml/templates/partialize.haml
|
177
|
+
- test/haml/templates/partials.haml
|
178
|
+
- test/haml/templates/render_layout.haml
|
179
|
+
- test/haml/templates/silent_script.haml
|
180
|
+
- test/haml/templates/standard.haml
|
181
|
+
- test/haml/templates/standard_ugly.haml
|
182
|
+
- test/haml/templates/tag_parsing.haml
|
183
|
+
- test/haml/templates/very_basic.haml
|
184
|
+
- test/haml/templates/whitespace_handling.haml
|
185
|
+
- test/haml/util_test.rb
|
186
|
+
- test/linked_rails.rb
|
187
|
+
- test/sass/css2sass_test.rb
|
188
|
+
- test/sass/engine_test.rb
|
189
|
+
- test/sass/functions_test.rb
|
190
|
+
- test/sass/more_results/more1.css
|
191
|
+
- test/sass/more_results/more1_with_line_comments.css
|
192
|
+
- test/sass/more_results/more_import.css
|
193
|
+
- test/sass/more_templates/_more_partial.sass
|
194
|
+
- test/sass/more_templates/more1.sass
|
195
|
+
- test/sass/more_templates/more_import.sass
|
196
|
+
- test/sass/plugin_test.rb
|
197
|
+
- test/sass/results/alt.css
|
198
|
+
- test/sass/results/basic.css
|
199
|
+
- test/sass/results/compact.css
|
200
|
+
- test/sass/results/complex.css
|
201
|
+
- test/sass/results/compressed.css
|
202
|
+
- test/sass/results/expanded.css
|
203
|
+
- test/sass/results/import.css
|
204
|
+
- test/sass/results/line_numbers.css
|
205
|
+
- test/sass/results/mixins.css
|
206
|
+
- test/sass/results/multiline.css
|
207
|
+
- test/sass/results/nested.css
|
208
|
+
- test/sass/results/parent_ref.css
|
209
|
+
- test/sass/results/script.css
|
210
|
+
- test/sass/results/subdir/nested_subdir/nested_subdir.css
|
211
|
+
- test/sass/results/subdir/subdir.css
|
212
|
+
- test/sass/results/units.css
|
213
|
+
- test/sass/script_test.rb
|
214
|
+
- test/sass/templates/_partial.sass
|
215
|
+
- test/sass/templates/alt.sass
|
216
|
+
- test/sass/templates/basic.sass
|
217
|
+
- test/sass/templates/bork1.sass
|
218
|
+
- test/sass/templates/bork2.sass
|
219
|
+
- test/sass/templates/bork3.sass
|
220
|
+
- test/sass/templates/compact.sass
|
221
|
+
- test/sass/templates/complex.sass
|
222
|
+
- test/sass/templates/compressed.sass
|
223
|
+
- test/sass/templates/expanded.sass
|
224
|
+
- test/sass/templates/import.sass
|
225
|
+
- test/sass/templates/importee.sass
|
226
|
+
- test/sass/templates/line_numbers.sass
|
227
|
+
- test/sass/templates/mixins.sass
|
228
|
+
- test/sass/templates/multiline.sass
|
229
|
+
- test/sass/templates/nested.sass
|
230
|
+
- test/sass/templates/nested_bork1.sass
|
231
|
+
- test/sass/templates/nested_bork2.sass
|
232
|
+
- test/sass/templates/nested_bork3.sass
|
233
|
+
- test/sass/templates/parent_ref.sass
|
234
|
+
- test/sass/templates/script.sass
|
235
|
+
- test/sass/templates/subdir/nested_subdir/_nested_partial.sass
|
236
|
+
- test/sass/templates/subdir/nested_subdir/nested_subdir.sass
|
237
|
+
- test/sass/templates/subdir/subdir.sass
|
238
|
+
- test/sass/templates/units.sass
|
239
|
+
- test/test_helper.rb
|
240
|
+
- extra/haml-mode.el
|
241
|
+
- extra/sass-mode.el
|
242
|
+
- extra/update_watch.rb
|
243
|
+
- Rakefile
|
244
|
+
- init.rb
|
245
|
+
- .yardopts
|
246
|
+
- CONTRIBUTING
|
247
|
+
- MIT-LICENSE
|
248
|
+
- README.md
|
249
|
+
- REVISION
|
250
|
+
- VERSION
|
251
|
+
- VERSION_NAME
|
252
|
+
has_rdoc: true
|
253
|
+
homepage: http://haml.hamptoncatlin.com/
|
254
|
+
licenses: []
|
255
|
+
|
256
|
+
post_install_message:
|
257
|
+
rdoc_options:
|
258
|
+
- --title
|
259
|
+
- Haml
|
260
|
+
- --main
|
261
|
+
- README.rdoc
|
262
|
+
- --exclude
|
263
|
+
- lib/haml/buffer.rb
|
264
|
+
- --line-numbers
|
265
|
+
- --inline-source
|
266
|
+
require_paths:
|
267
|
+
- lib
|
268
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
269
|
+
requirements:
|
270
|
+
- - ">="
|
271
|
+
- !ruby/object:Gem::Version
|
272
|
+
version: "0"
|
273
|
+
version:
|
274
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: "0"
|
279
|
+
version:
|
280
|
+
requirements: []
|
281
|
+
|
282
|
+
rubyforge_project: haml
|
283
|
+
rubygems_version: 1.3.5
|
284
|
+
signing_key:
|
285
|
+
specification_version: 3
|
286
|
+
summary: An elegant, structured XHTML/XML templating engine. Comes with Sass, a similar CSS templating engine.
|
287
|
+
test_files:
|
288
|
+
- test/haml/engine_test.rb
|
289
|
+
- test/haml/helper_test.rb
|
290
|
+
- test/haml/html2haml_test.rb
|
291
|
+
- test/haml/spec_test.rb
|
292
|
+
- test/haml/template_test.rb
|
293
|
+
- test/haml/util_test.rb
|
294
|
+
- test/sass/css2sass_test.rb
|
295
|
+
- test/sass/engine_test.rb
|
296
|
+
- test/sass/functions_test.rb
|
297
|
+
- test/sass/plugin_test.rb
|
298
|
+
- test/sass/script_test.rb
|