From c4196e76f3af5917d3d252f87ec2509a12c46bbf Mon Sep 17 00:00:00 2001 From: ydah Date: Thu, 19 Jun 2025 01:28:54 +0900 Subject: [PATCH 1/5] Acutal ==> Actual --- spec/rspec/sidekiq/matchers/be_delayed_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/rspec/sidekiq/matchers/be_delayed_spec.rb b/spec/rspec/sidekiq/matchers/be_delayed_spec.rb index 2111159..dffcda9 100644 --- a/spec/rspec/sidekiq/matchers/be_delayed_spec.rb +++ b/spec/rspec/sidekiq/matchers/be_delayed_spec.rb @@ -133,7 +133,7 @@ context "and actual contains arguments" do it "returns true" do - # Acutal has arugment + # Actual has arugment Object.delay.is_a? Object # Expected didn't specify any arguemtns to match From 130391ba6911dacd2e997aa7103f8009af9e7839 Mon Sep 17 00:00:00 2001 From: ydah Date: Thu, 19 Jun 2025 01:29:31 +0900 Subject: [PATCH 2/5] arguemtns ==> arguments --- spec/rspec/sidekiq/matchers/be_delayed_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/rspec/sidekiq/matchers/be_delayed_spec.rb b/spec/rspec/sidekiq/matchers/be_delayed_spec.rb index dffcda9..982cdf5 100644 --- a/spec/rspec/sidekiq/matchers/be_delayed_spec.rb +++ b/spec/rspec/sidekiq/matchers/be_delayed_spec.rb @@ -136,7 +136,7 @@ # Actual has arugment Object.delay.is_a? Object - # Expected didn't specify any arguemtns to match + # Expected didn't specify any arguments to match expect(delay_subject.matches? Object.method :is_a?).to be true end end From 405c3bd377b6f7fbb063fb0f1b835f6e29e38add Mon Sep 17 00:00:00 2001 From: ydah Date: Thu, 19 Jun 2025 01:29:50 +0900 Subject: [PATCH 3/5] arugment ==> argument --- spec/rspec/sidekiq/matchers/be_delayed_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/rspec/sidekiq/matchers/be_delayed_spec.rb b/spec/rspec/sidekiq/matchers/be_delayed_spec.rb index 982cdf5..8662236 100644 --- a/spec/rspec/sidekiq/matchers/be_delayed_spec.rb +++ b/spec/rspec/sidekiq/matchers/be_delayed_spec.rb @@ -133,7 +133,7 @@ context "and actual contains arguments" do it "returns true" do - # Actual has arugment + # Actual has argument Object.delay.is_a? Object # Expected didn't specify any arguments to match From 021c66afdb732949694592aee796f5212e1fdc21 Mon Sep 17 00:00:00 2001 From: ydah Date: Thu, 19 Jun 2025 01:29:53 +0900 Subject: [PATCH 4/5] defeault ==> default --- lib/rspec/sidekiq/batch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rspec/sidekiq/batch.rb b/lib/rspec/sidekiq/batch.rb index 0052639..00d69a6 100644 --- a/lib/rspec/sidekiq/batch.rb +++ b/lib/rspec/sidekiq/batch.rb @@ -14,7 +14,7 @@ def method_missing(*args, &block) ## # Sidekiq::Batch is a Sidekiq::Pro feature. However the general consensus is - # that, by defeault, you can't test without redis. RSpec::Sidekiq includes + # that, by default, you can't test without redis. RSpec::Sidekiq includes # a "null object" pattern implementation to mock Batches. This will mock # Sidekiq::Batch and prevent it from using Redis. # From 3f13a811de4190cb3076f25e4e9b5203c2743d01 Mon Sep 17 00:00:00 2001 From: ydah Date: Thu, 19 Jun 2025 01:31:15 +0900 Subject: [PATCH 5/5] Add spell checking GitHub Actions workflow --- .codespellignore | 0 .github/workflows/codespell.yaml | 15 +++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .codespellignore create mode 100644 .github/workflows/codespell.yaml diff --git a/.codespellignore b/.codespellignore new file mode 100644 index 0000000..e69de29 diff --git a/.github/workflows/codespell.yaml b/.github/workflows/codespell.yaml new file mode 100644 index 0000000..fae65a6 --- /dev/null +++ b/.github/workflows/codespell.yaml @@ -0,0 +1,15 @@ +name: CodeSpell +on: + - pull_request +jobs: + codespell: + name: CodeSpell + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: CodeSpell + uses: codespell-project/actions-codespell@master + with: + check_filenames: true + check_hidden: true + ignore_words_file: .codespellignore