From cc5fe52de5758c5a36434ad2159289f24d6b8c50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 9 Jan 2025 17:23:30 +0100 Subject: [PATCH] Add dependency on ostruct To fix the following warning when using Ruby 3.4: > /path/to/ruby/3.4.0/gems/servolux-0.13.0/lib/servolux/daemon.rb:1: warning: ostruct 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 ostruct to your Gemfile or gemspec to silence this warning. --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 697f4b4..d2595ba 100644 --- a/Rakefile +++ b/Rakefile @@ -22,6 +22,7 @@ Bones { spec.opts << '--color' << '--format documentation' + depend_on 'ostruct' depend_on 'bones-rspec', '~> 2.0', :development => true depend_on 'bones-git', '~> 1.3', :development => true depend_on 'logging', '~> 2.0', :development => true