Fix minor typos in comments, specs, and docs

Just a bit of minor cleanup

Signed-off-by: Tim Smith <tsmith84@gmail.com>
This commit is contained in:
Tim Smith 2025-06-16 22:15:47 -07:00 committed by Hiroshi SHIBATA
parent c6a6645495
commit 3cfd71e7e4
Notes: git 2025-06-17 22:51:27 +00:00
3 changed files with 5 additions and 5 deletions

View file

@ -40,7 +40,7 @@ Usage: benchmark-driver [options] RUBY|YAML...
--filter REGEXP Filter out benchmarks with given regexp --filter REGEXP Filter out benchmarks with given regexp
--run-duration SECONDS Warmup estimates loop_count to run for this duration (default: 3) --run-duration SECONDS Warmup estimates loop_count to run for this duration (default: 3)
--timeout SECONDS Timeout ruby command execution with timeout(1) --timeout SECONDS Timeout ruby command execution with timeout(1)
-v, --verbose Verbose mode. Multiple -v options increase visilibity (max: 2) -v, --verbose Verbose mode. Multiple -v options increase visibility (max: 2)
``` ```
## make benchmark ## make benchmark

View file

@ -8,7 +8,7 @@ This document outlines the expected way to distribute Ruby, with a specific focu
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/). 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/).
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. 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.
### Using the nightly tarball for testing ### Using the nightly tarball for testing

View file

@ -4,11 +4,11 @@ template = "rubytest."
# Assume the directory by these environment variables are safe. # Assume the directory by these environment variables are safe.
base = [ENV["TMPDIR"], ENV["TMP"], "/tmp"].find do |tmp| base = [ENV["TMPDIR"], ENV["TMP"], "/tmp"].find do |tmp|
next unless tmp and tmp.size <= 50 and File.directory?(tmp) next unless tmp and tmp.size <= 50 and File.directory?(tmp)
# On macOS, the default TMPDIR is very long, inspite of UNIX socket # On macOS, the default TMPDIR is very long, in spite of UNIX socket
# path length is limited. # path length being limited.
# #
# Also Rubygems creates its own temporary directory per tests, and # Also Rubygems creates its own temporary directory per tests, and
# some tests copy the full path of gemhome there. In that caes, the # some tests copy the full path of gemhome there. In that case, the
# path contains both temporary names twice, and can exceed path name # path contains both temporary names twice, and can exceed path name
# limit very easily. # limit very easily.
tmp tmp