Skip to content

Commit 23b57c4

Browse files
committed
Adds base64 dependency
base64 was added to the gemspec, since starting in Ruby 3.4.0, base64 will no longer be part of the default gems and will no longer be in the standard library. base64 is used forAPI key and Cloud ID. The dependency used to be declared in transport, but it's not needed there since the implementation using it is in this codebase.
1 parent 109a971 commit 23b57c4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

elasticsearch/elasticsearch.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Gem::Specification.new do |s|
4848
s.add_dependency 'elastic-transport', '~> 8.3'
4949

5050
s.add_dependency 'elasticsearch-api', '8.12.0'
51+
s.add_dependency 'base64'
5152

5253
s.add_development_dependency 'bundler'
5354
s.add_development_dependency 'byebug' unless defined?(JRUBY_VERSION) || defined?(Rubinius)

elasticsearch/lib/elasticsearch.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
require 'elasticsearch/version'
1919
require 'elastic/transport'
2020
require 'elasticsearch/api'
21+
require 'base64'
2122

2223
module Elasticsearch
2324
NOT_ELASTICSEARCH_WARNING = 'The client noticed that the server is not Elasticsearch and we do not support this unknown product.'.freeze

0 commit comments

Comments
 (0)