all repos — markup @ b7cabb1c81ea30035dd63a508a67a949c1846f4c

The code we use to render README.your_favorite_markup

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-12-04'
 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/command_implementation.rb
 70    lib/github/markup/gem_implementation.rb
 71    lib/github/markup/implementation.rb
 72    lib/github/markup/markdown.rb
 73    lib/github/markup/rdoc.rb
 74    lib/github/markups.rb
 75    script/bootstrap
 76    script/cibuild
 77    test/markup_test.rb
 78    test/markups/README.asciidoc
 79    test/markups/README.asciidoc.html
 80    test/markups/README.creole
 81    test/markups/README.creole.html
 82    test/markups/README.lhs
 83    test/markups/README.lhs.html
 84    test/markups/README.litcoffee
 85    test/markups/README.litcoffee.html
 86    test/markups/README.markdown
 87    test/markups/README.markdown.html
 88    test/markups/README.mediawiki
 89    test/markups/README.mediawiki.html
 90    test/markups/README.noformat
 91    test/markups/README.noformat.html
 92    test/markups/README.org
 93    test/markups/README.org.html
 94    test/markups/README.pod
 95    test/markups/README.pod.html
 96    test/markups/README.rdoc
 97    test/markups/README.rdoc.html
 98    test/markups/README.rst
 99    test/markups/README.rst.html
100    test/markups/README.rst.txt
101    test/markups/README.rst.txt.html
102    test/markups/README.textile
103    test/markups/README.textile.html
104    test/markups/README.txt
105    test/markups/README.txt.html
106  ]
107  # = MANIFEST =
108
109  ## Test files will be grabbed from the file list. Make sure the path glob
110  ## matches what you actually use.
111  s.test_files = s.files.select { |path| path =~ /^test\/test_.*\.rb/ }
112end
113