Skip to content

Commit 00b9af7

Browse files
renovate[bot]silug
andauthored
Update dependency rubocop to '~> 1.80.0' (#246)
* Update dependency rubocop to '~> 1.80.0' * Rename `fips_enabled` method to `fips_enabled?` to correct a rubocop complaint --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Steven Pritchard <steve@sicura.us>
1 parent 7714499 commit 00b9af7

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,5 +697,5 @@ Style/StringChars:
697697
Enabled: false
698698
Style/SwapValues:
699699
Enabled: false
700-
Naming/PredicateName:
700+
Naming/PredicatePrefix:
701701
Enabled: false

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### 2.0.1 / 2025-08-28
2+
* Fixed:
3+
* Rename `fips_enabled` method to `fips_enabled?`
4+
to correct a rubocop complaint
5+
16
### 2.0.0 / 2025-08-12
27
* Added
38
* Openvox support (re-publishing 1.36.0 as a breaking change)

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ group :system_tests do
4444
gem 'pry-byebug', '~> 3.10.0'
4545
gem 'puppet', ENV.fetch('PUPPET_VERSION', ['>= 7.0.0', '< 9.0.0'])
4646
gem 'puppetlabs_spec_helper', '>= 4.0.0', '< 8.0.0'
47-
gem 'rubocop', '~> 1.69.2'
47+
gem 'rubocop', '~> 1.80.0'
4848
gem 'rubocop-performance', '~> 1.23.0'
4949
gem 'rubocop-rake', '~> 0.6.0'
5050
gem 'rubocop-rspec', '~> 3.3.0'

lib/simp/beaker_helpers.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,14 @@ def is_windows?(sut)
114114
end
115115

116116
# We can't cache this because it may change during a run
117-
def fips_enabled(sut)
117+
def fips_enabled?(sut)
118118
on(sut,
119119
'cat /proc/sys/crypto/fips_enabled 2>/dev/null',
120120
accept_all_exit_codes: true).output.strip == '1'
121121
end
122122

123+
alias fips_enabled fips_enabled?
124+
123125
def rsync_functional_on?(sut)
124126
# We have to check if rsync *still* works otherwise
125127
return false if @rsync_functional == false

lib/simp/beaker_helpers/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
module Simp; end
55

66
module Simp::BeakerHelpers
7-
VERSION = '2.0.0'
7+
VERSION = '2.0.1'
88
end

0 commit comments

Comments
 (0)