diff --git a/opensearch-api/Rakefile b/opensearch-api/Rakefile index c5acb6631..859c1270c 100644 --- a/opensearch-api/Rakefile +++ b/opensearch-api/Rakefile @@ -56,9 +56,9 @@ namespace :test do url = ENV['TEST_CLUSTER_URL'] || ENV['TEST_OPENSEARCH_SERVER'] url = "http://localhost:#{ENV['TEST_CLUSTER_PORT'] || 9200}" unless url client = OpenSearch::Client.new :url => url - es_version_info = client.info['version'] - version_number = es_version_info['number'] - build_hash = es_version_info['build_hash'] + os_version_info = client.info['version'] + version_number = os_version_info['number'] + build_hash = os_version_info['build_hash'] rescue Faraday::ConnectionFailed STDERR.puts "[!] Test cluster not running?" exit 1 diff --git a/opensearch-api/lib/opensearch/api/version.rb b/opensearch-api/lib/opensearch/api/version.rb index f97402d77..469a4db4c 100644 --- a/opensearch-api/lib/opensearch/api/version.rb +++ b/opensearch-api/lib/opensearch/api/version.rb @@ -26,6 +26,6 @@ module OpenSearch module API - VERSION = '2.0.2'.freeze + VERSION = '2.1.0'.freeze end end diff --git a/opensearch/lib/opensearch/version.rb b/opensearch/lib/opensearch/version.rb index 125eca38e..955cbe2fd 100644 --- a/opensearch/lib/opensearch/version.rb +++ b/opensearch/lib/opensearch/version.rb @@ -25,5 +25,5 @@ # under the License. module OpenSearch - VERSION = '2.0.3'.freeze + VERSION = '2.1.0'.freeze end diff --git a/opensearch/opensearch.gemspec b/opensearch/opensearch.gemspec index 448061b21..3675f0230 100644 --- a/opensearch/opensearch.gemspec +++ b/opensearch/opensearch.gemspec @@ -61,8 +61,8 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.4' - s.add_dependency 'opensearch-transport', '~> 2.0.0' - s.add_dependency 'opensearch-api', '2.0.2' + s.add_dependency 'opensearch-transport', '~> 2.0' + s.add_dependency 'opensearch-api', '~> 2.1' s.add_development_dependency 'bundler' s.add_development_dependency 'byebug' unless defined?(JRUBY_VERSION) || defined?(Rubinius)