haml 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of haml might be problematic. Click here for more details.
- data/Rakefile +5 -1
- data/VERSION +1 -1
- data/lib/haml/helpers/action_view_mods.rb +1 -0
- data/test/helper_test.rb +1 -1
- data/test/results/silent_script.xhtml +1 -1
- data/test/templates/silent_script.haml +1 -1
- metadata +7 -7
data/Rakefile
CHANGED
@@ -73,7 +73,11 @@ if is_task?('package', 'repackage', 'clobber_package')
|
|
73
73
|
spec.test_files = FileList['test/**/*_test.rb'].to_a
|
74
74
|
end
|
75
75
|
|
76
|
-
Rake::GemPackageTask.new(spec)
|
76
|
+
Rake::GemPackageTask.new(spec) do |pkg|
|
77
|
+
pkg.need_zip = true
|
78
|
+
pkg.need_tar_gz = true
|
79
|
+
pkg.need_tar_bz2 = true
|
80
|
+
end
|
77
81
|
end
|
78
82
|
|
79
83
|
# ----- Benchmarking -----
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.3
|
data/test/helper_test.rb
CHANGED
@@ -93,7 +93,7 @@ class HelperTest < Test::Unit::TestCase
|
|
93
93
|
# two behaviors.
|
94
94
|
|
95
95
|
result = render("- form_tag 'foo' do\n %p bar\n %strong baz", :action_view)
|
96
|
-
new_rails = "<form action=\"foo\" method=\"post\">\n <p>
|
96
|
+
new_rails = "<form action=\"foo\" method=\"post\">\n <p>bar</p>\n <strong>baz</strong>\n</form>"
|
97
97
|
old_rails = ""
|
98
98
|
assert(result == new_rails || result == old_rails)
|
99
99
|
end
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: haml
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
date: 2007-01-
|
6
|
+
version: 1.0.3
|
7
|
+
date: 2007-01-18 00:00:00 -08:00
|
8
8
|
summary: An elegant, structured XHTML/XML templating engine.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -47,6 +47,7 @@ files:
|
|
47
47
|
- test/runner.rb
|
48
48
|
- test/benchmark.rb
|
49
49
|
- test/template_test.rb
|
50
|
+
- test/results/silent_script.xhtml
|
50
51
|
- test/results/whitespace_handling.xhtml
|
51
52
|
- test/results/eval_suppressed.xhtml
|
52
53
|
- test/results/very_basic.xhtml
|
@@ -58,21 +59,20 @@ files:
|
|
58
59
|
- test/results/helpful.xhtml
|
59
60
|
- test/results/partials.xhtml
|
60
61
|
- test/results/standard.xhtml
|
61
|
-
- test/results/silent_script.xhtml
|
62
62
|
- test/results/helpers.xhtml
|
63
63
|
- test/rhtml/standard.rhtml
|
64
64
|
- test/mocks/article.rb
|
65
|
+
- test/templates/eval_suppressed.haml
|
65
66
|
- test/templates/standard.haml
|
66
67
|
- test/templates/helpful.haml
|
67
|
-
- test/templates/whitespace_handling.haml
|
68
68
|
- test/templates/helpers.haml
|
69
|
+
- test/templates/whitespace_handling.haml
|
69
70
|
- test/templates/partialize.haml
|
70
|
-
- test/templates/eval_suppressed.haml
|
71
|
-
- test/templates/list.haml
|
72
71
|
- test/templates/_text_area.haml
|
72
|
+
- test/templates/list.haml
|
73
|
+
- test/templates/silent_script.haml
|
73
74
|
- test/templates/content_for_layout.haml
|
74
75
|
- test/templates/partials.haml
|
75
|
-
- test/templates/silent_script.haml
|
76
76
|
- test/templates/very_basic.haml
|
77
77
|
- test/templates/original_engine.haml
|
78
78
|
- test/templates/_partial.haml
|