From ae64ffd9c6be5b5ac2bdcc214287bcbf251a77de Mon Sep 17 00:00:00 2001 From: shmokmt <32533860+shmokmt@users.noreply.github.com> Date: Wed, 27 Dec 2023 13:30:29 +0900 Subject: [PATCH 1/2] Added base64 to gemspec, which will no longer be the default gem in Ruby 3.4 https://bugs.ruby-lang.org/issues/19351 Signed-off-by: shmokmt <32533860+shmokmt@users.noreply.github.com> --- CHANGELOG.md | 1 + opensearch-ruby.gemspec | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a622c4a00..f21165622 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] ### Added +- Added base64 gem to gemspec (#218)[https://github.com/opensearch-project/opensearch-ruby/pull/218] ### Changed ### Deprecated ### Removed diff --git a/opensearch-ruby.gemspec b/opensearch-ruby.gemspec index f86f69800..51d891e4d 100644 --- a/opensearch-ruby.gemspec +++ b/opensearch-ruby.gemspec @@ -66,4 +66,5 @@ Gem::Specification.new do |s| s.add_dependency 'faraday', '>= 1.0', '< 3' s.add_dependency 'multi_json', '>= 1.0' + s.add_dependency 'base64' end From 4ec2e8ed0720cbb2a836cb554403e4235fab5811 Mon Sep 17 00:00:00 2001 From: shmokmt <32533860+shmokmt@users.noreply.github.com> Date: Thu, 28 Dec 2023 10:07:35 +0900 Subject: [PATCH 2/2] Fixed Gemspec/OrderedDependencies Signed-off-by: shmokmt <32533860+shmokmt@users.noreply.github.com> --- opensearch-ruby.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensearch-ruby.gemspec b/opensearch-ruby.gemspec index 51d891e4d..ab1f9a1c1 100644 --- a/opensearch-ruby.gemspec +++ b/opensearch-ruby.gemspec @@ -64,7 +64,7 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.5' + s.add_dependency 'base64' s.add_dependency 'faraday', '>= 1.0', '< 3' s.add_dependency 'multi_json', '>= 1.0' - s.add_dependency 'base64' end