diff --git a/.github/workflows/7.17.yml b/.github/workflows/7.17.yml index e24a85e97d..7cf04c4930 100644 --- a/.github/workflows/7.17.yml +++ b/.github/workflows/7.17.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ '3.0', '3.1', '3.2', 'jruby-9.3', 'jruby-9.4' ] + ruby: [ '3.0', '3.1', '3.2', '3.3', 'jruby-9.3', 'jruby-9.4' ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/elasticsearch-transport/elasticsearch-transport.gemspec b/elasticsearch-transport/elasticsearch-transport.gemspec index 12e10a1172..a8c23780a9 100644 --- a/elasticsearch-transport/elasticsearch-transport.gemspec +++ b/elasticsearch-transport/elasticsearch-transport.gemspec @@ -44,6 +44,7 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.4' + s.add_dependency 'base64' s.add_dependency 'multi_json' s.add_dependency 'faraday', '>= 1', '< 3' diff --git a/elasticsearch/spec/integration/characters_escaping_spec.rb b/elasticsearch/spec/integration/characters_escaping_spec.rb index c53c258bfb..c58e1addf3 100644 --- a/elasticsearch/spec/integration/characters_escaping_spec.rb +++ b/elasticsearch/spec/integration/characters_escaping_spec.rb @@ -14,6 +14,9 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. + +require 'uri' + ELASTICSEARCH_URL = ENV['TEST_ES_SERVER'] || "http://localhost:#{(ENV['PORT'] || 9200)}" raise URI::InvalidURIError unless ELASTICSEARCH_URL =~ /\A#{URI::DEFAULT_PARSER.make_regexp}\z/