Skip to content

Commit

Permalink
rubocop: autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Aug 17, 2023
1 parent 5e2d55f commit d8d80c9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
17 changes: 14 additions & 3 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,30 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-12-14 08:02:15 UTC using RuboCop version 1.22.3.
# on 2023-08-17 21:32:43 UTC using RuboCop version 1.50.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 5
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/BeEq:
Exclude:
- 'spec/functions/register_spec.rb'
- 'spec/functions/register_to_file_spec.rb'
- 'spec/functions/to_toml_spec.rb'
- 'spec/functions/unregister_from_file_spec.rb'
- 'spec/functions/unregister_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: MinBranchesCount.
Style/CaseLikeIf:
Exclude:
- 'lib/puppet_x/gitlab/dumper.rb'

# Offense count: 3
# Cop supports --auto-correct.
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Mode.
Style/StringConcatenation:
Exclude:
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/gitlab_ci_runner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
is_expected.to contain_yumrepo('runner_gitlab-runner').
with(
ensure: 'present',
baseurl: "https://packages.gitlab.com/runner/gitlab-runner/el/#{os_release_version}/\$basearch",
baseurl: "https://packages.gitlab.com/runner/gitlab-runner/el/#{os_release_version}/$basearch",
descr: 'runner_gitlab-runner',
enabled: '1',
gpgcheck: '0',
Expand Down
3 changes: 1 addition & 2 deletions spec/defines/runner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@
context 'with name not included in config' do
let(:params) do
{
config: {
}
config: {}
}
end

Expand Down

0 comments on commit d8d80c9

Please sign in to comment.