From ad1f95370aaa58eb77d7947f10973f65c0856c3f Mon Sep 17 00:00:00 2001 From: Gaurav Tiwari Date: Tue, 8 Sep 2026 14:53:56 +0100 Subject: [PATCH] Update development dependencies --- Gemfile | 4 ++-- Gemfile.lock | 12 ++++++------ lib/boring_services/services/haproxy.rb | 3 +-- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Gemfile b/Gemfile index 1a331cc..21cbdfb 100644 --- a/Gemfile +++ b/Gemfile @@ -8,6 +8,6 @@ group :development, :test do gem 'bundler-audit', '~> 0.9', require: false gem 'minitest', '~> 6.0' gem 'rake', '~> 13.4' - gem 'rubocop', '~> 1.89', require: false - gem 'simplecov', '~> 1.1', require: false + gem 'rubocop', '~> 1.90', require: false + gem 'simplecov', '~> 1.2', require: false end diff --git a/Gemfile.lock b/Gemfile.lock index 8b24371..47cf6d4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -31,7 +31,7 @@ GEM net-ssh (>= 5.0.0, < 8.0.0) net-ssh (7.3.3) ostruct (0.6.3) - parallel (2.1.0) + parallel (2.2.0) parser (3.3.12.0) ast (~> 2.4.1) racc @@ -40,8 +40,8 @@ GEM rainbow (3.1.1) rake (13.4.2) regexp_parser (2.12.0) - rubocop (1.89.0) - json (~> 2.3) + rubocop (1.90.0) + json (>= 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) parallel (>= 1.10) @@ -55,7 +55,7 @@ GEM parser (>= 3.3.7.2) prism (~> 1.7) ruby-progressbar (1.13.0) - simplecov (1.1.1) + simplecov (1.2.0) sshkit (1.25.1) base64 logger @@ -85,8 +85,8 @@ DEPENDENCIES bundler-audit (~> 0.9) minitest (~> 6.0) rake (~> 13.4) - rubocop (~> 1.89) - simplecov (~> 1.1) + rubocop (~> 1.90) + simplecov (~> 1.2) RUBY VERSION ruby 4.0.6 diff --git a/lib/boring_services/services/haproxy.rb b/lib/boring_services/services/haproxy.rb index 2d95ea6..166bcc4 100644 --- a/lib/boring_services/services/haproxy.rb +++ b/lib/boring_services/services/haproxy.rb @@ -124,7 +124,7 @@ def validate_config end end - # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength, Metrics/PerceivedComplexity + # rubocop:disable-next Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength, Metrics/PerceivedComplexity def configure_haproxy # Check if custom config template is provided if service_config['custom_config_template'] && File.exist?(service_config['custom_config_template']) @@ -239,7 +239,6 @@ def configure_haproxy execute :sudo, :chown, 'root:root', '/etc/haproxy/haproxy.cfg' execute :sudo, :chmod, '644', '/etc/haproxy/haproxy.cfg' end - # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength, Metrics/PerceivedComplexity def verify_listening_ports puts ' Verifying HAProxy is listening on ports...'