diff options
author | Hiroshi SHIBATA <[email protected]> | 2025-01-15 11:52:40 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-01-15 16:52:56 +0900 |
commit | 86d871d29cda15810d9d60dc1b94a07e9530e0cb (patch) | |
tree | ae0fd977690197a4c82eed861527c109caade4f1 /lib/rdoc/rdoc.gemspec | |
parent | e0be1b902549f80fcdc95e801d4d533b0fdec43b (diff) |
Migrate rdoc as bundled gems
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12577
Diffstat (limited to 'lib/rdoc/rdoc.gemspec')
-rw-r--r-- | lib/rdoc/rdoc.gemspec | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec deleted file mode 100644 index 3144df52d6..0000000000 --- a/lib/rdoc/rdoc.gemspec +++ /dev/null @@ -1,67 +0,0 @@ -begin - require_relative "lib/rdoc/version" -rescue LoadError - # for Ruby repository - require_relative "version" -end - -Gem::Specification.new do |s| - s.name = "rdoc" - s.version = RDoc::VERSION - - s.authors = [ - "Eric Hodel", - "Dave Thomas", - "Phil Hagelberg", - "Tony Strauss", - "Zachary Scott", - "Hiroshi SHIBATA", - "ITOYANAGI Sakura" - ] - s.email = ["[email protected]", "", "", "", "[email protected]", "[email protected]", "[email protected]"] - - s.summary = "RDoc produces HTML and command-line documentation for Ruby projects" - 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.homepage = "https://ruby.github.io/rdoc" - s.licenses = ["Ruby"] - - s.metadata["homepage_uri"] = s.homepage - s.metadata["source_code_uri"] = "https://github.com/ruby/rdoc" - s.metadata["changelog_uri"] = "#{s.metadata["source_code_uri"]}/releases" - - s.bindir = "exe" - s.executables = ["rdoc", "ri"] - s.require_paths = ["lib"] - # for ruby core repository. It was generated by - # `git ls-files -z`.split("\x0").each {|f| puts " #{f.dump}," unless f.start_with?(*%W[test/ spec/ features/ .]) } - non_lib_files = [ - "CONTRIBUTING.rdoc", - "CVE-2013-0256.rdoc", - "ExampleMarkdown.md", - "ExampleRDoc.rdoc", - "History.rdoc", - "LEGAL.rdoc", - "LICENSE.rdoc", - "README.rdoc", - "RI.md", - "TODO.rdoc", - "exe/rdoc", - "exe/ri", - "man/ri.1", - ] - template_files = Dir.glob("lib/rdoc/generator/template/**/*") - lib_files = Dir.glob("lib/**/*.{rb,kpeg,ry}") - - s.files = (non_lib_files + template_files + lib_files).uniq - - s.rdoc_options = ["--main", "README.rdoc"] - s.extra_rdoc_files += s.files.grep(%r[\A[^\/]+\.(?:rdoc|md)\z]) - - s.required_ruby_version = Gem::Requirement.new(">= 2.6.0") - s.required_rubygems_version = Gem::Requirement.new(">= 2.2") - - s.add_dependency 'psych', '>= 4.0.0' -end |