Skip to content

Commit

Permalink
Add ostruct for ruby-head
Browse files Browse the repository at this point in the history
  • Loading branch information
solnic committed Jan 16, 2025
1 parent 7eab223 commit fdd413e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sentry-opentelemetry/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ git_source(:github) { |name| "https://github.com/#{name}.git" }
# Specify your gem's dependencies in sentry-ruby.gemspec
gemspec

gem "ostruct" if RUBY_VERSION >= "3.4"

gem "opentelemetry-sdk"
gem "opentelemetry-instrumentation-rails"

Expand Down
3 changes: 3 additions & 0 deletions sentry-resque/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ git_source(:github) { |name| "https://github.com/#{name}.git" }

# Specify your gem's dependencies in sentry-ruby.gemspec
gemspec

gem "ostruct" if RUBY_VERSION >= "3.4"

gem "sentry-ruby", path: "../sentry-ruby"

gem "resque-retry", "~> 1.8"
Expand Down
2 changes: 2 additions & 0 deletions sentry-ruby/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ rack_version = ENV["RACK_VERSION"]
rack_version = "3.0.0" if rack_version.nil?
gem "rack", "~> #{Gem::Version.new(rack_version)}" unless rack_version == "0"

gem "ostruct" if RUBY_VERSION >= "3.4"

redis_rb_version = ENV.fetch("REDIS_RB_VERSION", "5.0")
gem "redis", "~> #{redis_rb_version}"

Expand Down

0 comments on commit fdd413e

Please sign in to comment.