# This configuration was generated by # `rubocop --auto-gen-config` # on 2018-07-29 15:51:51 +0800 using RuboCop version 0.58.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 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only Layout/EmptyLinesAroundClassBody: Exclude: # - 'lib/itexmo/message.rb' # - 'lib/itexmo/response_helper.rb' # - 'lib/itexmo/service.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity. # SupportedStylesAlignWith: keyword, variable, start_of_line Layout/EndAlignment: Exclude: # - 'lib/itexmo/configuration.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: # - 'itexmo.gemspec' # Offense count: 158 # Cop supports --auto-correct. # Configuration parameters: Width, IgnoredPatterns. Layout/IndentationWidth: Exclude: # - 'lib/itexmo/configuration.rb' # - 'lib/itexmo/errors/authentication.rb' # - 'lib/itexmo/errors/bad_request.rb' # - 'lib/itexmo/errors/configuration.rb' # - 'lib/itexmo/message.rb' # - 'lib/itexmo/response_helper.rb' # - 'lib/itexmo/service.rb' # - 'lib/itexmo/sms.rb' # - 'spec/itextmo/message_spec.rb' # - 'spec/itextmo/response_helper_spec.rb' # - 'spec/itextmo/service_spec.rb' # - 'spec/itextmo/sms_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Layout/LeadingBlankLines: Exclude: # - 'itexmo.gemspec' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceAroundEqualsInParameterDefault: Exclude: # - 'lib/itexmo/message.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Layout/SpaceAroundOperators: Exclude: # - 'itexmo.gemspec' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideBlockBraces: Exclude: # - 'Gemfile' # - 'spec/itextmo/message_spec.rb' # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space, compact # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideHashLiteralBraces: Exclude: # - 'lib/itexmo/message.rb' # - 'spec/itextmo/service_spec.rb' # Offense count: 11 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: final_newline, final_blank_line Layout/TrailingBlankLines: Exclude: # - 'Gemfile' # - 'lib/itexmo/errors/authentication.rb' # - 'lib/itexmo/errors/bad_request.rb' # - 'lib/itexmo/errors/configuration.rb' # - 'lib/itexmo/message.rb' # - 'lib/itexmo/response_helper.rb' # - 'lib/itexmo/service.rb' # - 'spec/itextmo/message_spec.rb' # - 'spec/itextmo/response_helper_spec.rb' # - 'spec/itextmo/service_spec.rb' # - 'spec/itextmo/sms_spec.rb' # Offense count: 21 # Cop supports --auto-correct. # Configuration parameters: AllowInHeredoc. Layout/TrailingWhitespace: Exclude: # - 'lib/generators/itexmo/templates/itexmo_initializer.rb' # - 'lib/itexmo/configuration.rb' # - 'lib/itexmo/message.rb' # - 'lib/itexmo/response_helper.rb' # - 'lib/itexmo/service.rb' # - 'lib/itexmo/sms.rb' # - 'spec/itextmo/message_spec.rb' # - 'spec/itextmo/response_helper_spec.rb' # - 'spec/itextmo/service_spec.rb' # - 'spec/itextmo/sms_spec.rb' # Offense count: 1 Lint/DuplicateMethods: Exclude: - 'lib/itexmo.rb' # Offense count: 1 Metrics/AbcSize: Max: 20 # Offense count: 4 # Configuration parameters: CountComments, ExcludedMethods. # ExcludedMethods: refine Metrics/BlockLength: Max: 91 # Offense count: 2 Metrics/CyclomaticComplexity: Max: 15 # Offense count: 2 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 33 # Offense count: 4 Style/Documentation: Exclude: # - 'spec/**/*' # - 'test/**/*' # - 'lib/itexmo/message.rb' # - 'lib/itexmo/response_helper.rb' # - 'lib/itexmo/service.rb' # - 'lib/itexmo/sms.rb' # Offense count: 1 # Cop supports --auto-correct. Style/ExpandPathArguments: Exclude: # - 'itexmo.gemspec' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys Style/HashSyntax: Exclude: # - 'Rakefile' # Offense count: 6 # Cop supports --auto-correct. Style/MutableConstant: Exclude: - 'lib/itexmo/message.rb' # - 'lib/itexmo/service.rb' - 'lib/itexmo/sms.rb' # - 'lib/itexmo/version.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: # - 'itexmo.gemspec' # Offense count: 26 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: # - 'Gemfile' # - 'Rakefile' # - 'bin/console' # - 'itexmo.gemspec' # - 'lib/itexmo/message.rb' # - 'spec/itexmo_spec.rb' # - 'spec/itextmo/sms_spec.rb' # - 'spec/spec_helper.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/itexmo/configuration.rb' # Offense count: 2 # Cop supports --auto-correct. Style/UnneededPercentQ: Exclude: # - 'itexmo.gemspec' # Offense count: 46 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 226