Skip to content

Commit

Permalink
Replaced opensearch with opensearch-ruby as dev dependency (#129)
Browse files Browse the repository at this point in the history
Solving: https://advisories.aws.barahmand.com/advisory/CVE-2022-31115

Signed-off-by: Theo Truong <[email protected]>

Signed-off-by: Theo Truong <[email protected]>
  • Loading branch information
nhtruong authored Dec 19, 2022
1 parent 9fe275c commit fa350de
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Update the public key ([118](https://github.com/opensearch-project/opensearch-ruby/pull/118))
- Renamed opensearch sigv4 console to avoid conflict with opensearch-ruby when both are installed ([#124](https://github.com/opensearch-project/opensearch-ruby/pull/124))
- Bumped version for dsl and transport gem ([#125](https://github.com/opensearch-project/opensearch-ruby/pull/125))
- Replaced `opensearch` with `opensearch-ruby` as dev dependency ([#128](https://github.com/opensearch-project/opensearch-ruby/issues/128))
### Deprecated

### Removed
Expand Down
4 changes: 2 additions & 2 deletions opensearch-api/opensearch-api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Gem::Specification.new do |s|

s.add_development_dependency 'ansi'
s.add_development_dependency 'bundler'
s.add_development_dependency 'opensearch'
s.add_development_dependency 'opensearch-ruby', '~> 2'
s.add_development_dependency 'opensearch-transport'
s.add_development_dependency 'minitest'
s.add_development_dependency 'minitest-reporters'
Expand All @@ -86,6 +86,6 @@ Gem::Specification.new do |s|
s.add_development_dependency 'ruby-prof' unless defined?(JRUBY_VERSION) || defined?(Rubinius)

s.description = <<-DESC.gsub(/^ /, '')
Ruby API for OpenSearch. See the `opensearch` gem for full integration.
Ruby API for OpenSearch. See the `opensearch-ruby` gem for full integration.
DESC
end
4 changes: 1 addition & 3 deletions opensearch-dsl/opensearch-dsl.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ Gem::Specification.new do |s|

s.add_development_dependency 'bundler'
s.add_development_dependency 'rake', '~> 13'

s.add_development_dependency 'opensearch'

s.add_development_dependency 'opensearch-ruby', '~> 2'
s.add_development_dependency 'cane'
s.add_development_dependency 'minitest', '~> 5'
s.add_development_dependency 'minitest-reporters', '~> 1'
Expand Down
4 changes: 2 additions & 2 deletions opensearch-transport/opensearch-transport.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'bundler'
s.add_development_dependency 'cane'
s.add_development_dependency 'curb' unless defined? JRUBY_VERSION
s.add_development_dependency 'opensearch-ruby'
s.add_development_dependency 'opensearch-ruby', '~> 2'
s.add_development_dependency 'hashie'
s.add_development_dependency 'httpclient'
s.add_development_dependency 'faraday-httpclient'
Expand All @@ -91,6 +91,6 @@ Gem::Specification.new do |s|
s.add_development_dependency 'yard'

s.description = <<-DESC.gsub(/^ /, '')
Ruby client for OpenSearch. See the `opensearch` gem for full integration.
Ruby client for OpenSearch. See the `opensearch-ruby` gem for full integration.
DESC
end

0 comments on commit fa350de

Please sign in to comment.