From 0577bb8dde0dbf338e6daba7248778bdaa76bf65 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Fri, 3 May 2024 17:59:07 +0200 Subject: [PATCH 1/2] Add missing namespace in mixed namespaces example with overrides This XML was accepted by Nokogiri on CRuby, but not on JRuby, due to the missing namespace called 'different'. --- spec/features/mixed_namespaces_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/features/mixed_namespaces_spec.rb b/spec/features/mixed_namespaces_spec.rb index cee5b2a..903fde6 100644 --- a/spec/features/mixed_namespaces_spec.rb +++ b/spec/features/mixed_namespaces_spec.rb @@ -80,7 +80,8 @@ class RootCollision <<~XML
+ xmlns:override="http://override.com/breaks" + xmlns:different="http://www.trollcountry.com/different"> Milchstrasse Another Street 23 From 020c34d9c09437d82b807ee07e2370a9b7fdbd9b Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Fri, 3 May 2024 18:50:32 +0200 Subject: [PATCH 2/2] Regenerate RuboCop to-do file --- .rubocop_todo.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index b93c29e..72d0da3 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp` -# using RuboCop version 1.54.2. +# using RuboCop version 1.63.4. # 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 @@ -14,7 +14,7 @@ Lint/EmptyClass: # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. Metrics/AbcSize: - Max: 42 + Max: 43 # Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/CyclomaticComplexity: