forked from gettalong/kramdown
/
kramdown.gemspec
55 lines (45 loc) · 1.57 KB
/
kramdown.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env gem build
# encoding: utf-8
$:.push File.expand_path("../lib", __FILE__)
require File.expand_path("../lib/kramdown/version.rb", __FILE__)
require 'rake'
PKG_FILES = FileList.new([
'Rakefile',
'setup.rb',
'COPYING', 'README.md', 'AUTHORS',
'bin/*',
'benchmark/*',
'lib/**/*.rb',
'data/**/*',
'doc/**',
'test/**/*'
])
SUMMARY = 'kramdown is a fast, pure-Ruby Markdown-superset converter.'
DESCRIPTION = <<EOF
kramdown is yet-another-markdown-parser but fast, pure Ruby,
using a strict syntax definition and supporting several common extensions.
EOF
Gem::Specification.new do |s|
#### Basic information
s.name = 'kramdown'
s.version = '1.1.0'
s.summary = SUMMARY
s.description = DESCRIPTION
s.license = 'MIT'
#### Dependencies, requirements and files
s.files = PKG_FILES.to_a
s.require_path = 'lib'
s.executables = ['kramdown']
s.default_executable = 'kramdown'
s.add_development_dependency 'minitest', '~> 5.0'
s.add_development_dependency 'coderay', '~> 1.0.0'
s.add_development_dependency 'stringex', '~> 1.5.1'
#### Documentation
s.has_rdoc = true
s.rdoc_options = ['--main', 'lib/kramdown/document.rb']
#### Author and project details
s.author = 'Thomas Leitner'
s.email = 't_leitner@gmx.at'
s.homepage = "http://kramdown.rubyforge.org"
s.rubyforge_project = 'kramdown'
end