# This configuration was generated by # `rubocop --auto-gen-config` # on 2023-05-05 09:15:09 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: 4 # Configuration parameters: EnforcedStyle, AllowedGems, Include. # SupportedStyles: Gemfile, gems.rb, gemspec # Include: **/*.gemspec, **/Gemfile, **/gems.rb Gemspec/DevelopmentDependencies: Exclude: - 'beaker-hostgenerator.gemspec' # 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: 10 # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. Metrics/AbcSize: Max: 78 # Offense count: 3 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode. # AllowedMethods: refine Metrics/BlockLength: Max: 98 # Offense count: 1 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 161 # Offense count: 7 # Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/CyclomaticComplexity: Max: 23 # Offense count: 20 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Max: 1121 # Offense count: 4 # Configuration parameters: CountComments, CountAsOne. Metrics/ModuleLength: Max: 1199 # Offense count: 3 # Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/PerceivedComplexity: Max: 25 # 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: 1 # Configuration parameters: MinSize. Performance/CollectionLiteralInLoop: Exclude: - 'lib/beaker-hostgenerator/parser.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). Performance/RegexpMatch: Exclude: - 'Rakefile' - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). Performance/StringInclude: Exclude: - 'Rakefile' - 'lib/beaker-hostgenerator/generator.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Performance/StringReplacement: Exclude: - 'lib/beaker-hostgenerator/parser.rb' # Offense count: 7 # 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: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'lib/beaker-hostgenerator/generator.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: MinBranchesCount. Style/CaseLikeIf: Exclude: - 'lib/beaker-hostgenerator/generator.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 unsafe autocorrection (--autocorrect-all). Style/CollectionCompact: Exclude: - 'lib/beaker-hostgenerator/data.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: 30 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 4 # This cop supports unsafe autocorrection (--autocorrect-all). Style/LineEndConcatenation: Exclude: - 'lib/beaker-hostgenerator/cli.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: 1 Style/OpenStructUse: Exclude: - 'spec/helpers.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 unsafe autocorrection (--autocorrect-all). # Configuration parameters: Mode. Style/StringConcatenation: Exclude: - 'lib/beaker-hostgenerator/hypervisor/vagrant.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. # URISchemes: http, https Layout/LineLength: Max: 168