-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove cruft from Rakefile and gemspec
- Loading branch information
Showing
6 changed files
with
59 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
--readme README.md | ||
--markup markdown | ||
--markup-provider maruku | ||
--default-return "" | ||
--title "Haml Documentation" | ||
--query 'object.type != :classvariable' | ||
--query 'object.type != :constant || @api && @api.text == "public"' | ||
--charset utf-8 | ||
--readme README.md | ||
--markup markdown | ||
--markup-provider maruku | ||
--template-path yard | ||
--default-return "" | ||
--title "Haml Documentation" | ||
--query 'object.type != :classvariable' | ||
--query 'object.type != :constant || @api && @api.text == "public"' | ||
--exclude lib/haml/template/patch.rb | ||
--exclude lib/haml/template/plugin.rb | ||
--exclude lib/haml/railtie.rb | ||
--exclude lib/haml/helpers/action_view_mods.rb | ||
--exclude lib/haml/helpers/xss_mods.rb | ||
--hide-void-return | ||
--protected | ||
--no-private | ||
--no-highlight | ||
- | ||
FAQ.md | ||
CHANGELOG.md | ||
REFERENCE.md | ||
MIT-LICENSE |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
require 'rubygems' | ||
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 = ['[email protected]', '[email protected]'] | ||
|
||
HAML_GEMSPEC = Gem::Specification.new do |spec| | ||
spec.name = 'haml' | ||
spec.summary = "An elegant, structured XHTML/XML templating engine." | ||
spec.version = File.read(File.dirname(__FILE__) + '/VERSION').strip | ||
spec.authors = ['Nathan Weizenbaum', 'Hampton Catlin', 'Norman Clarke'] | ||
spec.email = ['[email protected]', '[email protected]'] | ||
spec.description = <<-END | ||
Haml (HTML Abstraction Markup Language) is a layer on top of XHTML or XML | ||
that's designed to express the structure of (X)HTML or XML documents in a | ||
non-repetitive, elegant, easy way, 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 | ||
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-lang.com/' | ||
spec.has_rdoc = false | ||
spec.test_files = Dir["test/**/*_test.rb"].reject {|x| x =~ /haml-spec/} | ||
|
||
spec.add_development_dependency 'yard', '>= 0.5.3' | ||
spec.add_development_dependency 'maruku', '>= 0.5.9' | ||
|
@@ -22,11 +20,11 @@ HAML_GEMSPEC = Gem::Specification.new do |spec| | |
spec.add_development_dependency 'rails' | ||
spec.add_development_dependency 'ruby_parser' | ||
|
||
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-lang.com/' | ||
spec.has_rdoc = false | ||
spec.test_files = Dir['test/**/*_test.rb'] | ||
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 |