mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
34 lines
1.5 KiB
Ruby
34 lines
1.5 KiB
Ruby
Gem::Specification.new do |spec|
|
|
spec.name = 'haml'
|
|
spec.summary = "An elegant, structured (X)HTML/XML templating engine."
|
|
spec.version = File.read(File.dirname(__FILE__) + '/VERSION').strip
|
|
spec.authors = ['Nathan Weizenbaum', 'Hampton Catlin', 'Norman Clarke']
|
|
spec.email = ['haml@googlegroups.com', 'norman@njclarke.com']
|
|
|
|
readmes = Dir['*'].reject{ |x| x =~ /(^|[^.a-z])[a-z]+/ || x == "TODO" }
|
|
spec.executables = ['haml', 'html2haml']
|
|
spec.files = Dir['rails/init.rb', 'lib/**/*', 'bin/*', 'test/**/*',
|
|
'extra/**/*', 'Rakefile', 'init.rb', '.yardopts'] + readmes
|
|
spec.homepage = 'http://haml.info/'
|
|
spec.has_rdoc = false
|
|
spec.test_files = Dir["test/**/*_test.rb"]
|
|
|
|
spec.add_dependency "tilt"
|
|
|
|
spec.add_development_dependency 'yard', '>= 0.5.3'
|
|
spec.add_development_dependency 'maruku', '>= 0.5.9'
|
|
spec.add_development_dependency 'hpricot'
|
|
spec.add_development_dependency 'rails'
|
|
spec.add_development_dependency 'ruby_parser'
|
|
spec.add_development_dependency 'rbench'
|
|
spec.add_development_dependency 'minitest'
|
|
spec.add_development_dependency 'json'
|
|
|
|
spec.description = <<-END
|
|
Haml (HTML Abstraction Markup Language) is a layer on top of HTML or XML that's
|
|
designed to express the structure of documents in a non-repetitive, elegant, and
|
|
easy way by using indentation rather than closing tags and allowing Ruby to be
|
|
embedded with ease. It was originally envisioned as a plugin for Ruby on Rails,
|
|
but it can function as a stand-alone templating engine.
|
|
END
|
|
end
|