Update rubocop todo lists with payment_methods_controler exceptions

This commit is contained in:
luisramos0
2019-11-08 17:05:51 +00:00
parent 314ecf6d90
commit 05ddebd78e
2 changed files with 8 additions and 6 deletions

View File

@@ -729,6 +729,7 @@ Metrics/ModuleLength:
- spec/controllers/admin/order_cycles_controller_spec.rb
- spec/controllers/api/order_cycles_controller_spec.rb
- spec/controllers/api/orders_controller_spec.rb
- spec/controllers/spree/admin/payment_methods_controller_spec.rb
- spec/controllers/spree/api/products_controller_spec.rb
- spec/lib/open_food_network/address_finder_spec.rb
- spec/lib/open_food_network/customers_report_spec.rb

View File

@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 1400`
# on 2019-11-08 19:04:56 +1100 using RuboCop version 0.68.1.
# on 2019-11-08 17:02:54 +0000 using RuboCop version 0.68.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
@@ -41,7 +41,7 @@ Layout/DefEndAlignment:
Exclude:
- 'app/models/order_updater.rb'
# Offense count: 233
# Offense count: 234
# Cop supports --auto-correct.
Layout/EmptyLineAfterGuardClause:
Exclude:
@@ -63,7 +63,7 @@ Layout/EmptyLineAfterGuardClause:
- 'app/controllers/spree/admin/general_settings_controller.rb'
- 'app/controllers/spree/admin/mail_methods_controller.rb'
- 'app/controllers/spree/admin/orders/customer_details_controller_decorator.rb'
- 'app/controllers/spree/admin/payment_methods_controller_decorator.rb'
- 'app/controllers/spree/admin/payment_methods_controller.rb'
- 'app/controllers/spree/admin/products_controller_decorator.rb'
- 'app/controllers/spree/admin/shipping_methods_controller.rb'
- 'app/controllers/spree/admin/users_controller.rb'
@@ -315,9 +315,10 @@ Lint/Void:
Exclude:
- 'app/serializers/api/enterprise_serializer.rb'
# Offense count: 2
Metrics/AbcSize:
Max: 16
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 141
# Offense count: 8
Naming/AccessorMethodName: