Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Releasing version 1.0.3 - now compatible with Rails 1.2.

git-svn-id: svn://hamptoncatlin.com/haml/tags/rel_1-0-3@290 7063305b-7217-0410-af8c-cdc13e5119b9
  • Loading branch information...
commit d96b5de021f7209a4daca32e3299c16015642164 1 parent d3482dc
@nex3 nex3 authored
View
6 Rakefile
@@ -73,7 +73,11 @@ if is_task?('package', 'repackage', 'clobber_package')
spec.test_files = FileList['test/**/*_test.rb'].to_a
end
- Rake::GemPackageTask.new(spec) { |pkg| }
+ Rake::GemPackageTask.new(spec) do |pkg|
+ pkg.need_zip = true
+ pkg.need_tar_gz = true
+ pkg.need_tar_bz2 = true
+ end
end
# ----- Benchmarking -----
View
2  VERSION
@@ -1 +1 @@
-1.0.2
+1.0.3
View
1  lib/haml/helpers/action_view_mods.rb
@@ -1,6 +1,7 @@
begin
require 'rubygems'
require 'active_support'
+ require 'action_controller'
require 'action_view'
action_view_included = true
rescue LoadError
View
2  test/helper_test.rb
@@ -93,7 +93,7 @@ def test_form_tag
# two behaviors.
result = render("- form_tag 'foo' do\n %p bar\n %strong baz", :action_view)
- new_rails = "<form action=\"foo\" method=\"post\">\n <p>foo</p>\n</form>\n"
+ new_rails = "<form action=\"foo\" method=\"post\">\n <p>bar</p>\n <strong>baz</strong>\n</form>"
old_rails = ""
assert(result == new_rails || result == old_rails)
end
View
2  test/results/silent_script.xhtml
@@ -50,7 +50,7 @@
<li>z</li>
</ul>
<h1>I can catch errors!</h1>
- Oh no! "uninitialized constant Foo" happened!
+ Oh no! "undefined method `silly' for String:Class" happened!
<p>
"false" is:
false
View
2  test/templates/silent_script.haml
@@ -8,7 +8,7 @@
%li= i
%h1 I can catch errors!
- begin
- - Foo.silly
+ - String.silly
- rescue NameError => e
= "Oh no! \"#{e}\" happened!"
%p
Please sign in to comment.
Something went wrong with that request. Please try again.