From 37197594e64f85cc87322ae8ce16096258bd2c2e Mon Sep 17 00:00:00 2001 From: Lars Kanis Date: Sat, 20 Jul 2024 16:37:54 +0200 Subject: [PATCH] Add ostruct as a development gem as a preparation for ruby-3.5 Warning was: Rakefile.cross:9: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0. Add ostruct to your Gemfile or gemspec. --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index 210afe2e..6d171b4a 100644 --- a/Gemfile +++ b/Gemfile @@ -11,6 +11,7 @@ group :development, :test do gem "rake-compiler-dock", "~> 1.0" gem "rdoc", "~> 6.4" gem "rspec", "~> 3.5" + gem "ostruct", "~> 0.5" # for Rakefile.cross # "bigdecimal" is a gem on ruby-3.4+ and it's optional for ruby-pg. # Specs should succeed without it, but 4 examples are then excluded. # gem "bigdecimal", "~> 3.0"