From ff2bac94a586874322f9508af73fe2ab9a690477 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Oct 2023 03:06:49 +0000 Subject: [PATCH 1/3] build(deps-dev): bump rubocop-rails from 2.19.1 to 2.21.2 Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.19.1 to 2.21.2. - [Release notes](https://github.com/rubocop/rubocop-rails/releases) - [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.19.1...v2.21.2) --- updated-dependencies: - dependency-name: rubocop-rails dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 58c0a8be..46c3019d 100644 --- a/Gemfile +++ b/Gemfile @@ -56,7 +56,7 @@ group :development, :test do gem 'rspec-rails', '~> 6.0.3', '>= 6.0.3' gem 'rubocop', '~> 1.52.1', '>= 1.52.1' gem 'rubocop-performance', '~> 1.19.1' - gem 'rubocop-rails', '~> 2.19.1', '>= 2.19.1' + gem 'rubocop-rails', '~> 2.21.2' gem 'rubocop-rspec', '~> 2.22.0', '>= 1.43.2' # or gem 'rubocop-minitest' gem 'brakeman', '~> 6.0.1' end diff --git a/Gemfile.lock b/Gemfile.lock index df2ab8c3..55f2c8d0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -302,7 +302,7 @@ GEM rubocop-performance (1.19.1) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - rubocop-rails (2.19.1) + rubocop-rails (2.21.2) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) @@ -387,7 +387,7 @@ DEPENDENCIES rspec-rails (~> 6.0.3, >= 6.0.3) rubocop (~> 1.52.1, >= 1.52.1) rubocop-performance (~> 1.19.1) - rubocop-rails (~> 2.19.1, >= 2.19.1) + rubocop-rails (~> 2.21.2) rubocop-rspec (~> 2.22.0, >= 1.43.2) simplecov (~> 0.22.0, >= 0.16.1) spring (~> 4.1.1) From 15ab771e982a52a1091a53401b384e42625087ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:37:02 +0000 Subject: [PATCH 2/3] build(deps-dev): bump rubocop-rails from 2.19.1 to 2.21.2 Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.19.1 to 2.21.2. - [Release notes](https://github.com/rubocop/rubocop-rails/releases) - [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.19.1...v2.21.2) --- updated-dependencies: - dependency-name: rubocop-rails dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 1ea12079..c5cf6954 100644 --- a/Gemfile +++ b/Gemfile @@ -56,7 +56,7 @@ group :development, :test do gem 'rspec-rails', '~> 6.0.3', '>= 6.0.3' gem 'rubocop', '~> 1.56.4' gem 'rubocop-performance', '~> 1.19.1' - gem 'rubocop-rails', '~> 2.19.1', '>= 2.19.1' + gem 'rubocop-rails', '~> 2.21.2' gem 'rubocop-rspec', '~> 2.22.0', '>= 1.43.2' # or gem 'rubocop-minitest' gem 'brakeman', '~> 6.0.1' end diff --git a/Gemfile.lock b/Gemfile.lock index c0da32cf..1c2147fd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -306,7 +306,7 @@ GEM rubocop-performance (1.19.1) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - rubocop-rails (2.19.1) + rubocop-rails (2.21.2) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) @@ -346,7 +346,7 @@ GEM unf (0.1.4) unf_ext unf_ext (0.0.7.7) - unicode-display_width (2.4.2) + unicode-display_width (2.5.0) web-console (4.2.1) actionview (>= 6.0.0) activemodel (>= 6.0.0) @@ -391,7 +391,7 @@ DEPENDENCIES rspec-rails (~> 6.0.3, >= 6.0.3) rubocop (~> 1.56.4) rubocop-performance (~> 1.19.1) - rubocop-rails (~> 2.19.1, >= 2.19.1) + rubocop-rails (~> 2.21.2) rubocop-rspec (~> 2.22.0, >= 1.43.2) simplecov (~> 0.22.0, >= 0.16.1) spring (~> 4.1.1) From 10b71d43de9493e9dbc3874821caa7d687c582cb Mon Sep 17 00:00:00 2001 From: tim-s-ccs Date: Tue, 3 Oct 2023 15:51:27 +0100 Subject: [PATCH 3/3] Run rubocop --- spec/services/cognito/confirm_password_reset_spec.rb | 2 +- spec/services/cognito/sign_up_user_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/services/cognito/confirm_password_reset_spec.rb b/spec/services/cognito/confirm_password_reset_spec.rb index 7cc6cfe4..30893f19 100644 --- a/spec/services/cognito/confirm_password_reset_spec.rb +++ b/spec/services/cognito/confirm_password_reset_spec.rb @@ -107,7 +107,7 @@ end context 'and it has been pwned' do - let(:password) { PwnedPassword.all.pluck(:password).sample } + let(:password) { PwnedPassword.pluck(:password).sample } it 'is not valid' do expect(confirm_password_reset.valid?).to be false diff --git a/spec/services/cognito/sign_up_user_spec.rb b/spec/services/cognito/sign_up_user_spec.rb index 5b00005e..ad1b22db 100644 --- a/spec/services/cognito/sign_up_user_spec.rb +++ b/spec/services/cognito/sign_up_user_spec.rb @@ -252,7 +252,7 @@ end context 'and it has been pwned' do - let(:password) { PwnedPassword.all.pluck(:password).sample } + let(:password) { PwnedPassword.pluck(:password).sample } it 'is not valid' do expect(sign_up_user.valid?).to be false