Skip to content

Commit fdd413e

Browse files
committed
Add ostruct for ruby-head
1 parent 7eab223 commit fdd413e

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

sentry-opentelemetry/Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ git_source(:github) { |name| "https://github.com/#{name}.git" }
66
# Specify your gem's dependencies in sentry-ruby.gemspec
77
gemspec
88

9+
gem "ostruct" if RUBY_VERSION >= "3.4"
10+
911
gem "opentelemetry-sdk"
1012
gem "opentelemetry-instrumentation-rails"
1113

sentry-resque/Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ git_source(:github) { |name| "https://github.com/#{name}.git" }
55

66
# Specify your gem's dependencies in sentry-ruby.gemspec
77
gemspec
8+
9+
gem "ostruct" if RUBY_VERSION >= "3.4"
10+
811
gem "sentry-ruby", path: "../sentry-ruby"
912

1013
gem "resque-retry", "~> 1.8"

sentry-ruby/Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ rack_version = ENV["RACK_VERSION"]
99
rack_version = "3.0.0" if rack_version.nil?
1010
gem "rack", "~> #{Gem::Version.new(rack_version)}" unless rack_version == "0"
1111

12+
gem "ostruct" if RUBY_VERSION >= "3.4"
13+
1214
redis_rb_version = ENV.fetch("REDIS_RB_VERSION", "5.0")
1315
gem "redis", "~> #{redis_rb_version}"
1416

0 commit comments

Comments
 (0)