# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2015-09-25 12:31:31 -0700 using RuboCop version 0.34.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: 31
Metrics/AbcSize:
  Max: 59

# Offense count: 1
Metrics/BlockNesting:
  Max: 5

# Offense count: 6
Metrics/CyclomaticComplexity:
  Max: 10

# Offense count: 493
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
  Max: 196

# Offense count: 44
# Configuration parameters: CountComments.
Metrics/MethodLength:
  Max: 38

# Offense count: 2
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
  Max: 6

# Offense count: 6
Metrics/PerceivedComplexity:
  Max: 11

# Offense count: 1
# Cop supports --auto-correct.
Performance/StringReplacement:
  Exclude:
    - 'lib/protobuf/rpc/buffer.rb'

# Offense count: 127
# Configuration parameters: Exclude.
Style/Documentation:
  Enabled: false

# Offense count: 12
Style/DoubleNegation:
  Exclude:
    - 'lib/protobuf.rb'
    - 'lib/protobuf/cli.rb'
    - 'lib/protobuf/rpc/connectors/zmq.rb'
    - 'lib/protobuf/rpc/servers/zmq/broker.rb'
    - 'lib/protobuf/rpc/servers/zmq/server.rb'
    - 'lib/protobuf/rpc/servers/zmq/worker.rb'
    - 'lib/protobuf/rpc/service_directory.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/EmptyElse:
  Exclude:
    - 'lib/protobuf/enum.rb'
    - 'lib/protobuf/message/fields.rb'

# Offense count: 77
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/EmptyLinesAroundBlockBody:
  Enabled: false

# Offense count: 90
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/EmptyLinesAroundClassBody:
  Enabled: false

# Offense count: 50
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/EmptyLinesAroundModuleBody:
  Enabled: false

# Offense count: 2
Style/IndentationWidth:
  Exclude:
    - 'protobuf.gemspec'
    - 'lib/protobuf/cli.rb'

# Offense count: 3
Style/ElseAlignment:
  Exclude:
    - 'protobuf.gemspec'
    - 'lib/protobuf/cli.rb'

# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment.
Style/ExtraSpacing:
  Exclude:
    - 'lib/protobuf/rpc/connectors/common.rb'
    - 'lib/protobuf/rpc/connectors/socket.rb'
    - 'lib/protobuf/rpc/connectors/zmq.rb'
    - 'lib/protobuf/rpc/servers/socket/server.rb'
    - 'spec/lib/protobuf/rpc/service_directory_spec.rb'

# Offense count: 46
# Cop supports --auto-correct.
Style/NumericLiterals:
  MinDigits: 21

# Offense count: 473
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/StringLiterals:
  Enabled: false

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
Style/SymbolProc:
  Exclude:
    - 'lib/protobuf/generators/printable.rb'
    - 'lib/protobuf/rpc/servers/socket/server.rb'
    - 'spec/encoding/all_types_spec.rb'
    - 'spec/encoding/extreme_values_spec.rb'
    - 'spec/functional/socket_server_spec.rb'
    - 'spec/functional/zmq_server_spec.rb'
    - 'spec/lib/protobuf/rpc/servers/socket_server_spec.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: WordRegex.
Style/WordArray:
  MinSize: 2