# This configuration was generated by # `rubocop --auto-gen-config` # on 2023-02-21 19:27:49 UTC using RuboCop version 1.45.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 # versions of RuboCop, may require this file to be generated again. # Offense count: 4 # Configuration parameters: EnforcedStyle, AllowedGems, Include. # SupportedStyles: Gemfile, gems.rb, gemspec # Include: **/*.gemspec, **/Gemfile, **/gems.rb Gemspec/DevelopmentDependencies: Exclude: - 'beaker-hostgenerator.gemspec' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: with_first_argument, with_fixed_indentation Layout/ArgumentAlignment: Exclude: - 'lib/beaker-hostgenerator/cli.rb' - 'lib/beaker-hostgenerator/parser.rb' # Offense count: 6 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth. # SupportedStyles: case, end Layout/CaseIndentation: Exclude: - 'lib/beaker-hostgenerator/data.rb' - 'lib/beaker-hostgenerator/hypervisor/hcloud.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Layout/ClosingHeredocIndentation: Exclude: - 'beaker-hostgenerator.gemspec' - 'lib/beaker-hostgenerator/cli.rb' # Offense count: 20 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: leading, trailing Layout/DotPosition: Exclude: - 'spec/beaker-hostgenerator/abs_support_spec.rb' - 'spec/beaker-hostgenerator/parser_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyleAlignWith, Severity. # SupportedStylesAlignWith: keyword, variable, start_of_line Layout/EndAlignment: Exclude: - 'lib/beaker-hostgenerator/data.rb' - 'lib/beaker-hostgenerator/hypervisor/hcloud.rb' # Offense count: 20 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_braces Layout/FirstHashElementIndentation: Exclude: - 'lib/beaker-hostgenerator/data.rb' - 'lib/beaker-hostgenerator/roles.rb' - 'test/util/generator_helpers.rb' # Offense count: 124 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. # SupportedHashRocketStyles: key, separator, table # SupportedColonStyles: key, separator, table # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit Layout/HashAlignment: Exclude: - 'lib/beaker-hostgenerator/data.rb' - 'spec/beaker-hostgenerator/parser_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Layout/HeredocIndentation: Exclude: - 'beaker-hostgenerator.gemspec' - 'lib/beaker-hostgenerator/cli.rb' # Offense count: 4 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Width, AllowedPatterns. Layout/IndentationWidth: Exclude: - 'lib/beaker-hostgenerator.rb' - 'lib/beaker-hostgenerator/cli.rb' # Offense count: 6 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: symmetrical, new_line, same_line Layout/MultilineHashBraceLayout: Exclude: - 'lib/beaker-hostgenerator/roles.rb' - 'spec/beaker-hostgenerator/parser_spec.rb' - 'spec/helpers.rb' - 'test/util/generator_helpers.rb' # Offense count: 1 Lint/MixedRegexpCaptureTypes: Exclude: - 'lib/beaker-hostgenerator/parser.rb' # Offense count: 1 Lint/RescueException: Exclude: - 'lib/beaker-hostgenerator/parser.rb' # Offense count: 2 # Configuration parameters: AllowComments, AllowNil. Lint/SuppressedException: Exclude: - 'Rakefile' - 'bin/beaker-hostgenerator' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. Lint/UnusedBlockArgument: Exclude: - 'lib/beaker-hostgenerator/data.rb' # Offense count: 5 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/beaker-hostgenerator/hypervisor.rb' - 'lib/beaker-hostgenerator/util.rb' # Offense count: 3 Lint/UselessAssignment: Exclude: - 'lib/beaker-hostgenerator/parser.rb' - 'test/util/generator_helpers.rb' # Offense count: 11 # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. Metrics/AbcSize: Max: 81 # Offense count: 3 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode. # AllowedMethods: refine Metrics/BlockLength: Max: 100 # Offense count: 1 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 163 # Offense count: 7 # Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/CyclomaticComplexity: Max: 24 # Offense count: 21 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Max: 1659 Exclude: - 'lib/beaker-hostgenerator/data.rb' # Offense count: 4 # Configuration parameters: CountComments, CountAsOne. Metrics/ModuleLength: Max: 1784 Exclude: - 'lib/beaker-hostgenerator/data.rb' # Offense count: 3 # Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/PerceivedComplexity: Max: 26 # Offense count: 1 Naming/AccessorMethodName: Exclude: - 'lib/beaker-hostgenerator/util.rb' # Offense count: 1 # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms. # CheckDefinitionPathHierarchyRoots: lib, spec, test, src # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS Naming/FileName: Exclude: - 'lib/beaker-hostgenerator.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: lowercase, uppercase Naming/HeredocDelimiterCase: Exclude: - 'beaker-hostgenerator.gemspec' - 'lib/beaker-hostgenerator/cli.rb' # Offense count: 2 # Configuration parameters: ForbiddenDelimiters. # ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$)) Naming/HeredocDelimiterNaming: Exclude: - 'beaker-hostgenerator.gemspec' - 'lib/beaker-hostgenerator/cli.rb' # Offense count: 1 # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros. # NamePrefix: is_, has_, have_ # ForbiddenPrefixes: is_, has_, have_ # AllowedMethods: is_a? # MethodDefinitionMacros: define_method, define_singleton_method Naming/PredicateName: Exclude: - 'spec/**/*' - 'lib/beaker-hostgenerator/parser.rb' # Offense count: 4 # This cop supports safe autocorrection (--autocorrect). Performance/RegexpMatch: Exclude: - 'Rakefile' - 'lib/beaker-hostgenerator/hypervisor/docker.rb' - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb' # Offense count: 3 # This cop supports unsafe autocorrection (--autocorrect-all). Performance/StringInclude: Exclude: - 'Rakefile' - 'lib/beaker-hostgenerator/generator.rb' - 'lib/beaker-hostgenerator/hypervisor/docker.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Performance/StringReplacement: Exclude: - 'lib/beaker-hostgenerator/parser.rb' # Offense count: 6 # Configuration parameters: Prefixes, AllowedPatterns. # Prefixes: when, with, without RSpec/ContextWording: Exclude: - 'spec/beaker-hostgenerator/generator_spec.rb' - 'spec/beaker-hostgenerator/parser_spec.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: SkipBlocks, EnforcedStyle. # SupportedStyles: described_class, explicit RSpec/DescribedClass: Exclude: - 'spec/beaker-hostgenerator/generator_spec.rb' - 'spec/beaker-hostgenerator/parser_spec.rb' # Offense count: 11 # Configuration parameters: CountAsOne. RSpec/ExampleLength: Max: 35 # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples. # DisallowedExamples: works RSpec/ExampleWording: Exclude: - 'spec/beaker-hostgenerator/parser_spec.rb' # Offense count: 7 RSpec/MultipleExpectations: Max: 4 # Offense count: 2 # Configuration parameters: AllowSubject. RSpec/MultipleMemoizedHelpers: Max: 6 # Offense count: 2 # Configuration parameters: IgnoreNameless, IgnoreSymbolicNames. RSpec/VerifiedDoubles: Exclude: - 'spec/helpers.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Rake/Desc: Exclude: - 'Rakefile' # Offense count: 1 Security/Eval: Exclude: - 'Gemfile' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). Security/JSONLoad: Exclude: - 'spec/beaker-hostgenerator/abs_support_spec.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). Security/YAMLLoad: Exclude: - 'spec/beaker-hostgenerator/generator_spec.rb' - 'test/util/generator_helpers.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'lib/beaker-hostgenerator/generator.rb' - 'lib/beaker-hostgenerator/parser.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). Style/CaseLikeIf: Exclude: - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: - 'lib/beaker-hostgenerator/hypervisor/unknown.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: is_a?, kind_of? Style/ClassCheck: Exclude: - 'lib/beaker-hostgenerator/generator.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). Style/CollectionCompact: Exclude: - 'lib/beaker-hostgenerator/data.rb' # Offense count: 6 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions. # SupportedStyles: assign_to_condition, assign_inside_condition Style/ConditionalAssignment: Exclude: - 'lib/beaker-hostgenerator/data.rb' - 'lib/beaker-hostgenerator/generator.rb' - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb' - 'lib/beaker-hostgenerator/parser.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Style/DefWithParentheses: Exclude: - 'lib/beaker-hostgenerator/hypervisor.rb' # Offense count: 11 # Configuration parameters: AllowedConstants. Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/beaker-hostgenerator.rb' - 'lib/beaker-hostgenerator/cli.rb' - 'lib/beaker-hostgenerator/generator.rb' - 'lib/beaker-hostgenerator/hypervisor.rb' - 'lib/beaker-hostgenerator/hypervisor/docker.rb' - 'lib/beaker-hostgenerator/hypervisor/hcloud.rb' - 'lib/beaker-hostgenerator/hypervisor/unknown.rb' - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb' - 'lib/beaker-hostgenerator/hypervisor/vmpooler.rb' - 'lib/beaker-hostgenerator/roles.rb' - 'lib/beaker-hostgenerator/util.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, AllowComments. # SupportedStyles: empty, nil, both Style/EmptyElse: Exclude: - 'lib/beaker-hostgenerator/hypervisor/vmpooler.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/ExpandPathArguments: Exclude: - 'beaker-hostgenerator.gemspec' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowedVars. Style/FetchEnvVar: Exclude: - 'lib/beaker-hostgenerator/data.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/FileWrite: Exclude: - 'lib/beaker-hostgenerator/util.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: format, sprintf, percent Style/FormatString: Exclude: - 'lib/beaker-hostgenerator/data.rb' # Offense count: 30 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals. Style/GuardClause: Exclude: - 'lib/beaker-hostgenerator/generator.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowSplatArgument. Style/HashConversion: Exclude: - 'lib/beaker-hostgenerator/parser.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AllowedReceivers. # AllowedReceivers: Thread.current Style/HashEachMethods: Exclude: - 'lib/beaker-hostgenerator/cli.rb' # Offense count: 406 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys # SupportedShorthandSyntax: always, never, either, consistent Style/HashSyntax: Exclude: - 'Gemfile' - 'Rakefile' - 'lib/beaker-hostgenerator/data.rb' - 'spec/helpers.rb' # Offense count: 8 # This cop supports safe autocorrection (--autocorrect). Style/IfUnlessModifier: Exclude: - 'Gemfile' - 'lib/beaker-hostgenerator/cli.rb' - 'lib/beaker-hostgenerator/generator.rb' - 'lib/beaker-hostgenerator/hypervisor/docker.rb' - 'lib/beaker-hostgenerator/parser.rb' - 'spec/beaker-hostgenerator/generator_spec.rb' # Offense count: 4 # This cop supports unsafe autocorrection (--autocorrect-all). Style/LineEndConcatenation: Exclude: - 'lib/beaker-hostgenerator/cli.rb' # Offense count: 4 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowedMethods, AllowedPatterns. Style/MethodCallWithoutArgsParentheses: Exclude: - 'lib/beaker-hostgenerator/cli.rb' - 'lib/beaker-hostgenerator/generator.rb' - 'lib/beaker-hostgenerator/parser.rb' - 'lib/beaker-hostgenerator/util.rb' # Offense count: 5 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline Style/MethodDefParentheses: Exclude: - 'spec/helpers.rb' # Offense count: 4 # This cop supports safe autocorrection (--autocorrect). Style/MultilineWhenThen: Exclude: - 'lib/beaker-hostgenerator/data.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowMethodComparison. Style/MultipleComparison: Exclude: - 'lib/beaker-hostgenerator/parser.rb' # Offense count: 15 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: literals, strict Style/MutableConstant: Exclude: - 'lib/beaker-hostgenerator/data.rb' - 'lib/beaker-hostgenerator/parser.rb' - 'lib/beaker-hostgenerator/roles.rb' - 'lib/beaker-hostgenerator/version.rb' - 'spec/helpers.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: both, prefix, postfix Style/NegatedIf: Exclude: - 'lib/beaker-hostgenerator/cli.rb' - 'lib/beaker-hostgenerator/generator.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/NegatedIfElseCondition: Exclude: - 'lib/beaker-hostgenerator/generator.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, MinBodyLength. # SupportedStyles: skip_modifier_ifs, always Style/Next: Exclude: - 'lib/beaker-hostgenerator/parser.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: IncludeSemanticChanges. Style/NonNilCheck: Exclude: - 'lib/beaker-hostgenerator/generator.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). Style/Not: Exclude: - 'lib/beaker-hostgenerator/cli.rb' - 'lib/beaker-hostgenerator/generator.rb' # Offense count: 1 Style/OpenStructUse: Exclude: - 'spec/helpers.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'Rakefile' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). Style/PerlBackrefs: Exclude: - 'lib/beaker-hostgenerator/data.rb' - 'lib/beaker-hostgenerator/hypervisor/abs.rb' - 'lib/beaker-hostgenerator/hypervisor/vmpooler.rb' # Offense count: 4 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: short, verbose Style/PreferredHashMethods: Exclude: - 'lib/beaker-hostgenerator/generator.rb' - 'spec/helpers.rb' # Offense count: 7 # This cop supports unsafe autocorrection (--autocorrect-all). Style/RedundantInterpolation: Exclude: - 'lib/beaker-hostgenerator/data.rb' - 'lib/beaker-hostgenerator/util.rb' - 'spec/beaker-hostgenerator/generator_spec.rb' - 'test/util/generator_helpers.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/RedundantRegexpEscape: Exclude: - 'lib/beaker-hostgenerator/parser.rb' # Offense count: 13 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: Exclude: - 'lib/beaker-hostgenerator/data.rb' - 'lib/beaker-hostgenerator/generator.rb' - 'lib/beaker-hostgenerator/hypervisor.rb' - 'lib/beaker-hostgenerator/hypervisor/docker.rb' - 'lib/beaker-hostgenerator/hypervisor/hcloud.rb' - 'lib/beaker-hostgenerator/hypervisor/unknown.rb' - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb' - 'lib/beaker-hostgenerator/hypervisor/vmpooler.rb' - 'lib/beaker-hostgenerator/parser.rb' - 'test/util/generator_helpers.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/RescueModifier: Exclude: - 'lib/beaker-hostgenerator/generator.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Mode. Style/StringConcatenation: Exclude: - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb' # Offense count: 211 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'Rakefile' - 'beaker-hostgenerator.gemspec' - 'lib/beaker-hostgenerator/cli.rb' - 'lib/beaker-hostgenerator/data.rb' - 'lib/beaker-hostgenerator/generator.rb' - 'spec/beaker-hostgenerator/generator_spec.rb' - 'spec/beaker-hostgenerator/parser_spec.rb' - 'spec/helpers.rb' - 'test/test_generator.rb' - 'test/util/generator_helpers.rb' # Offense count: 8 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: WordRegex. # SupportedStyles: percent, brackets Style/WordArray: EnforcedStyle: percent MinSize: 9 # Offense count: 4 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. # URISchemes: http, https Layout/LineLength: Max: 170