[rubygems/rubygems] Fix invalid links in documentation. - wrap ENV variables in <code> - fix rubygems.org link - fix zenspider.com link

https://github.com/rubygems/rubygems/commit/9eaac94a63
This commit is contained in:
Josef Šimánek 2023-09-28 02:08:47 +02:00 committed by Hiroshi SHIBATA
parent 9ffd659d47
commit 25b536cc2f
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2
4 changed files with 4 additions and 4 deletions

View File

@ -572,7 +572,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
## ##
# The number of paths in the +$LOAD_PATH+ from activated gems. Used to # The number of paths in the +$LOAD_PATH+ from activated gems. Used to
# prioritize +-I+ and +ENV['RUBYLIB']+ entries during +require+. # prioritize +-I+ and <code>ENV['RUBYLIB']</code> entries during +require+.
def self.activated_gem_paths def self.activated_gem_paths
@activated_gem_paths ||= 0 @activated_gem_paths ||= 0

View File

@ -313,7 +313,7 @@ EOF
deffile_path deffile_path
end end
# We have to basically reimplement RbConfig::CONFIG['SOEXT'] here to support # We have to basically reimplement <code>RbConfig::CONFIG['SOEXT']</code> here to support
# Ruby < 2.5 # Ruby < 2.5
# #
# @see https://github.com/ruby/ruby/blob/c87c027f18c005460746a74c07cd80ee355b16e4/configure.ac#L3185 # @see https://github.com/ruby/ruby/blob/c87c027f18c005460746a74c07cd80ee355b16e4/configure.ac#L3185

View File

@ -22,7 +22,7 @@ class Gem::Resolver::APISpecification < Gem::Resolver::Specification
# Creates an APISpecification for the given +set+ from the rubygems.org # Creates an APISpecification for the given +set+ from the rubygems.org
# +api_data+. # +api_data+.
# #
# See https://guides.rubygems.org/rubygems-org-api/#misc_methods for the # See https://guides.rubygems.org/rubygems-org-api/#misc-methods for the
# format of the +api_data+. # format of the +api_data+.
def initialize(set, api_data) def initialize(set, api_data)

View File

@ -131,7 +131,7 @@ require_relative "deprecate"
# #
# == Preventing Version Catastrophe: # == Preventing Version Catastrophe:
# #
# From: http://blog.zenspider.com/2008/10/rubygems-howto-preventing-cata.html # From: https://www.zenspider.com/ruby/2008/10/rubygems-how-to-preventing-catastrophe.html
# #
# Let's say you're depending on the fnord gem version 2.y.z. If you # Let's say you're depending on the fnord gem version 2.y.z. If you
# specify your dependency as ">= 2.0.0" then, you're good, right? What # specify your dependency as ">= 2.0.0" then, you're good, right? What