Skip to content

Commit

Permalink
fix: Add missing gems for Ruby 3.3 and higher
Browse files Browse the repository at this point in the history
Fixes the following 2 kinds of warnings:

````
lib/instana/backend/host_agent_lookup.rb:4: warning: csv was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add csv to your Gemfile or gemspec.
lib/instana/serverless.rb:4: warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec.
````

Signed-off-by: Ferenc Géczi <[email protected]>
  • Loading branch information
Ferenc- committed Jul 2, 2024
1 parent ec62ee6 commit 53c35cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions instana.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "appraisal"
spec.add_development_dependency "fakefs"

spec.add_runtime_dependency('base64', '>= 0.1')
spec.add_runtime_dependency('concurrent-ruby', '>= 1.1')
spec.add_runtime_dependency('csv', '>= 0.1')
spec.add_runtime_dependency('sys-proctable', '>= 1.2.2')
spec.add_runtime_dependency('oj', '>=3.0.11') unless RUBY_PLATFORM =~ /java/i
end

0 comments on commit 53c35cf

Please sign in to comment.