Skip to content

Commit 42b74bd

Browse files
hsbtclaude
authored andcommitted
[ruby/rubygems] Fix typos in comments and documentation
ruby/rubygems@72bdf54b6d Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b11091c commit 42b74bd

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/bundler/man/bundle-config.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Any periods in the configuration keys must be replaced with two underscores when
7171
The following is a list of all configuration keys and their purpose\. You can learn more about their operation in bundle install(1) \fIbundle\-install\.1\.html\fR\.
7272
.TP
7373
\fBapi_request_size\fR (\fBBUNDLE_API_REQUEST_SIZE\fR)
74-
Configure how many dependencies to fetch when resolving the specifications\. This configuration is only used when fetchig specifications from RubyGems servers that didn't implement the Compact Index API\. Defaults to 100\.
74+
Configure how many dependencies to fetch when resolving the specifications\. This configuration is only used when fetching specifications from RubyGems servers that didn't implement the Compact Index API\. Defaults to 100\.
7575
.TP
7676
\fBauto_install\fR (\fBBUNDLE_AUTO_INSTALL\fR)
7777
Automatically run \fBbundle install\fR when gems are missing\.

lib/bundler/man/bundle-config.1.ronn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
108108

109109
* `api_request_size` (`BUNDLE_API_REQUEST_SIZE`):
110110
Configure how many dependencies to fetch when resolving the specifications.
111-
This configuration is only used when fetchig specifications from RubyGems
111+
This configuration is only used when fetching specifications from RubyGems
112112
servers that didn't implement the Compact Index API.
113113
Defaults to 100.
114114
* `auto_install` (`BUNDLE_AUTO_INSTALL`):

lib/bundler/source/rubygems.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,11 +511,11 @@ def extension_cache_slug(spec)
511511
remote.cache_slug
512512
end
513513

514-
# We are using a mutex to reaed and write from/to the hash.
514+
# We are using a mutex to read and write from/to the hash.
515515
# The reason this double synchronization was added is for performance
516516
# and lock the mutex for the shortest possible amount of time. Otherwise,
517517
# all threads are fighting over this mutex and when it gets acquired it gets locked
518-
# until a threads finishes downloading a gem, leaving the other threads waiting
518+
# until a thread finishes downloading a gem, leaving the other threads waiting
519519
# doing nothing.
520520
def rubygems_gem_installer(spec, options)
521521
@gem_installers_mutex.synchronize { @gem_installers[spec.name] } || begin

0 commit comments

Comments
 (0)