# This configuration was generated by # `rubocop --auto-gen-config` # on 2016-10-10 22:51:36 +1030 using RuboCop version 0.39.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: 113 Lint/IneffectiveAccessModifier: Enabled: false # Offense count: 21 Lint/UselessAccessModifier: Enabled: false # Offense count: 72 Metrics/AbcSize: Max: 47 # Offense count: 5 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 286 # Offense count: 8 Metrics/CyclomaticComplexity: Max: 14 # Offense count: 314 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes. # URISchemes: http, https Metrics/LineLength: Max: 186 # Offense count: 60 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 35 # Offense count: 1 # Configuration parameters: CountComments. Metrics/ModuleLength: Max: 115 # Offense count: 5 Metrics/PerceivedComplexity: Max: 14 # Offense count: 1 # Cop supports --auto-correct. Performance/RedundantMatch: Exclude: - 'lib/geokit/multi_geocoder.rb' # Offense count: 4 # Cop supports --auto-correct. Performance/StringReplacement: Exclude: - 'lib/geokit/geocoders/geonames.rb' - 'lib/geokit/geocoders/google.rb' - 'lib/geokit/geocoders/yahoo.rb' - 'lib/geokit/inflectors.rb' # Offense count: 1 Style/AccessorMethodName: Exclude: - 'lib/geokit/geocoders/mapbox.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: prefer_alias, prefer_alias_method Style/Alias: Exclude: - 'lib/geokit/geo_loc.rb' - 'lib/geokit/lat_lng.rb' - 'lib/geokit/mappable.rb' # Offense count: 2 # Cop supports --auto-correct. Style/AlignArray: Exclude: - 'lib/geokit/geo_loc.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: with_first_parameter, with_fixed_indentation Style/AlignParameters: Exclude: - 'lib/geokit/lat_lng.rb' - 'test/test_google_geocoder.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'lib/geokit/lat_lng.rb' - 'lib/geokit/mappable.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: braces, no_braces, context_dependent Style/BracesAroundHashParameters: Exclude: - 'test/test_base_geocoder.rb' - 'test/test_multi_ip_geocoder.rb' - 'test/test_openstreetmap_geocoder.rb' # Offense count: 12 Style/ClassVars: Exclude: - 'lib/geokit.rb' - 'lib/geokit/geocoders.rb' - 'test/helper.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly. # SupportedStyles: assign_to_condition, assign_inside_condition Style/ConditionalAssignment: Exclude: - 'lib/geokit/bounds.rb' - 'lib/geokit/geocoders/yahoo.rb' # Offense count: 15 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/geokit.rb' - 'lib/geokit/core_ext.rb' - 'lib/geokit/geocoders.rb' - 'lib/geokit/geocoders/base_ip.rb' - 'lib/geokit/geocoders/ca_geocoder.rb' - 'lib/geokit/geocoders/fcc.rb' - 'lib/geokit/geocoders/geocodio.rb' - 'lib/geokit/geocoders/google.rb' - 'lib/geokit/geocoders/us_geocoder.rb' - 'lib/geokit/geocoders/yahoo.rb' - 'lib/geokit/inflectors.rb' - 'lib/geokit/lat_lng.rb' - 'lib/geokit/net_adapter/net_http.rb' - 'lib/geokit/net_adapter/typhoeus.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: leading, trailing Style/DotPosition: Enabled: false # Offense count: 2 Style/DoubleNegation: Exclude: - 'lib/geokit/geocoders/free_geo_ip.rb' - 'lib/geokit/geocoders/geo_plugin.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowAdjacentOneLineDefs. Style/EmptyLineBetweenDefs: Exclude: - 'lib/geokit/geocoders.rb' - 'lib/geokit/geocoders/opencage.rb' # Offense count: 1 # Cop supports --auto-correct. Style/EmptyLines: Exclude: - 'test/test_google_geocoder.rb' # Offense count: 15 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment. Style/ExtraSpacing: Exclude: - 'lib/geokit/geocoders/bing.rb' - 'lib/geokit/geocoders/yahoo.rb' - 'test/test_mappable.rb' - 'test/test_opencage_geocoder.rb' - 'test/test_us_geocoder.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: format, sprintf, percent Style/FormatString: Exclude: - 'test/coverage_loader.rb' # Offense count: 1 Style/IfInsideElse: Exclude: - 'lib/geokit/multi_geocoder.rb' # Offense count: 11 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: normal, rails Style/IndentationConsistency: Exclude: - 'test/test_google_geocoder.rb' - 'test/test_openstreetmap_geocoder.rb' # Offense count: 2 # Cop supports --auto-correct. Style/Lambda: Exclude: - 'Rakefile' # Offense count: 4 # Cop supports --auto-correct. Style/MethodCallParentheses: Exclude: - 'test/test_maxmind_geocoder.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. # SupportedStyles: aligned, indented Style/MultilineOperationIndentation: Enabled: false # Offense count: 21 # Cop supports --auto-correct. Style/MutableConstant: Exclude: - 'lib/geokit/geocoders/bing.rb' - 'lib/geokit/geocoders/free_geo_ip.rb' - 'lib/geokit/geocoders/geo_plugin.rb' - 'lib/geokit/geocoders/geonames.rb' - 'lib/geokit/geocoders/google.rb' - 'lib/geokit/geocoders/mapbox.rb' - 'lib/geokit/mappable.rb' - 'lib/geokit/version.rb' - 'test/test_ca_geocoder.rb' - 'test/test_geo_plugin_geocoder.rb' - 'test/test_ipgeocoder.rb' - 'test/test_net_adapter.rb' - 'test/test_us_geocoder.rb' # Offense count: 10 # Cop supports --auto-correct. Style/ParallelAssignment: Exclude: - 'lib/geokit/bounds.rb' - 'test/test_google_geocoder.rb' - 'test/test_map_quest.rb' - 'test/test_multi_geocoder.rb' - 'test/test_opencage_geocoder.rb' - 'test/test_openstreetmap_geocoder.rb' # Offense count: 1 # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist. # NamePrefix: is_, has_, have_ # NamePrefixBlacklist: is_, has_, have_ # NameWhitelist: is_a? Style/PredicateName: Exclude: - 'lib/geokit/geo_loc.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: compact, exploded Style/RaiseArgs: Enabled: false # Offense count: 1 # Cop supports --auto-correct. Style/RedundantSelf: Exclude: - 'lib/geokit/geocoders.rb' # Offense count: 7 # Cop supports --auto-correct. Style/RescueModifier: Exclude: - 'lib/geokit/geocoders/yandex.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: space, no_space Style/SpaceAroundEqualsInParameterDefault: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Style/SpaceAroundOperators: Exclude: - 'lib/geokit/geocoders/bing.rb' - 'lib/geokit/geocoders/yahoo.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Style/SpaceBeforeFirstArg: Exclude: - 'test/test_mappable.rb' # Offense count: 34 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. # SupportedStyles: space, no_space Style/SpaceInsideHashLiteralBraces: Enabled: false # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: space, no_space Style/SpaceInsideStringInterpolation: Exclude: - 'lib/geokit/geocoders/yahoo.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: use_perl_names, use_english_names Style/SpecialGlobalVars: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles. # SupportedStyles: comma, consistent_comma, no_comma Style/TrailingCommaInArguments: Exclude: - 'lib/geokit/geocoders/openstreetmap.rb' - 'test/test_google_geocoder.rb' - 'test/test_latlng.rb' # Offense count: 12 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles. # SupportedStyles: comma, consistent_comma, no_comma Style/TrailingCommaInLiteral: Exclude: - 'lib/geokit/geo_loc.rb' - 'lib/geokit/geocoders/bing.rb' - 'lib/geokit/geocoders/free_geo_ip.rb' - 'lib/geokit/geocoders/geo_plugin.rb' - 'lib/geokit/geocoders/geocodio.rb' - 'lib/geokit/geocoders/geonames.rb' - 'lib/geokit/geocoders/google.rb' - 'lib/geokit/geocoders/yahoo.rb' - 'test/test_ipgeocoder.rb' # Offense count: 6 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: snake_case, camelCase Style/VariableName: Enabled: false