# This configuration was generated by # `rubocop --auto-gen-config` # on 2016-01-07 10:02:02 +0100 using RuboCop version 0.35.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: 2 Metrics/AbcSize: Max: 29 # Offense count: 164 # Configuration parameters: AllowURI, URISchemes. Metrics/LineLength: Max: 198 # Offense count: 1 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 32 # Offense count: 1 Style/AccessorMethodName: Exclude: - 'lib/wine_bouncer/oauth2.rb' # Offense count: 1 # Cop supports --auto-correct. Style/BlockComments: Exclude: - 'spec/spec_helper.rb' # Offense count: 1 # Cop supports --auto-correct. Style/CommentIndentation: Exclude: - 'spec/rails_helper.rb' # Offense count: 14 # Configuration parameters: Exclude. Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/generators/wine_bouncer/initializer_generator.rb' - 'lib/wine_bouncer.rb' - 'lib/wine_bouncer/auth_methods/auth_methods.rb' - 'lib/wine_bouncer/auth_strategies/default.rb' - 'lib/wine_bouncer/auth_strategies/protected.rb' - 'lib/wine_bouncer/auth_strategies/swagger.rb' - 'lib/wine_bouncer/base_strategy.rb' - 'lib/wine_bouncer/configuration.rb' - 'lib/wine_bouncer/errors.rb' - 'lib/wine_bouncer/extension.rb' - 'lib/wine_bouncer/oauth2.rb' - 'lib/wine_bouncer/version.rb' # Offense count: 6 Style/DoubleNegation: Exclude: - 'lib/wine_bouncer/auth_methods/auth_methods.rb' - 'lib/wine_bouncer/auth_strategies/default.rb' - 'lib/wine_bouncer/auth_strategies/protected.rb' - 'lib/wine_bouncer/auth_strategies/swagger.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/EmptyLinesAroundModuleBody: Exclude: - 'lib/wine_bouncer/configuration.rb' - 'spec/dummy/app/api/default_api.rb' - 'spec/dummy/app/api/protected_api.rb' - 'spec/dummy/app/api/swagger_api.rb' # Offense count: 14 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Style/ExtraSpacing: Exclude: - 'spec/dummy/bin/rails' - 'spec/dummy/config.ru' - 'spec/dummy/db/migrate/20140915160601_create_doorkeeper_tables.rb' - 'spec/dummy/db/schema.rb' # Offense count: 1 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/wine_bouncer/oauth2.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: Width. Style/IndentationWidth: Exclude: - 'lib/wine_bouncer/auth_methods/auth_methods.rb' - 'lib/wine_bouncer/auth_strategies/default.rb' - 'lib/wine_bouncer/auth_strategies/swagger.rb' # Offense count: 7 # Cop supports --auto-correct. Style/LeadingCommentSpace: Exclude: - 'lib/wine_bouncer/oauth2.rb' - 'spec/dummy/config/environments/test.rb' - 'spec/intergration/oauth2_default_strategy_spec.rb' - 'spec/intergration/oauth2_protected_strategy_spec.rb' - 'spec/intergration/oauth2_swagger_strategy_spec.rb' - 'spec/rails_helper.rb' # Offense count: 21 # Cop supports --auto-correct. Style/MethodCallParentheses: Exclude: - 'spec/lib/wine_bouncer/auth_strategies/default_spec.rb' - 'spec/lib/wine_bouncer/auth_strategies/swagger_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/MethodDefParentheses: Enabled: false # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/MultilineOperationIndentation: Enabled: false # Offense count: 1 # Cop supports --auto-correct. Style/NumericLiterals: MinDigits: 15 # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'wine_bouncer.gemspec' # Offense count: 7 # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist. Style/PredicateName: Exclude: - 'lib/wine_bouncer/auth_methods/auth_methods.rb' - 'lib/wine_bouncer/auth_strategies/default.rb' - 'lib/wine_bouncer/auth_strategies/protected.rb' - 'lib/wine_bouncer/auth_strategies/swagger.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/RaiseArgs: Enabled: false # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/SignalException: Exclude: - 'lib/wine_bouncer/oauth2.rb' # Offense count: 1 # Cop supports --auto-correct. Style/SpaceAfterComma: Exclude: - 'spec/lib/wine_bouncer/auth_strategies/swagger_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. Style/SymbolProc: Exclude: - 'lib/wine_bouncer/extension.rb' # Offense count: 1 # Cop supports --auto-correct. Style/UnneededPercentQ: Exclude: - 'wine_bouncer.gemspec'