Skip to content

Commit

Permalink
Merge pull request #13888 from openSUSE/depfu/update/srcapi/rubocop-1…
Browse files Browse the repository at this point in the history
….46.0

[src/api] Update rubocop: 1.45.1 → 1.46.0 (minor)
  • Loading branch information
rubhanazeem committed Feb 28, 2023
2 parents dd15a94 + 32d6acc commit 1630690
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/api/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -386,14 +386,14 @@ GEM
rspec-support (3.12.0)
rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.45.1)
rubocop (1.46.0)
json (~> 2.3)
parallel (~> 1.10)
parser (>= 3.2.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.24.1, < 2.0)
rubocop-ast (>= 1.26.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.26.0)
Expand Down
2 changes: 1 addition & 1 deletion src/api/spec/jobs/consistency_check_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
let!(:project) { create(:project, name: 'super_project') }
let(:consistency_checkjob) { described_class.new }
let(:error_message) { "Project meta is different in backend for super_project\n{:foo=>\"bar\"}" }
let!(:admin_user) { create(:admin_user, login: 'Admin') }

before do
create(:admin_user, login: 'Admin')
# rubocop:disable RSpec/AnyInstance
allow_any_instance_of(ConsistencyCheckJobService::ProjectMetaChecker).to receive(:diff).and_return({ foo: 'bar' })
# rubocop:enable RSpec/AnyInstance
Expand Down
Binary file removed src/api/vendor/cache/rubocop-1.45.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rubocop-1.46.0.gem
Binary file not shown.

0 comments on commit 1630690

Please sign in to comment.