Skip to content

Commit ded6d7b

Browse files
committed
Declare base64 gem dependency, ready for Ruby 3.4.
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]>
1 parent 8b177b4 commit ded6d7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

prometheus-client.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Gem::Specification.new do |s|
1515
s.files = %w(README.md LICENSE) + Dir.glob('{lib/**/*}')
1616
s.require_paths = ['lib']
1717

18+
s.add_dependency 'base64'
19+
1820
s.add_development_dependency 'benchmark-ips'
1921
s.add_development_dependency 'concurrent-ruby'
2022
s.add_development_dependency 'timecop'

0 commit comments

Comments
 (0)