haml 1.0.3 → 1.0.4

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.
Files changed (5) hide show
  1. data/REFERENCE +1 -1
  2. data/Rakefile +1 -1
  3. data/VERSION +1 -1
  4. data/init.rb +3 -0
  5. metadata +3 -2
data/REFERENCE CHANGED
@@ -154,7 +154,7 @@ causes the tag to be self-closed.
154
154
  For example:
155
155
 
156
156
  %br/
157
- %meta{:http-equiv => 'Content-Type', :content => 'text/html'}/
157
+ %meta{'http-equiv' => 'Content-Type', :content => 'text/html'}/
158
158
 
159
159
  is compiled to:
160
160
 
data/Rakefile CHANGED
@@ -59,7 +59,7 @@ if is_task?('package', 'repackage', 'clobber_package')
59
59
 
60
60
  readmes = FileList.new('*') { |list| list.exclude(/[a-z]/) }.to_a
61
61
  spec.executables = ['haml']
62
- spec.files = FileList['lib/**/*', 'bin/*', 'test/**/*', 'Rakefile'].to_a + readmes
62
+ spec.files = FileList['lib/**/*', 'bin/*', 'test/**/*', 'Rakefile', 'init.rb'].to_a + readmes
63
63
  spec.homepage = 'http://haml.hamptoncatlin.com/'
64
64
  spec.has_rdoc = true
65
65
  spec.extra_rdoc_files = readmes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
data/init.rb ADDED
@@ -0,0 +1,3 @@
1
+ require 'haml/template'
2
+
3
+ ActionView::Base.register_template_handler('haml', Haml::Template)
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.3
7
- date: 2007-01-18 00:00:00 -08:00
6
+ version: 1.0.4
7
+ date: 2007-01-19 00:00:00 -08:00
8
8
  summary: An elegant, structured XHTML/XML templating engine.
9
9
  require_paths:
10
10
  - lib
@@ -79,6 +79,7 @@ files:
79
79
  - test/templates/just_stuff.haml
80
80
  - test/templates/tag_parsing.haml
81
81
  - Rakefile
82
+ - init.rb
82
83
  - MIT-LICENSE
83
84
  - VERSION
84
85
  - REFERENCE