Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 35 lines (31 sloc) 1.615 kb
ec2e0e6 @nex3 Add requires to the gemspec necessary to get it to run with 'gem build.'
nex3 authored
1 require 'rubygems'
2
27891c5 @nex3 Add some documentation about haml-edge.
nex3 authored
3 # Note that Haml's gem-compilation process requires access to the filesystem.
4 # This means that it cannot be automatically run by e.g. GitHub's gem system.
5 # However, a build server automatically packages the master branch
d9382b1 @nex3 Update VERSION-handling to cope with prerelease versions for edge.
nex3 authored
6 # every time it's pushed to; this is made available as a prerelease gem.
6a60485 @nex3 Move the Haml gemspec into its own file.
nex3 authored
7 HAML_GEMSPEC = Gem::Specification.new do |spec|
1a0b452 @nex3 Add a Rake task for packaging a special edge gem.
nex3 authored
8 spec.rubyforge_project = 'haml'
d9382b1 @nex3 Update VERSION-handling to cope with prerelease versions for edge.
nex3 authored
9 spec.name = 'haml'
fd9a367 @nex3 Excise Sass from within files.
nex3 authored
10 spec.summary = "An elegant, structured XHTML/XML templating engine."
e167efa @nex3 Scope all file accesses in the Rakefile so it'll work regardless of cwd.
nex3 authored
11 spec.version = File.read(File.dirname(__FILE__) + '/VERSION').strip
fd9a367 @nex3 Excise Sass from within files.
nex3 authored
12 spec.authors = ['Nathan Weizenbaum', 'Hampton Catlin']
6a60485 @nex3 Move the Haml gemspec into its own file.
nex3 authored
13 spec.email = 'haml@googlegroups.com'
14 spec.description = <<-END
15 Haml (HTML Abstraction Markup Language) is a layer on top of XHTML or XML
16 that's designed to express the structure of XHTML or XML documents
17 in a non-repetitive, elegant, easy way,
18 using indentation rather than closing tags
19 and allowing Ruby to be embedded with ease.
20 It was originally envisioned as a plugin for Ruby on Rails,
21 but it can function as a stand-alone templating engine.
22 END
23
14c4a88 @nex3 Upgrade to YARD 0.5.3.
nex3 authored
24 spec.add_development_dependency 'yard', '>= 0.5.3'
242aee3 @nex3 Add developer dependencies to the gem for building the documentation.
nex3 authored
25 spec.add_development_dependency 'maruku', '>= 0.5.9'
26
4cdbaf3 @gmccreight Removed require rake by switching to Dir.[].
gmccreight authored
27 readmes = Dir['*'].reject{ |x| x =~ /(^|[^.a-z])[a-z]+/ || x == "TODO" }
fd9a367 @nex3 Excise Sass from within files.
nex3 authored
28 spec.executables = ['haml', 'html2haml']
0537bc2 @nex3 Get rid of the FSSM submodule.
nex3 authored
29 spec.files = Dir['rails/init.rb', 'lib/**/*', 'bin/*', 'test/**/*',
c442b54 @nex3 Make sure to include vendored sass dir.
nex3 authored
30 'extra/**/*', 'vendor/sass/**/*', 'Rakefile', 'init.rb', '.yardopts'] + readmes
4695851 @nex3 Update the website in the gemspec to point to haml-lang.com.
nex3 authored
31 spec.homepage = 'http://haml-lang.com/'
5af9dbf @nex3 Set has_rdoc = false in the gemfile.
nex3 authored
32 spec.has_rdoc = false
4cdbaf3 @gmccreight Removed require rake by switching to Dir.[].
gmccreight authored
33 spec.test_files = Dir['test/**/*_test.rb']
6a60485 @nex3 Move the Haml gemspec into its own file.
nex3 authored
34 end
Something went wrong with that request. Please try again.