Skip to content

Commit 3cfd71e

Browse files
tas50hsbt
authored andcommitted
Fix minor typos in comments, specs, and docs
Just a bit of minor cleanup Signed-off-by: Tim Smith <tsmith84@gmail.com>
1 parent c6a6645 commit 3cfd71e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

benchmark/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Usage: benchmark-driver [options] RUBY|YAML...
4040
--filter REGEXP Filter out benchmarks with given regexp
4141
--run-duration SECONDS Warmup estimates loop_count to run for this duration (default: 3)
4242
--timeout SECONDS Timeout ruby command execution with timeout(1)
43-
-v, --verbose Verbose mode. Multiple -v options increase visilibity (max: 2)
43+
-v, --verbose Verbose mode. Multiple -v options increase visibility (max: 2)
4444
```
4545

4646
## make benchmark

doc/distribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This document outlines the expected way to distribute Ruby, with a specific focu
88

99
The tarball for official releases is created by the release manager. The release manager uploads the tarball to the [Ruby website](https://www.ruby-lang.org/en/downloads/).
1010

11-
Downstream distributors should use the official release tarballs as part of their build process. This ensures that the tarball is created in a consistent way, and that the tarball is crytographically verified.
11+
Downstream distributors should use the official release tarballs as part of their build process. This ensures that the tarball is created in a consistent way, and that the tarball is cryptographically verified.
1212

1313
### Using the nightly tarball for testing
1414

tool/lib/_tmpdir.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
# Assume the directory by these environment variables are safe.
55
base = [ENV["TMPDIR"], ENV["TMP"], "/tmp"].find do |tmp|
66
next unless tmp and tmp.size <= 50 and File.directory?(tmp)
7-
# On macOS, the default TMPDIR is very long, inspite of UNIX socket
8-
# path length is limited.
7+
# On macOS, the default TMPDIR is very long, in spite of UNIX socket
8+
# path length being limited.
99
#
1010
# Also Rubygems creates its own temporary directory per tests, and
11-
# some tests copy the full path of gemhome there. In that caes, the
11+
# some tests copy the full path of gemhome there. In that case, the
1212
# path contains both temporary names twice, and can exceed path name
1313
# limit very easily.
1414
tmp

0 commit comments

Comments
 (0)