Skip to content

Commit

Permalink
rubocop: autocorrect & regenerate todo
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed May 10, 2024
1 parent 84b3836 commit f81ddb2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
22 changes: 11 additions & 11 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-03-12 17:49:37 UTC using RuboCop version 1.62.1.
# on 2024-05-10 13:25:58 UTC using RuboCop version 1.62.1.
# 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
Expand Down Expand Up @@ -156,7 +156,7 @@ RSpec/Eq:
Exclude:
- 'spec/beaker/logger_spec.rb'

# Offense count: 241
# Offense count: 240
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 44
Expand Down Expand Up @@ -214,7 +214,7 @@ RSpec/MultipleDescribes:
RSpec/MultipleMemoizedHelpers:
Max: 18

# Offense count: 502
# Offense count: 499
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
Expand All @@ -231,12 +231,6 @@ RSpec/NoExpectationExample:
- 'spec/beaker/logger_spec.rb'
- 'spec/beaker/options/subcommand_options_parser_spec.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
RSpec/Rails/MinitestAssertions:
Exclude:
- 'spec/beaker/dsl/structure_spec.rb'

# Offense count: 60
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/ReceiveMessages:
Expand Down Expand Up @@ -284,7 +278,7 @@ RSpec/SpecFilePathFormat:
- 'spec/beaker/host/windows/user_spec.rb'
- 'spec/beaker/host_prebuilt_steps_spec.rb'

# Offense count: 178
# Offense count: 177
RSpec/SubjectStub:
Exclude:
- 'spec/beaker/dsl/assertions_spec.rb'
Expand Down Expand Up @@ -314,6 +308,12 @@ RSpec/UnspecifiedException:
RSpec/VerifiedDoubles:
Enabled: false

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
RSpecRails/MinitestAssertions:
Exclude:
- 'spec/beaker/dsl/structure_spec.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Rake/Desc:
Expand All @@ -336,7 +336,7 @@ Security/Open:
Exclude:
- 'lib/beaker/dsl/helpers/web_helpers.rb'

# Offense count: 106
# Offense count: 105
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Expand Down
2 changes: 0 additions & 2 deletions lib/beaker/platform.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ module Beaker
# all String methods while adding several platform-specific use cases.
class Platform < String
# Supported platforms
# rubocop:disable Layout/LineLength
PLATFORMS = /^(alpine|amazon|huaweios|cisco_nexus|cisco_ios_xr|(free|open)bsd|osx|centos|fedora|debian|oracle|redhat|redhatfips|scientific|opensuse|sles|ubuntu|windows|solaris|aix|archlinux|el|eos|netscaler)\-.+\-.+$/
# rubocop:enable Layout/LineLength
# Platform version numbers vs. codenames conversion hash
PLATFORM_VERSION_CODES =
{ :debian => { "forky" => "14",
Expand Down

0 comments on commit f81ddb2

Please sign in to comment.