mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
![hsbt](/assets/img/avatar_default.png)
https://github.com/rdoc/rdoc/blob/master/History.rdoc#423--2016-- https://github.com/rdoc/rdoc/blob/master/History.rdoc#422--2016-02-09 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
66 lines
1.8 KiB
Ruby
66 lines
1.8 KiB
Ruby
# -*- encoding: utf-8 -*-
|
|
$:.push File.expand_path("../lib", __FILE__)
|
|
require 'rdoc'
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "rdoc"
|
|
s.version = RDoc::VERSION
|
|
|
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3") if
|
|
s.respond_to? :required_rubygems_version=
|
|
|
|
s.require_paths = ["lib"]
|
|
s.authors = [
|
|
"Eric Hodel",
|
|
"Dave Thomas",
|
|
"Phil Hagelberg",
|
|
"Tony Strauss",
|
|
"Zachary Scott"
|
|
]
|
|
|
|
s.description = <<-DESCRIPTION
|
|
RDoc produces HTML and command-line documentation for Ruby projects.
|
|
RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentation from the command-line.
|
|
DESCRIPTION
|
|
|
|
s.email = ["drbrain@segment7.net", "mail@zzak.io"]
|
|
|
|
s.executables = ["rdoc", "ri"]
|
|
|
|
s.extra_rdoc_files += %w[
|
|
CVE-2013-0256.rdoc
|
|
CONTRIBUTING.rdoc
|
|
ExampleMarkdown.md
|
|
ExampleRDoc.rdoc
|
|
History.rdoc
|
|
LEGAL.rdoc
|
|
LICENSE.rdoc
|
|
README.rdoc
|
|
RI.rdoc
|
|
TODO.rdoc
|
|
]
|
|
|
|
s.files = File.readlines("Manifest.txt").map { |l| l.gsub("\n",'') }
|
|
|
|
s.homepage = "http://docs.seattlerb.org/rdoc"
|
|
s.licenses = ["Ruby"]
|
|
s.post_install_message = <<-MESSAGE
|
|
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
|
|
|
|
<= 1.8.6 : unsupported
|
|
= 1.8.7 : gem install rdoc-data; rdoc-data --install
|
|
= 1.9.1 : gem install rdoc-data; rdoc-data --install
|
|
>= 1.9.2 : nothing to do! Yay!
|
|
MESSAGE
|
|
|
|
s.rdoc_options = ["--main", "README.rdoc"]
|
|
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
|
|
s.rubygems_version = "2.5.2"
|
|
s.summary = "RDoc produces HTML and command-line documentation for Ruby projects"
|
|
|
|
s.add_runtime_dependency("json", "~> 1.4")
|
|
s.add_development_dependency("rake", "~> 10.5")
|
|
s.add_development_dependency("racc", "~> 1.4", "> 1.4.10")
|
|
s.add_development_dependency("kpeg", "~> 0.9")
|
|
s.add_development_dependency("minitest", "~> 4")
|
|
end
|