From 2a36077a835f5b31f46ac0947b58634adfdd4a46 Mon Sep 17 00:00:00 2001 From: Taketo Takashima Date: Sat, 7 Sep 2024 00:58:45 +0900 Subject: [PATCH] Add dependency of ostruct gem, to fix warning of ostruct was loaded Update CHANGELOG --- CHANGELOG.md | 4 ++++ config.gemspec | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e75c941f..5151fb98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Unreleased + +* Fix warning: ostruct was loaded from the standard library ([#363](https://github.com/rubyconfig/config/pull/363)) + ## 5.5.1 ### Documentation 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'