# This configuration was generated by # `rubocop --auto-gen-config` # on 2016-04-09 19:20:20 -0700 using RuboCop version 0.38.0. # 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: 2 # Cop supports --auto-correct. # Configuration parameters: AlignWith, SupportedStyles. # SupportedStyles: either, start_of_block, start_of_line Lint/BlockAlignment: Exclude: - 'test/test_aptly_misc.rb' # Offense count: 26 # Cop supports --auto-correct. # Configuration parameters: IgnoreEmptyBlocks. Lint/UnusedBlockArgument: Exclude: - 'bin/aptly-cli' # Offense count: 4 Lint/UselessAssignment: Exclude: - 'test/test_aptly_cli_configure.rb' - 'test/test_aptly_misc.rb' # Offense count: 5 Metrics/AbcSize: Max: 31 # Offense count: 2 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 108 # Offense count: 1 Metrics/CyclomaticComplexity: Max: 9 # Offense count: 122 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes. # URISchemes: http, https Metrics/LineLength: Max: 253 # Offense count: 17 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 34 # Offense count: 1 Metrics/PerceivedComplexity: Max: 10 # Offense count: 1 Style/AccessorMethodName: Exclude: - 'lib/aptly_misc.rb' # Offense count: 2 # Cop supports --auto-correct. Style/AlignArray: Exclude: - 'lib/aptly_publish.rb' # Offense count: 14 # Cop supports --auto-correct. # Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles. # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit Style/AlignHash: Exclude: - 'bin/aptly-cli' - 'test/test_aptly_file.rb' - 'test/test_aptly_publish.rb' - 'test/test_aptly_repo.rb' # Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: with_first_parameter, with_fixed_indentation Style/AlignParameters: Exclude: - 'test/test_aptly_cli_configure.rb' - 'test/test_aptly_file.rb' - 'test/test_aptly_repo.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'bin/aptly-cli' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods. # SupportedStyles: line_count_based, semantic, braces_for_chaining # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object # FunctionalMethods: let, let!, subject, watch # IgnoredMethods: lambda, proc, it Style/BlockDelimiters: Exclude: - 'test/test_aptly_file.rb' - 'test/test_aptly_repo.rb' # Offense count: 4 # Cop supports --auto-correct. Style/BlockEndNewline: Exclude: - 'test/test_aptly_file.rb' - 'test/test_aptly_repo.rb' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: braces, no_braces, context_dependent Style/BracesAroundHashParameters: Exclude: - 'bin/aptly-cli' - 'test/test_aptly_cli_configure.rb' - 'test/test_aptly_repo.rb' # Offense count: 3 Style/ClassVars: Exclude: - 'lib/aptly_publish.rb' # Offense count: 1 # Cop supports --auto-correct. Style/EmptyLines: Exclude: - 'test/test_aptly_file.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, no_empty_lines Style/EmptyLinesAroundBlockBody: Exclude: - 'test/test_aptly_repo.rb' # Offense count: 56 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues. # SupportedStyles: ruby19, ruby19_no_mixed_keys, hash_rockets Style/HashSyntax: Enabled: false # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: MaxLineLength. Style/IfUnlessModifier: Exclude: - 'bin/aptly-cli' - 'lib/aptly_publish.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: normal, rails Style/IndentationConsistency: Exclude: - 'test/test_aptly_file.rb' - 'test/test_aptly_misc.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: Width. Style/IndentationWidth: Exclude: - 'lib/aptly_publish.rb' - 'test/test_aptly_misc.rb' # Offense count: 5 # Cop supports --auto-correct. Style/MethodCallParentheses: Exclude: - 'bin/aptly-cli' - 'test/test_aptly_misc.rb' # Offense count: 2 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: snake_case, camelCase Style/MethodName: Enabled: false # Offense count: 4 # Cop supports --auto-correct. Style/MultilineBlockLayout: Exclude: - 'test/test_aptly_file.rb' - 'test/test_aptly_repo.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'Rakefile' - 'aptly_cli.gemspec' # Offense count: 1 # Configuration parameters: SupportedStyles. # SupportedStyles: compact, exploded Style/RaiseArgs: EnforcedStyle: compact # Offense count: 6 # Cop supports --auto-correct. Style/RedundantParentheses: Exclude: - 'test/test_aptly_cli_configure.rb' - 'test/test_aptly_file.rb' - 'test/test_aptly_misc.rb' - 'test/test_aptly_publish.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: Exclude: - 'lib/aptly_publish.rb' - 'lib/aptly_repo.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. # SupportedStyles: space, no_space Style/SpaceInsideHashLiteralBraces: Enabled: false # Offense count: 40 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Enabled: false # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: final_newline, final_blank_line Style/TrailingBlankLines: Exclude: - 'bin/aptly-cli' - 'test/test_aptly_file.rb' # Offense count: 25 # Cop supports --auto-correct. Style/TrailingWhitespace: Exclude: - 'bin/aptly-cli' - 'lib/aptly_publish.rb' - 'test/test_aptly_cli_configure.rb' - 'test/test_aptly_file.rb' - 'test/test_aptly_misc.rb' - 'test/test_aptly_repo.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist. # Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym Style/TrivialAccessors: Exclude: - 'lib/aptly_load.rb' # Offense count: 2 # Cop supports --auto-correct. Style/UnneededPercentQ: Exclude: - 'aptly_cli.gemspec'