From e099479835d2e2353242f8d463a4da64ce86f1ab Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Tue, 30 Jan 2024 23:34:06 +0000 Subject: [PATCH 1/3] :police_car: regenerate rubocop todo --- .rubocop_todo.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 6127c6a..40f7e4e 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --exclude-limit 180` -# on 2024-01-16 23:33:30 UTC using RuboCop version 1.60.0. +# on 2024-01-30 23:34:04 UTC using RuboCop version 1.60.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 @@ -291,16 +291,6 @@ Style/Alias: - 'lib/excel_templating/excel_abstraction/cell_range.rb' - 'lib/excel_templating/excel_abstraction/row.rb' -# Offense count: 2 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: AllowOnlyRestArgument, UseAnonymousForwarding, RedundantRestArgumentNames, RedundantKeywordRestArgumentNames, RedundantBlockArgumentNames. -# RedundantRestArgumentNames: args, arguments -# RedundantKeywordRestArgumentNames: kwargs, options, opts -# RedundantBlockArgumentNames: blk, block, proc -Style/ArgumentsForwarding: - Exclude: - - 'lib/excel_templating/document.rb' - # Offense count: 7 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods. From 91557a5c95ca0410ab6580281fe6abf5728a150e Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Tue, 30 Jan 2024 23:34:07 +0000 Subject: [PATCH 2/3] :police_car: Style/RedundantInterpolation --- .rubocop_todo.yml | 5 ----- .../document/data_source_registry/registry_renderer.rb | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 40f7e4e..e6abf0b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -539,11 +539,6 @@ Style/RedundantFilterChain: Exclude: - 'lib/excel_templating/document/data_source_registry.rb' -# Offense count: 1 -# This cop supports unsafe autocorrection (--autocorrect-all). -Style/RedundantInterpolation: - Exclude: - - 'lib/excel_templating/document/data_source_registry/registry_renderer.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). diff --git a/lib/excel_templating/document/data_source_registry/registry_renderer.rb b/lib/excel_templating/document/data_source_registry/registry_renderer.rb index ff7a02d..ca62bfc 100644 --- a/lib/excel_templating/document/data_source_registry/registry_renderer.rb +++ b/lib/excel_templating/document/data_source_registry/registry_renderer.rb @@ -11,7 +11,7 @@ def initialize(registry, data) def absolute_reference_for(source_symbol) unless registry.has_registry?(source_symbol) raise ArgumentError, "#{source_symbol} is not a defined data_source. Defined data sources are " + - "#{registry.supported_registries}" + registry.supported_registries.to_s end registry_info = registry[source_symbol] validation_options_for(registry_info) From c101f792d4bfea0934f4ea89a948fbb3a015f03f Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Tue, 30 Jan 2024 23:34:11 +0000 Subject: [PATCH 3/3] :police_car: regenerate rubocop todo --- .rubocop_todo.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index e6abf0b..af47f24 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --exclude-limit 180` -# on 2024-01-30 23:34:04 UTC using RuboCop version 1.60.2. +# on 2024-01-30 23:34:10 UTC using RuboCop version 1.60.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 @@ -465,12 +465,6 @@ Style/IfUnlessModifier: - 'lib/excel_templating/excel_abstraction/work_book.rb' - 'lib/excel_templating/renderer.rb' -# Offense count: 1 -# This cop supports unsafe autocorrection (--autocorrect-all). -Style/LineEndConcatenation: - Exclude: - - 'lib/excel_templating/document/data_source_registry/registry_renderer.rb' - # Offense count: 3 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. @@ -539,7 +533,6 @@ Style/RedundantFilterChain: Exclude: - 'lib/excel_templating/document/data_source_registry.rb' - # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/RedundantParentheses: