Skip to content

Fix typos across comments, docs, and spec descriptions - #57

Merged
tpowell-progress merged 1 commit into
chef:mainfrom
tas50:fix/typos
Sep 15, 2026
Merged

tpowell-progress merged 1 commit into
chef:mainfrom
tas50:fix/typos

Conversation

@tas50

@tas50 tas50 commented Aug 22, 2026

Copy link
Copy Markdown

Description

Fixes misspellings found by typos plus one duplicated word (adds the the) caught by a separate backreference scan.

Every change is confined to a comment, an RSpec describe/it description string, the ERB parse-error template message, or CHANGELOG prose. No code, matcher names, resource names, or behavior are affected — the adjacent matcher calls (touch_remote_file, options_http_request) are untouched.

Fix Where
uploaeded → uploaded Rakefile
occured → occurred templates/errors/erb_template_parse_error.erb
defintions → definitions lib/chefspec/formatter.rb
converage → coverage, adds the the → adds the lib/chefspec/coverage.rb
convertable → convertible lib/chefspec/api/render_file.rb
noe → node lib/chefspec/renderer.rb
becuase → because lib/chefspec/extensions/chef/securable.rb
inherts → inherits 3 files under spec/unit/stubs/
retrns → returns spec/unit/macros_spec.rb
paritals → partials spec/unit/renderer_spec.rb
load_curent_value → load_current_value examples/stubs_for/resources/old.rb
touchs → touches examples/remote_file/spec/touch_spec.rb
evalute → evaluate examples/guards/spec/default_spec.rb
serivce → service 4 files under examples/
optionss → options examples/http_request/spec/options_spec.rb
maniuplated → manipulated, Signifant → Significant CHANGELOG.md

Two scanner hits were deliberately not changed, since both are correct as written:

  • DracoAter in lib/chefspec/cacher.rb and CHANGELOG.md — a GitHub username, flagged for the substring Ater.
  • # Hax. in lib/chefspec/extensions/chef/cookbook_loader.rb — intentional slang, not a misspelling of Hex.

The two CHANGELOG.md entries are the only historical-record edits here; happy to drop that file from the PR if you would rather leave released notes as-is.

Types of changes

  • Documentation / non-functional cleanup

Checklist

  • Changes are limited to comments, test descriptions, and docs
  • All modified Ruby files pass ruby -c; the ERB template still parses
  • typos reports no remaining hits apart from the two intentional exclusions above

@tas50
tas50 requested review from a team and jaymzh as code owners August 22, 2026 01:26
Corrects misspellings found by typos-cli plus one duplicated word. All
changes are confined to comments, RSpec description strings, the ERB
parse-error template message, and two CHANGELOG entries -- no code,
matcher names, or behavior is affected.

Deliberately left alone: "DracoAter" (a GitHub username the scanner
flags for the substring "Ater") and the intentional "Hax." comment in
the cookbook loader.

Signed-off-by: Tim Smith <tsmith84@proton.me>
@tpowell-progress
tpowell-progress merged commit 574e21b into chef:main Sep 15, 2026
9 checks passed
@tas50
tas50 deleted the fix/typos branch September 15, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants