Skip to content

Commit

Permalink
Add dependency on ostruct
Browse files Browse the repository at this point in the history
Ruby 3.4 moves OpenStruct to a bundled gem Ruby 3.5 will raise errors

e.g. rails/rails#51468
  • Loading branch information
errm committed Aug 8, 2024
1 parent 5fac810 commit abd1ba1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/streamy/event_handler.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require "active_support/core_ext/hash/indifferent_access"
require "ostruct"

module Streamy
class EventHandler
Expand Down
1 change: 1 addition & 0 deletions streamy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,5 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
spec.add_dependency "avro_turf", "~> 1.3.0"
spec.add_dependency "waterdrop", ">= 2.4.10", "< 3.0.0"
spec.add_dependency "webmock", "~> 3.3"
spec.add_dependency "ostruct"
end
1 change: 1 addition & 0 deletions test/avro_deserializer_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require "test_helper"
require "avro_turf/test/fake_confluent_schema_registry_server"
require "webmock/minitest"
require "ostruct"

module Streamy
class AvroDeserializerTest < Minitest::Test
Expand Down

0 comments on commit abd1ba1

Please sign in to comment.