rdoc 6.14.0 → 6.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a950cd0da4e42ba7101cff376deec1a663c44aa3dccf27cff3e73d64022e6f5
4
- data.tar.gz: ad9c29aecc260bb24998049598ba9c3c0c1243f2ddd67dabef02ea1d279e65f8
3
+ metadata.gz: 0a7e93ac9c35220aeef63714f07b7ad32fc23de76e17e92e32a49012e32f304e
4
+ data.tar.gz: f273ce6acb9a2caf5e663ddfaae80d676a07e2b0e2d7de818218da742ed795d4
5
5
  SHA512:
6
- metadata.gz: 7983623b4062291aab39d3cdb55a6134258585a12142d1dc6a8acc6b961f2f73fee34b64005644185489483e72813a0016175e5c8e31c6b53abe30edb3c9d3b8
7
- data.tar.gz: b7ee771f18e8cc7f8adc22650b4988d228c14f2ae646f41247fe3c533c6f4cfe4d937fdd2686041b7bf2e39e8d2526df5108d05097251f21161b1ce6f8c1d3b6
6
+ metadata.gz: 5deecbe6a6a8562324936b2c458c45be5565832ec9ff2ac2fb79f6c2dd8d72add9e08c24485eaa7365d5d0628abed02d0d6a198067d64f0217a6789633c7e57e
7
+ data.tar.gz: 1ca6dad24e4f748fa8863e301c5f87a89b174523eaf62f2ab505845b2f15aaa4e6a7b215c7ff325c198052358ebfd9c206f0b743c2f97da0eff7444c0edacf96
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  require 'cgi/escape'
3
+ require 'cgi/util' unless defined?(CGI::EscapeExt)
3
4
 
4
5
  ##
5
6
  # A section of documentation like:
@@ -283,6 +283,7 @@ class RDoc::MethodAttr < RDoc::CodeObject
283
283
 
284
284
  def html_name
285
285
  require 'cgi/escape'
286
+ require 'cgi/util' unless defined?(CGI::EscapeExt)
286
287
 
287
288
  CGI.escape(@name.gsub('-', '-2D')).gsub('%', '-').sub(/^-/, '')
288
289
  end
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  require 'cgi/escape'
3
- # For CGI.unescape on earlier rubies
4
- require 'cgi/util' if RUBY_VERSION < '3.5'
3
+ require 'cgi/util' unless defined?(CGI::EscapeExt)
5
4
 
6
5
  ##
7
6
  # Outputs RDoc markup as HTML.
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  require 'cgi/escape'
3
+ require 'cgi/util' unless defined?(CGI::EscapeExt)
3
4
 
4
5
  ##
5
6
  # Creates HTML-safe labels suitable for use in id attributes. Tidylinks are
data/lib/rdoc/version.rb CHANGED
@@ -5,6 +5,6 @@ module RDoc
5
5
  ##
6
6
  # RDoc version you are using
7
7
 
8
- VERSION = '6.14.0'
8
+ VERSION = '6.14.1'
9
9
 
10
10
  end
data/rdoc.gemspec ADDED
@@ -0,0 +1,69 @@
1
+ begin
2
+ require_relative "lib/rdoc/version"
3
+ rescue LoadError
4
+ # for Ruby repository
5
+ require_relative "version"
6
+ end
7
+
8
+ Gem::Specification.new do |s|
9
+ s.name = "rdoc"
10
+ s.version = RDoc::VERSION
11
+
12
+ s.authors = [
13
+ "Eric Hodel",
14
+ "Dave Thomas",
15
+ "Phil Hagelberg",
16
+ "Tony Strauss",
17
+ "Zachary Scott",
18
+ "Hiroshi SHIBATA",
19
+ "ITOYANAGI Sakura"
20
+ ]
21
+ s.email = ["drbrain@segment7.net", "", "", "", "mail@zzak.io", "hsbt@ruby-lang.org", "aycabta@gmail.com"]
22
+
23
+ s.summary = "RDoc produces HTML and command-line documentation for Ruby projects"
24
+ s.description = <<-DESCRIPTION
25
+ RDoc produces HTML and command-line documentation for Ruby projects.
26
+ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentation from the command-line.
27
+ DESCRIPTION
28
+ s.homepage = "https://ruby.github.io/rdoc"
29
+ s.licenses = ["Ruby"]
30
+
31
+ s.metadata["homepage_uri"] = s.homepage
32
+ s.metadata["source_code_uri"] = "https://github.com/ruby/rdoc"
33
+ s.metadata["changelog_uri"] = "#{s.metadata["source_code_uri"]}/releases"
34
+
35
+ s.bindir = "exe"
36
+ s.executables = ["rdoc", "ri"]
37
+ s.require_paths = ["lib"]
38
+ # for ruby core repository. It was generated by
39
+ # `git ls-files -z`.split("\x0").each {|f| puts " #{f.dump}," unless f.start_with?(*%W[test/ spec/ features/ .]) }
40
+ non_lib_files = [
41
+ "CONTRIBUTING.rdoc",
42
+ "CVE-2013-0256.rdoc",
43
+ "ExampleMarkdown.md",
44
+ "ExampleRDoc.rdoc",
45
+ "History.rdoc",
46
+ "LEGAL.rdoc",
47
+ "LICENSE.rdoc",
48
+ "README.rdoc",
49
+ "RI.md",
50
+ "TODO.rdoc",
51
+ "exe/rdoc",
52
+ "exe/ri",
53
+ "man/ri.1",
54
+ "rdoc.gemspec",
55
+ ]
56
+ template_files = Dir.glob("lib/rdoc/generator/template/**/*")
57
+ lib_files = Dir.glob("lib/**/*.{rb,kpeg,ry}", base: File.expand_path('..', __FILE__))
58
+
59
+ s.files = (non_lib_files + template_files + lib_files).uniq
60
+
61
+ s.rdoc_options = ["--main", "README.rdoc"]
62
+ s.extra_rdoc_files += s.files.grep(%r[\A[^\/]+\.(?:rdoc|md)\z])
63
+
64
+ s.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
65
+ s.required_rubygems_version = Gem::Requirement.new(">= 2.2")
66
+
67
+ s.add_dependency 'psych', '>= 4.0.0'
68
+ s.add_dependency 'erb'
69
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.14.0
4
+ version: 6.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
@@ -13,7 +13,7 @@ authors:
13
13
  - ITOYANAGI Sakura
14
14
  bindir: exe
15
15
  cert_chain: []
16
- date: 2025-05-19 00:00:00.000000000 Z
16
+ date: 2025-06-18 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: psych
@@ -258,6 +258,7 @@ files:
258
258
  - lib/rdoc/version.rb
259
259
  - lib/rubygems_plugin.rb
260
260
  - man/ri.1
261
+ - rdoc.gemspec
261
262
  homepage: https://ruby.github.io/rdoc
262
263
  licenses:
263
264
  - Ruby