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