From 10de5fd1b9faddbf5a2f4a1debe2624bf7515b58 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Sat, 11 Jan 2025 17:58:13 +0800 Subject: [PATCH] chore: rubocop --- .rubocop_todo.yml | 10 +++++++++- Gemfile | 7 ++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index e5fca72..4f867e3 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2025-01-06 00:55:21 UTC using RuboCop version 1.69.2. +# on 2025-01-11 09:57:45 UTC using RuboCop version 1.70.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 @@ -16,3 +16,11 @@ Metrics/BlockLength: # Configuration parameters: AllowedConstants. Style/Documentation: Enabled: false + +# Offense count: 9 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. +# SupportedStyles: single_quotes, double_quotes +Style/StringLiterals: + Exclude: + - 'Gemfile' diff --git a/Gemfile b/Gemfile index 0f29868..11c9e5e 100644 --- a/Gemfile +++ b/Gemfile @@ -5,8 +5,9 @@ source 'https://rubygems.org' # Specify your gem's dependencies in metaschema.gemspec gemspec +gem 'nokogiri' gem 'rake', '~> 13.0' - gem 'rspec', '~> 3.0' - -gem 'rubocop', '~> 1.21' +gem 'rubocop' +gem 'rubocop-performance' +gem 'xml-c14n'