From 246c2a0e55219dcfc21c6a6468fb9cd79cf92118 Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Thu, 25 Jan 2024 23:33:24 +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..fe6ab68 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-25 23:33:23 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 8e58e4d1cf5b36d1101aecdf2a9d0ccbd695b8d6 Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Thu, 25 Jan 2024 23:33:26 +0000 Subject: [PATCH 2/3] :police_car: Style/LineEndConcatenation --- .rubocop_todo.yml | 5 ----- .../document/data_source_registry/registry_renderer.rb | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index fe6ab68..2bdb57d 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -465,11 +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). 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..ec209aa 100644 --- a/lib/excel_templating/document/data_source_registry/registry_renderer.rb +++ b/lib/excel_templating/document/data_source_registry/registry_renderer.rb @@ -10,8 +10,8 @@ def initialize(registry, data) # @return [Hash] Gives back a hash of options which adds the validation options for the symbol 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}" + raise ArgumentError, "#{source_symbol} is not a defined data_source. Defined data sources are " \ + "#{registry.supported_registries}" end registry_info = registry[source_symbol] validation_options_for(registry_info) From 1214f2e4f6a64bdd6518d9cde73ce16a4c04f24d Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Thu, 25 Jan 2024 23:33:29 +0000 Subject: [PATCH 3/3] :police_car: regenerate rubocop todo --- .rubocop_todo.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 2bdb57d..736a4d2 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-25 23:33:23 UTC using RuboCop version 1.60.2. +# on 2024-01-25 23:33:28 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 @@ -111,14 +111,6 @@ Layout/IndentationWidth: Exclude: - 'lib/excel_templating/excel_abstraction/work_book.rb' -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle, IndentationWidth. -# SupportedStyles: aligned, indented -Layout/MultilineOperationIndentation: - Exclude: - - 'lib/excel_templating/document/data_source_registry/registry_renderer.rb' - # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. @@ -465,7 +457,6 @@ Style/IfUnlessModifier: - 'lib/excel_templating/excel_abstraction/work_book.rb' - 'lib/excel_templating/renderer.rb' - # Offense count: 3 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. @@ -534,12 +525,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). Style/RedundantParentheses: