From d78b613ed4a49d190082bcea485863e2066946c6 Mon Sep 17 00:00:00 2001 From: Gerjan Date: Mon, 16 Sep 2024 17:17:26 +0200 Subject: [PATCH] Add ostruct as dependency to gemspec This should silence warnings like: ``` .../ruby/3.3.0/gems/config-5.5.1/lib/config/options.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.00:03 You can add ostruct to your Gemfile or gemspec to silence this warning. ``` See https://github.com/ruby/ruby/pull/10428 for more information. --- config.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/config.gemspec b/config.gemspec index 3d59e769..dfb0c2dc 100644 --- a/config.gemspec +++ b/config.gemspec @@ -28,6 +28,7 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.6.0' s.add_dependency 'deep_merge', '~> 1.2', '>= 1.2.1' + s.add_dependency 'ostruct' s.add_development_dependency 'dry-validation', *Config::DryValidationRequirements::VERSIONS s.add_development_dependency 'rake', '~> 12.0', '>= 12.0.0'