From d7c34188cd8a9eec68df9b19435d1bb8603df8f1 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Wed, 24 Jan 2024 10:06:25 -0600 Subject: [PATCH] Update rubocop --- .rubocop.yml | 3 +++ CHANGELOG.md | 1 + Gemfile.lock | 32 +++++++++++++++++++------------- 3 files changed, 23 insertions(+), 13 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index b99cf5e..0e0a4be 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -16,6 +16,9 @@ Layout/LineLength: Metrics/ClassLength: Enabled: false +Style/FetchEnvVar: + Enabled: false + Style/StringLiterals: Enabled: false diff --git a/CHANGELOG.md b/CHANGELOG.md index a369b29..0c421f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## Next * Add key setup to v3 example in README * Remove unnecessary id from textarea - This was unused and may cause accessability concerns if there is more than one recaptcha on the page due to multiple elements with the same id +* Update to latest version of rubocop ## 5.16.0 * Allow usage of `options[:turbo]` as well as `options[:turbolinks]` for `recaptcha_v3` diff --git a/Gemfile.lock b/Gemfile.lock index f0be2ba..64cad7c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -18,6 +18,8 @@ GEM hashdiff (0.3.9) i18n (1.6.0) concurrent-ruby (~> 1.0) + json (2.7.1) + language_server-protocol (3.17.0.3) maxitest (3.1.0) minitest (>= 5.0.0, < 5.12.0) metaclass (0.0.4) @@ -25,9 +27,10 @@ GEM minitest (5.11.3) mocha (1.8.0) metaclass (~> 0.0.1) - parallel (1.22.1) - parser (3.1.2.0) + parallel (1.24.0) + parser (3.3.0.5) ast (~> 2.4.1) + racc pry (0.12.2) coderay (~> 1.1.0) method_source (~> 0.9.0) @@ -35,24 +38,27 @@ GEM byebug (~> 11.0) pry (~> 0.10) public_suffix (3.0.3) + racc (1.7.3) rainbow (3.1.1) rake (12.3.2) - regexp_parser (2.3.0) - rexml (3.2.5) - rubocop (1.27.0) + regexp_parser (2.9.0) + rexml (3.2.6) + rubocop (1.60.2) + json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.1.0.0) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) - rexml - rubocop-ast (>= 1.16.0, < 2.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.17.0) - parser (>= 3.1.1.0) - ruby-progressbar (1.11.0) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) + ruby-progressbar (1.13.0) safe_yaml (1.0.5) - unicode-display_width (2.1.0) + unicode-display_width (2.5.0) webmock (3.5.1) addressable (>= 2.3.6) crack (>= 0.3.2)