Skip to content

Commit c82c6d1

Browse files
tas50tpowell-progress
authored andcommitted
Fix typos across comments, docs, and spec descriptions
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>
1 parent bbf4854 commit c82c6d1

21 files changed

Lines changed: 28 additions & 28 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ Breaking:
647647

648648
- `Runner#resources` converted from an Array to a Hash. This is to ensure that all resource actions are added (when multiple calls to run_action exist (#201)). This also drastically improves resource lookup times.
649649

650-
- `Resource#actions` is no longer maniuplated. Instead, a new method `Resource#performed_actions` now keeps track of the actions taken on a resource (as well as the phase in which they were taken), preserving the original state of the resource.
650+
- `Resource#actions` is no longer manipulated. Instead, a new method `Resource#performed_actions` now keeps track of the actions taken on a resource (as well as the phase in which they were taken), preserving the original state of the resource.
651651

652652
FEATURES:
653653

@@ -716,7 +716,7 @@ BUG FIXES:
716716
- Better failure message for `create_remote_file` ([@tmatilai])
717717
- Add `cookbook_file` as an accepted type to the `create_file` matchers ([@dafyddcrosby])
718718
- Ensure formatter is only registered once ([@student])
719-
- Signifant README updates ([@phoolish])
719+
- Significant README updates ([@phoolish])
720720
- Fix `described_recipe` helper (S.R.Garcia)
721721
- Refactor Chef 10/11 template rendering ([@sethvargo])
722722
- Fix CI ([@sethvargo])

‎Rakefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ task :style do
8484
require "cookstyle/chefstyle"
8585

8686
if RbConfig::CONFIG["host_os"] =~ /mswin|mingw|cygwin/
87-
# Windows-specific command, rubocop erroneously reports the CRLF in each file which is removed when your PR is uploaeded to GitHub.
87+
# Windows-specific command, rubocop erroneously reports the CRLF in each file which is removed when your PR is uploaded to GitHub.
8888
# This is a workaround to ignore the CRLF from the files before running cookstyle.
8989
sh "cookstyle --chefstyle -c .rubocop.yml --except Layout/EndOfLine"
9090
else

‎examples/guards/spec/default_spec.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
describe 'guards::default' do
44
platform 'ubuntu'
55

6-
describe 'includes resource that have guards that evalute to true' do
6+
describe 'includes resource that have guards that evaluate to true' do
77
it { is_expected.to start_service('true_guard') }
88
end
99

‎examples/http_request/spec/options_spec.rb‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
describe 'http_request::options' do
44
platform 'ubuntu'
55

6-
describe 'optionss a http_request with an explicit action' do
6+
describe 'options a http_request with an explicit action' do
77
it { is_expected.to options_http_request('explicit_action') }
88
it { is_expected.to_not options_http_request('not_explicit_action') }
99
end
1010

11-
describe 'optionss a http_request with attributes' do
11+
describe 'options a http_request with attributes' do
1212
it { is_expected.to options_http_request('with_attributes').with(url: 'http://my.url') }
1313
it { is_expected.to_not options_http_request('with_attributes').with(url: 'http://my.other.url') }
1414
end
1515

16-
describe 'optionss a http_request when specifying the identity attribute' do
16+
describe 'options a http_request when specifying the identity attribute' do
1717
it { is_expected.to options_http_request('identity_attribute') }
1818
end
1919
end

‎examples/notifications/spec/chained_spec.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
expect(service).to notify('log[log]')
1515
end
1616

17-
it 'sends the specific notification to the serivce' do
17+
it 'sends the specific notification to the service' do
1818
expect(template).to notify('service[service]').to(:restart)
1919
expect(template).to_not notify('service[service]').to(:stop)
2020
end

‎examples/notifications/spec/default_spec.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
expect(template).to_not notify('service[not_receiving_resource]')
1010
end
1111

12-
it 'sends the specific notification to the serivce' do
12+
it 'sends the specific notification to the service' do
1313
expect(template).to notify('service[receiving_resource]').to(:restart)
1414
expect(template).to_not notify('service[receiving_resource]').to(:stop)
1515
end

‎examples/notifications/spec/delayed_spec.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
expect(template).to_not notify('service[not_receiving_resource]').delayed
1010
end
1111

12-
it 'sends the specific notification to the serivce delayed' do
12+
it 'sends the specific notification to the service delayed' do
1313
expect(template).to notify('service[receiving_resource]').to(:restart).delayed
1414
expect(template).to_not notify('service[receiving_resource]').to(:restart).immediately
1515
end

‎examples/remote_file/spec/touch_spec.rb‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
describe 'remote_file::touch' do
44
platform 'ubuntu'
55

6-
describe 'touchs a remote_file with an explicit action' do
6+
describe 'touches a remote_file with an explicit action' do
77
it { is_expected.to touch_remote_file('/tmp/explicit_action') }
88
it { is_expected.to_not touch_remote_file('/tmp/not_explicit_action') }
99
end
1010

11-
describe 'touchs a remote_file with attributes' do
11+
describe 'touches a remote_file with attributes' do
1212
it { is_expected.to touch_remote_file('/tmp/with_attributes').with(owner: 'owner') }
1313
it { is_expected.to_not touch_remote_file('/tmp/with_attributes').with(owner: 'bacon') }
1414
end
1515

16-
describe 'touchs a remote_file when specifying the identity attribute' do
16+
describe 'touches a remote_file when specifying the identity attribute' do
1717
it { is_expected.to touch_remote_file('/tmp/identity_attribute') }
1818
end
1919
end

‎examples/stubs_for/resources/old.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def foo
1414
action_class do
1515
def load_current_resource
1616
@current_resource = new_resource.class.new(new_resource.name)
17-
# current_resource.shell_out is weird but mostly doing it for completeness and parity checking with load_curent_value-style.
17+
# current_resource.shell_out is weird but mostly doing it for completeness and parity checking with load_current_value-style.
1818
@current_resource.value @current_resource.shell_out(new_resource.cmd).stdout if new_resource.run_load
1919
@current_resource
2020
end

‎examples/subscribes/spec/immediately_spec.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
expect(service).to_not subscribe_to('template[/tmp/not_notifying_resource]').immediately
1010
end
1111

12-
it 'sends the specific notification to the serivce immediately' do
12+
it 'sends the specific notification to the service immediately' do
1313
expect(service).to subscribe_to('template[/tmp/notifying_resource]').on(:create).immediately
1414
expect(service).to_not subscribe_to('template[/tmp/notifying_resource]').on(:delete).delayed
1515
end

0 commit comments

Comments
 (0)