public
Rubygem
Fork of nex3/haml
Description: HTML Abstraction Markup Language - A Markup Haiku
Homepage: http://haml.hamptoncatlin.com
Clone URL: git://github.com/chriseppstein/haml.git
Search Repo:
Move the Haml gemspec into its own file.

This means GitHub will build the gem for us.
nex3 (author)
Thu Apr 24 21:35:30 -0700 2008
commit  6a604851010b3bfa950ad0733ec245777eff2ca2
tree    8bcbd19d0a721baac5d70215fb499cef1d57040f
parent  9d942ca94e6a2784cd475defcf678446dba7b931
...
52
53
54
 
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
 
95
96
97
...
52
53
54
55
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
58
59
60
0
@@ -52,46 +52,9 @@
0
 
0
   require 'rake/gempackagetask'
0
   require 'lib/haml'
0
+ load 'haml.gemspec'
0
 
0
- spec = Gem::Specification.new do |spec|
0
- spec.name = 'haml'
0
- spec.summary = "An elegant, structured XHTML/XML templating engine.\nComes with Sass, a similar CSS templating engine."
0
- spec.version = File.read('VERSION').strip
0
- spec.author = 'Hampton Catlin'
0
- spec.email = 'haml@googlegroups.com'
0
- spec.description = <<-END
0
- Haml (HTML Abstraction Markup Language) is a layer on top of XHTML or XML
0
- that's designed to express the structure of XHTML or XML documents
0
- in a non-repetitive, elegant, easy way,
0
- using indentation rather than closing tags
0
- and allowing Ruby to be embedded with ease.
0
- It was originally envisioned as a plugin for Ruby on Rails,
0
- but it can function as a stand-alone templating engine.
0
- END
0
- #'
0
-
0
- readmes = FileList.new('*') do |list|
0
- list.exclude(/(^|[^.a-z])[a-z]+/)
0
- list.exclude('TODO')
0
- list.include('REVISION')
0
- end.to_a
0
- spec.executables = ['haml', 'html2haml', 'sass', 'css2sass']
0
- spec.files = FileList['lib/**/*', 'bin/*', 'test/**/*', 'Rakefile', 'init.rb'].to_a + readmes
0
- spec.autorequire = ['haml', 'sass']
0
- spec.homepage = 'http://haml.hamptoncatlin.com/'
0
- spec.has_rdoc = true
0
- spec.extra_rdoc_files = readmes
0
- spec.rdoc_options += [
0
- '--title', 'Haml',
0
- '--main', 'README.rdoc',
0
- '--exclude', 'lib/haml/buffer.rb',
0
- '--line-numbers',
0
- '--inline-source'
0
- ]
0
- spec.test_files = FileList['test/**/*_test.rb'].to_a
0
- end
0
-
0
- Rake::GemPackageTask.new(spec) do |pkg|
0
+ Rake::GemPackageTask.new(HAML_GEMSPEC) do |pkg|
0
     pkg.need_zip = true
0
     pkg.need_tar_gz = true
0
     pkg.need_tar_bz2 = true
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
0
@@ -1 +1,38 @@
0
+HAML_GEMSPEC = Gem::Specification.new do |spec|
0
+ spec.name = 'haml'
0
+ spec.summary = "An elegant, structured XHTML/XML templating engine.\nComes with Sass, a similar CSS templating engine."
0
+ spec.version = File.read('VERSION').strip
0
+ spec.author = 'Hampton Catlin'
0
+ spec.email = 'haml@googlegroups.com'
0
+ spec.description = <<-END
0
+ Haml (HTML Abstraction Markup Language) is a layer on top of XHTML or XML
0
+ that's designed to express the structure of XHTML or XML documents
0
+ in a non-repetitive, elegant, easy way,
0
+ using indentation rather than closing tags
0
+ and allowing Ruby to be embedded with ease.
0
+ It was originally envisioned as a plugin for Ruby on Rails,
0
+ but it can function as a stand-alone templating engine.
0
+ END
0
+ #'
0
+
0
+ readmes = FileList.new('*') do |list|
0
+ list.exclude(/(^|[^.a-z])[a-z]+/)
0
+ list.exclude('TODO')
0
+ list.include('REVISION')
0
+ end.to_a
0
+ spec.executables = ['haml', 'html2haml', 'sass', 'css2sass']
0
+ spec.files = FileList['lib/**/*', 'bin/*', 'test/**/*', 'Rakefile', 'init.rb'].to_a + readmes
0
+ spec.autorequire = ['haml', 'sass']
0
+ spec.homepage = 'http://haml.hamptoncatlin.com/'
0
+ spec.has_rdoc = true
0
+ spec.extra_rdoc_files = readmes
0
+ spec.rdoc_options += [
0
+ '--title', 'Haml',
0
+ '--main', 'README.rdoc',
0
+ '--exclude', 'lib/haml/buffer.rb',
0
+ '--line-numbers',
0
+ '--inline-source'
0
+ ]
0
+ spec.test_files = FileList['test/**/*_test.rb'].to_a
0
+end

Comments

    No one has commented yet.