Skip to content

Commit 5b22712

Browse files
committed
(maint) Rubocop Autocorrects
1 parent 52331be commit 5b22712

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.rubocop_todo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2023-11-28 08:35:58 UTC using RuboCop version 1.48.1.
3+
# on 2025-07-08 13:54:59 UTC using RuboCop version 1.50.2.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -23,7 +23,7 @@ RSpec/FilePath:
2323
- 'spec/classes/mod/lookup_identity.rb'
2424
- 'spec/classes/mod/proxy_wstunnel.rb'
2525

26-
# Offense count: 290
26+
# Offense count: 306
2727
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
2828
# SupportedStyles: always, named_only
2929
RSpec/NamedSubject:

spec/classes/mod/proxy_html_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
context 'on a Debian OS' do
1515
shared_examples 'debian' do |loadfiles|
1616
it { is_expected.to contain_class('apache::params') }
17-
it { is_expected.to contain_apache__mod('proxy_html').with(loadfiles: loadfiles) }
17+
it { is_expected.to contain_apache__mod('proxy_html').with(loadfiles:) }
1818
end
1919

2020
include_examples 'Debian 11'

spec/defines/vhost_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@
12531253
end
12541254

12551255
describe 'serveraliases parameter' do
1256-
let(:params) { default_params.merge(serveraliases: serveraliases) }
1256+
let(:params) { default_params.merge(serveraliases:) }
12571257

12581258
context 'with a string' do
12591259
let(:serveraliases) { 'alias.example.com' }

0 commit comments

Comments
 (0)