2012-06-04 15:28:23 -03:00
|
|
|
($LOAD_PATH << File.expand_path("../lib", __FILE__)).uniq!
|
|
|
|
require "haml/version"
|
2012-05-30 16:01:31 -03:00
|
|
|
|
2012-04-27 13:46:28 -03:00
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = 'haml'
|
|
|
|
spec.summary = "An elegant, structured (X)HTML/XML templating engine."
|
2012-05-30 16:01:31 -03:00
|
|
|
spec.version = Haml::VERSION
|
2012-04-27 13:46:28 -03:00
|
|
|
spec.authors = ['Nathan Weizenbaum', 'Hampton Catlin', 'Norman Clarke']
|
|
|
|
spec.email = ['haml@googlegroups.com', 'norman@njclarke.com']
|
2008-04-29 01:54:31 -07:00
|
|
|
|
2012-04-27 13:46:28 -03:00
|
|
|
readmes = Dir['*'].reject{ |x| x =~ /(^|[^.a-z])[a-z]+/ || x == "TODO" }
|
2012-06-06 18:56:06 -03:00
|
|
|
spec.executables = ['haml']
|
2012-04-27 13:46:28 -03:00
|
|
|
spec.files = Dir['rails/init.rb', 'lib/**/*', 'bin/*', 'test/**/*',
|
|
|
|
'extra/**/*', 'Rakefile', 'init.rb', '.yardopts'] + readmes
|
2012-05-01 10:25:56 -03:00
|
|
|
spec.homepage = 'http://haml.info/'
|
2012-04-27 13:46:28 -03:00
|
|
|
spec.has_rdoc = false
|
2012-04-28 17:15:27 -03:00
|
|
|
spec.test_files = Dir["test/**/*_test.rb"]
|
2013-01-29 18:02:17 +01:00
|
|
|
spec.license = "MIT"
|
2008-04-24 21:35:30 -07:00
|
|
|
|
2013-05-22 22:49:48 -06:00
|
|
|
spec.required_ruby_version = '>=1.9.2'
|
|
|
|
|
2013-12-24 11:25:20 -07:00
|
|
|
spec.add_dependency 'tilt'
|
2012-05-05 09:33:07 -03:00
|
|
|
|
2013-12-26 14:39:51 -07:00
|
|
|
spec.add_development_dependency 'rails', '>= 3.2.0'
|
2012-04-27 22:08:02 -03:00
|
|
|
spec.add_development_dependency 'rbench'
|
2013-12-27 13:20:30 -08:00
|
|
|
spec.add_development_dependency 'minitest', '>= 4.0'
|
2013-11-05 10:10:48 -07:00
|
|
|
spec.add_development_dependency 'nokogiri', '~> 1.6.0'
|
2009-07-04 15:56:32 -07:00
|
|
|
|
2012-04-27 13:46:28 -03:00
|
|
|
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
|
2012-06-14 15:43:44 -03:00
|
|
|
|
2008-04-24 21:35:30 -07:00
|
|
|
end
|