From bffaedc604bddf0f12bc51448ae33de85d6883e8 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Mon, 13 Oct 2025 08:50:55 -0400 Subject: [PATCH] dep: Add indirect dependency "benchmark" to quash Ruby 3.5 warnings ``` gems/sniffer-0.5.0/lib/sniffer/adapters/net_http_adapter.rb:4: warning: lib/ruby/3.4.0/benchmark.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add benchmark to your Gemfile or gemspec to silence this warning. Also please contact the author of sniffer-0.5.0 to request adding benchmark into its gemspec. ``` Sadly it looks like sniffer is not really maintained, so I'm adding this here for now. --- Gemfile | 1 + Gemfile.lock | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index ac8f14fa3..083d72afd 100644 --- a/Gemfile +++ b/Gemfile @@ -50,6 +50,7 @@ gem "yabeda-rails" gem "webrick" # required for yabeda-prometheus metrics server gem "prometheus-client-mmap", "~> 1.1" gem "autotuner" +gem "benchmark" # indirect dependency, being removed from Ruby 3.5 stdlib so here to quash warnings # AI gem "ruby_llm", git: "https://github.com/crmne/ruby_llm.git" diff --git a/Gemfile.lock b/Gemfile.lock index c60db773f..d0c656f0d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -193,6 +193,7 @@ GEM base64 (0.3.0) bcrypt (3.1.20) bcrypt_pbkdf (1.1.1) + benchmark (0.4.1) bigdecimal (3.3.1) bootsnap (1.18.6) msgpack (~> 1.2) @@ -616,6 +617,7 @@ DEPENDENCIES autotuner aws-sdk-s3 bcrypt (~> 3.1.7) + benchmark bootsnap brakeman bundler-audit