github-markup.gemspec (view raw)
1require File.expand_path("../lib/github-markup", __FILE__)
2
3## This is the rakegem gemspec template. Make sure you read and understand
4## all of the comments. Some sections require modification, and others can
5## be deleted if you don't need them. Once you understand the contents of
6## this file, feel free to delete any comments that begin with two hash marks.
7## You can find comprehensive Gem::Specification documentation, at
8## http://docs.rubygems.org/read/chapter/20
9Gem::Specification.new do |s|
10 s.specification_version = 2 if s.respond_to? :specification_version=
11 s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12 s.rubygems_version = '1.3.5'
13
14 ## Leave these as is they will be modified for you by the rake gemspec task.
15 ## If your rubyforge_project name is different, then edit it and comment out
16 ## the sub! line in the Rakefile
17 s.name = 'github-markup'
18 s.version = GitHub::Markup::VERSION
19 s.date = '2013-09-23'
20 s.executables = ['github-markup']
21
22 ## Make sure your summary is short. The description may be as long
23 ## as you like.
24 s.summary = "The code GitHub uses to render README.markup"
25 s.description = <<desc
26 This gem is used by GitHub to render any fancy markup such as
27 Markdown, Textile, Org-Mode, etc. Fork it and add your own!
28desc
29
30 ## List the primary authors. If there are a bunch of authors, it's probably
31 ## better to set the email to an email list or something. If you don't have
32 ## a custom homepage, consider using your GitHub URL or the like.
33 s.authors = ["Chris Wanstrath"]
34 s.email = 'chris@ozmm.org'
35 s.homepage = 'https://github.com/github/markup'
36
37 ## This gets added to the $LOAD_PATH so that 'lib/NAME.rb' can be required as
38 ## require 'NAME.rb' or'/lib/NAME/file.rb' can be as require 'NAME/file.rb'
39 s.require_paths = %w[lib]
40
41 ## Specify any RDoc options here. You'll want to add your README and
42 ## LICENSE files to the extra_rdoc_files list.
43 s.rdoc_options = ["--charset=UTF-8"]
44 s.extra_rdoc_files = %w[README.md LICENSE]
45
46 ## List your runtime dependencies here. Runtime dependencies are those
47 ## that are needed for an end user to actually USE your code.
48 #s.add_dependency('simple_uuid', "~> 0.1.2")
49
50 ## List your development dependencies here. Development dependencies are
51 ## those that are only needed during development
52 #s.add_development_dependency("test-unit", "~> 2.3.0")
53
54 ## Leave this section as-is. It will be automatically generated from the
55 ## contents of your Git repository via the gemspec task. DO NOT REMOVE
56 ## THE MANIFEST COMMENTS, they are used as delimiters by the task.
57 # = MANIFEST =
58 s.files = %w[
59 Gemfile
60 HISTORY.md
61 LICENSE
62 README.md
63 Rakefile
64 bin/github-markup
65 github-markup.gemspec
66 lib/github-markup.rb
67 lib/github/commands/rest2html
68 lib/github/markup.rb
69 lib/github/markup/rdoc.rb
70 lib/github/markups.rb
71 script/bootstrap
72 script/cibuild
73 test/markup_test.rb
74 test/markups/README.asciidoc
75 test/markups/README.asciidoc.html
76 test/markups/README.creole
77 test/markups/README.creole.html
78 test/markups/README.lhs
79 test/markups/README.lhs.html
80 test/markups/README.litcoffee
81 test/markups/README.litcoffee.html
82 test/markups/README.markdown
83 test/markups/README.markdown.html
84 test/markups/README.mediawiki
85 test/markups/README.mediawiki.html
86 test/markups/README.noformat
87 test/markups/README.noformat.html
88 test/markups/README.org
89 test/markups/README.org.html
90 test/markups/README.pod
91 test/markups/README.pod.html
92 test/markups/README.rdoc
93 test/markups/README.rdoc.html
94 test/markups/README.rst
95 test/markups/README.rst.html
96 test/markups/README.rst.txt
97 test/markups/README.rst.txt.html
98 test/markups/README.textile
99 test/markups/README.textile.html
100 test/markups/README.txt
101 test/markups/README.txt.html
102 ]
103 # = MANIFEST =
104
105 ## Test files will be grabbed from the file list. Make sure the path glob
106 ## matches what you actually use.
107 s.test_files = s.files.select { |path| path =~ /^test\/test_.*\.rb/ }
108end
109