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