resolve Ruby 4 warnings, closes #2008#2034
Open
ajwann wants to merge 1 commit intoopen-telemetry:mainfrom
Open
resolve Ruby 4 warnings, closes #2008#2034ajwann wants to merge 1 commit intoopen-telemetry:mainfrom
ajwann wants to merge 1 commit intoopen-telemetry:mainfrom
Conversation
|
|
ajwann
commented
Feb 3, 2026
|
|
||
| spec.add_development_dependency 'minitest', '~> 5.0' | ||
| spec.add_development_dependency 'opentelemetry-test-helpers' | ||
| spec.add_development_dependency 'ostruct' |
Author
There was a problem hiding this comment.
Not every gemspec needed the ostruct dependency added, but for the ones that did, I placed it in alphabetical order to keep things tidy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey @arielvalentin! I saw #2008 and thought it was a good opportunity for a first time contributor.
Here's a summary of changes:
warning: ostruct used to be loaded from the standard library, but is not part of the default gems since Ruby 4.0.0..ostruct.warning: CGI library is removed from Ruby 4.0. Please use cgi/escape instead for CGI.escape and CGI.unescape features.text_map_propagator.rbfile fromcgitocgi/escape.loggerto gemspec for several gems.