Skip to content

Commit

Permalink
[rubygems/rubygems] Fix invalid links in documentation. - wrap ENV va…
Browse files Browse the repository at this point in the history
…riables in <code> - fix rubygems.org link - fix zenspider.com link

rubygems/rubygems@9eaac94a63
  • Loading branch information
simi authored and hsbt committed Oct 3, 2023
1 parent 9ffd659 commit 25b536c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/rubygems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def self.load_path_insert_index

##
# 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
@activated_gem_paths ||= 0
Expand Down
2 changes: 1 addition & 1 deletion lib/rubygems/ext/cargo_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def write_deffile(dest_dir, crate_name)
deffile_path
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
#
# @see https://github.com/ruby/ruby/blob/c87c027f18c005460746a74c07cd80ee355b16e4/configure.ac#L3185
Expand Down
2 changes: 1 addition & 1 deletion lib/rubygems/resolver/api_specification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def self.new(set, api_data)
# 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)
Expand Down
2 changes: 1 addition & 1 deletion lib/rubygems/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
#
# == 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
Expand Down

0 comments on commit 25b536c

Please sign in to comment.