Skip to content

Commit

Permalink
Declare base64 gem dependency, ready for Ruby 3.4.
Browse files Browse the repository at this point in the history
The base64 gem is no longer a default gem in Ruby 3.4.

Add base64 to the gemspec, for forward compatibility with Ruby 3.4 and
to resolve the `base64 was loaded from the standard library, but will no
longer be part of the default gems since Ruby 3.4.0` warning that Ruby
3.3 emits on loading client_ruby.

https://docs.ruby-lang.org/en/master/NEWS_md.html#label-Stdlib+updates

Signed-off-by: Chris Banks <[email protected]>
  • Loading branch information
sengi committed May 15, 2024
1 parent 8b177b4 commit ded6d7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prometheus-client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Gem::Specification.new do |s|
s.files = %w(README.md LICENSE) + Dir.glob('{lib/**/*}')
s.require_paths = ['lib']

s.add_dependency 'base64'

s.add_development_dependency 'benchmark-ips'
s.add_development_dependency 'concurrent-ruby'
s.add_development_dependency 'timecop'
Expand Down

0 comments on commit ded6d7b

Please sign in to comment.