From b1839ce8a7822f04cfa41e1fe4fd952455c08bdb Mon Sep 17 00:00:00 2001 From: Leo Arnold Date: Thu, 31 Oct 2024 11:14:52 +0100 Subject: [PATCH] Remove unnecessary import of ostruct This line is not needed and triggers the error message ``` 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. ``` --- ruby_event_store/lib/ruby_event_store/in_memory_repository.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/ruby_event_store/lib/ruby_event_store/in_memory_repository.rb b/ruby_event_store/lib/ruby_event_store/in_memory_repository.rb index 3549d23373..b0ac675c23 100644 --- a/ruby_event_store/lib/ruby_event_store/in_memory_repository.rb +++ b/ruby_event_store/lib/ruby_event_store/in_memory_repository.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true -require "ostruct" module RubyEventStore class InMemoryRepository class UnsupportedVersionAnyUsage < StandardError