Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 53 lines (39 sloc) 1.868 kb
19513ee @norman Avoid requiring version.rb twice
norman authored
1 ($LOAD_PATH << File.expand_path("../lib", __FILE__)).uniq!
2 require "haml/version"
6ea041a @norman Just use a simple string for VERSION
norman authored
3
9a64daf @norman Remove cruft from Rakefile and gemspec
norman authored
4 Gem::Specification.new do |spec|
5 spec.name = 'haml'
6 spec.summary = "An elegant, structured (X)HTML/XML templating engine."
6ea041a @norman Just use a simple string for VERSION
norman authored
7 spec.version = Haml::VERSION
9a64daf @norman Remove cruft from Rakefile and gemspec
norman authored
8 spec.authors = ['Nathan Weizenbaum', 'Hampton Catlin', 'Norman Clarke']
9 spec.email = ['haml@googlegroups.com', 'norman@njclarke.com']
ec2e0e6 @nex3 Add requires to the gemspec necessary to get it to run with 'gem build.'
nex3 authored
10
9a64daf @norman Remove cruft from Rakefile and gemspec
norman authored
11 readmes = Dir['*'].reject{ |x| x =~ /(^|[^.a-z])[a-z]+/ || x == "TODO" }
8030deb @norman Extracted html2haml to its own gem.
norman authored
12 spec.executables = ['haml']
9a64daf @norman Remove cruft from Rakefile and gemspec
norman authored
13 spec.files = Dir['rails/init.rb', 'lib/**/*', 'bin/*', 'test/**/*',
14 'extra/**/*', 'Rakefile', 'init.rb', '.yardopts'] + readmes
f3477eb @norman Merge branch 'stable'
norman authored
15 spec.homepage = 'http://haml.info/'
9a64daf @norman Remove cruft from Rakefile and gemspec
norman authored
16 spec.has_rdoc = false
c7f1321 @norman Use updated test from haml-spec, no need for separate test now
norman authored
17 spec.test_files = Dir["test/**/*_test.rb"]
6a60485 @nex3 Move the Haml gemspec into its own file.
nex3 authored
18
e1201cc @norman Began implementing filters using Tilt, WIP
norman authored
19 spec.add_dependency "tilt"
20
d091240 @norman Depend specifically on Rails 3 in gemspec
norman authored
21 spec.add_development_dependency 'rails', '>= 3.0.0'
47dc5d7 @norman Fix benchmark script
norman authored
22 spec.add_development_dependency 'rbench'
ea8b22f @norman Switch to Minitest
norman authored
23 spec.add_development_dependency 'minitest'
242aee3 @nex3 Add developer dependencies to the gem for building the documentation.
nex3 authored
24
9a64daf @norman Remove cruft from Rakefile and gemspec
norman authored
25 spec.description = <<-END
26 Haml (HTML Abstraction Markup Language) is a layer on top of HTML or XML that's
27 designed to express the structure of documents in a non-repetitive, elegant, and
28 easy way by using indentation rather than closing tags and allowing Ruby to be
29 embedded with ease. It was originally envisioned as a plugin for Ruby on Rails,
30 but it can function as a stand-alone templating engine.
31 END
0b851a9 @norman Add post install message with warnings about 3.2 release
norman authored
32
33 spec.post_install_message = <<-END
34
35 HEADS UP! Haml 3.2 has many improvements, but also has changes that may break
36 your application:
37
38 * Support for Ruby 1.8.6 dropped
39 * Support for Rails 2 dropped
80b319b @mattwildig Fix error in post install message
mattwildig authored
40 * Sass filter now always outputs <style> tags
0b851a9 @norman Add post install message with warnings about 3.2 release
norman authored
41 * Data attributes are now hyphenated, not underscored
42 * html2haml utility moved to the html2haml gem
43 * Textile and Maruku filters moved to the haml-contrib gem
44
45 For more info see:
46
47 http://rubydoc.info/github/haml/haml/file/CHANGELOG.md
48
49 END
50
51
6a60485 @nex3 Move the Haml gemspec into its own file.
nex3 authored
52 end
Something went wrong with that request. Please try again.