# This configuration was generated by # `rubocop --auto-gen-config` # on 2018-09-11 09:24:50 +0000 using RuboCop version 0.59.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. Layout/RescueEnsureAlignment: Exclude: - 'lib/restful_resource/associations.rb' # Offense count: 10 Lint/IneffectiveAccessModifier: Exclude: - 'lib/restful_resource/base.rb' # Offense count: 1 Lint/Loop: Exclude: - 'lib/restful_resource/base.rb' # Offense count: 2 Lint/ParenthesesAsGroupedExpression: Exclude: - 'spec/restful_resource/base_spec.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/restful_resource/redirections.rb' # Offense count: 3 # Configuration parameters: ContextCreatingMethods, MethodCreatingMethods. Lint/UselessAccessModifier: Exclude: - 'lib/restful_resource/base.rb' - 'lib/restful_resource/redirections.rb' # Offense count: 5 Lint/UselessAssignment: Exclude: - 'lib/restful_resource/rails_validations.rb' - 'lib/restful_resource/redirections.rb' - 'spec/restful_resource/base_spec.rb' - 'spec/restful_resource/redirections_spec.rb' # Offense count: 8 Metrics/AbcSize: Max: 101 # Offense count: 1 # Configuration parameters: CountComments, ExcludedMethods. # ExcludedMethods: refine Metrics/BlockLength: Max: 27 # Offense count: 2 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 162 # Offense count: 2 Metrics/CyclomaticComplexity: Max: 13 # Offense count: 42 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 201 # Offense count: 10 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 56 # Offense count: 8 # Configuration parameters: CountKeywordArgs. Metrics/ParameterLists: Max: 10 # Offense count: 1 Metrics/PerceivedComplexity: Max: 8 # Offense count: 2 # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros. # NamePrefix: is_, has_, have_ # NamePrefixBlacklist: is_, has_, have_ # NameWhitelist: is_a? # MethodDefinitionMacros: define_method, define_singleton_method Naming/PredicateName: Exclude: - 'spec/**/*' - 'lib/restful_resource/associations.rb' # Offense count: 14 # Configuration parameters: Prefixes. # Prefixes: when, with, without RSpec/ContextWording: Exclude: - 'spec/restful_resource/http_client_configuration_spec.rb' - 'spec/restful_resource/rails_validations_spec.rb' - 'spec/restful_resource/request_spec.rb' # Offense count: 1 RSpec/DescribeMethod: Exclude: - 'spec/restful_resource/base_authorization_spec.rb' # Offense count: 19 # Configuration parameters: Max. RSpec/ExampleLength: Exclude: - 'spec/restful_resource/base_spec.rb' - 'spec/restful_resource/http_client_configuration_spec.rb' - 'spec/restful_resource/http_client_spec.rb' - 'spec/restful_resource/open_object_spec.rb' - 'spec/restful_resource/rails_validations_spec.rb' - 'spec/restful_resource/redirections_spec.rb' # Offense count: 53 # Configuration parameters: AssignmentOnly. RSpec/InstanceVariable: Exclude: - 'spec/restful_resource/associations_spec.rb' - 'spec/restful_resource/base_spec.rb' - 'spec/restful_resource/http_client_configuration_spec.rb' - 'spec/restful_resource/rails_validations_spec.rb' - 'spec/restful_resource/redirections_spec.rb' # Offense count: 14 # Configuration parameters: EnforcedStyle. # SupportedStyles: have_received, receive RSpec/MessageSpies: Exclude: - 'spec/restful_resource/base_spec.rb' - 'spec/restful_resource/redirections_spec.rb' - 'spec/spec_helper.rb' # Offense count: 22 # Configuration parameters: AggregateFailuresByDefault. RSpec/MultipleExpectations: Max: 7 # Offense count: 6 RSpec/NamedSubject: Exclude: - 'spec/restful_resource/redirections_spec.rb' # Offense count: 10 RSpec/NestedGroups: Max: 5 # Offense count: 2 RSpec/RepeatedDescription: Exclude: - 'spec/restful_resource/base_spec.rb' # Offense count: 3 # Configuration parameters: IgnoreSymbolicNames. RSpec/VerifiedDoubles: Exclude: - 'spec/restful_resource/base_spec.rb' - 'spec/restful_resource/rails_validations_spec.rb' - 'spec/restful_resource/redirections_spec.rb' # Offense count: 1 # Configuration parameters: AllowedChars. Style/AsciiComments: Exclude: - 'lib/restful_resource/instrumentation.rb' # Offense count: 1 Style/MethodMissingSuper: Exclude: - 'lib/restful_resource/open_object.rb' # Offense count: 1 Style/MissingRespondToMissing: Exclude: - 'lib/restful_resource/open_object.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, AllowInnerSlashes. # SupportedStyles: slashes, percent_r, mixed Style/RegexpLiteral: Exclude: - 'lib/restful_resource/base.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/restful_resource/base.rb'