From 25b536cc2f6f630d6b58949342bbedb903936465 Mon Sep 17 00:00:00 2001 From: Josef Šimánek Date: Thu, 28 Sep 2023 02:08:47 +0200 Subject: [rubygems/rubygems] Fix invalid links in documentation. - wrap ENV variables in - fix rubygems.org link - fix zenspider.com link https://github.com/rubygems/rubygems/commit/9eaac94a63 --- lib/rubygems.rb | 2 +- lib/rubygems/ext/cargo_builder.rb | 2 +- lib/rubygems/resolver/api_specification.rb | 2 +- lib/rubygems/version.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/rubygems.rb b/lib/rubygems.rb index 557d7aa8eb..5657dc3fbf 100644 --- a/lib/rubygems.rb +++ b/lib/rubygems.rb @@ -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 - # prioritize +-I+ and +ENV['RUBYLIB']+ entries during +require+. + # prioritize +-I+ and ENV['RUBYLIB'] entries during +require+. def self.activated_gem_paths @activated_gem_paths ||= 0 diff --git a/lib/rubygems/ext/cargo_builder.rb b/lib/rubygems/ext/cargo_builder.rb index 0480b4ffdc..885201e20b 100644 --- a/lib/rubygems/ext/cargo_builder.rb +++ b/lib/rubygems/ext/cargo_builder.rb @@ -313,7 +313,7 @@ EOF deffile_path end - # We have to basically reimplement RbConfig::CONFIG['SOEXT'] here to support + # We have to basically reimplement RbConfig::CONFIG['SOEXT'] here to support # Ruby < 2.5 # # @see https://github.com/ruby/ruby/blob/c87c027f18c005460746a74c07cd80ee355b16e4/configure.ac#L3185 diff --git a/lib/rubygems/resolver/api_specification.rb b/lib/rubygems/resolver/api_specification.rb index f26f82757e..a14bcbfeb1 100644 --- a/lib/rubygems/resolver/api_specification.rb +++ b/lib/rubygems/resolver/api_specification.rb @@ -22,7 +22,7 @@ class Gem::Resolver::APISpecification < Gem::Resolver::Specification # Creates an APISpecification for the given +set+ from the rubygems.org # +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+. def initialize(set, api_data) diff --git a/lib/rubygems/version.rb b/lib/rubygems/version.rb index 45ff47f95c..2b93781f6f 100644 --- a/lib/rubygems/version.rb +++ b/lib/rubygems/version.rb @@ -131,7 +131,7 @@ require_relative "deprecate" # # == 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 # specify your dependency as ">= 2.0.0" then, you're good, right? What -- cgit v1.2.3