elastic-enterprise-search 8.9.0 → 8.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.buildkite/pipeline.yml +4 -4
- data/.ci/make.sh +1 -23
- data/.github/workflows/license.yml +2 -2
- data/.github/workflows/rubocop.yml +2 -2
- data/.github/workflows/testing.yml +5 -4
- data/CHANGELOG +22 -1
- data/README.md +11 -0
- data/catalog-info.yaml +19 -0
- data/docs/guide/app-search-api.asciidoc +4 -2
- data/docs/guide/release_notes/818.asciidoc +19 -0
- data/docs/guide/release_notes/819.asciidoc +22 -0
- data/docs/guide/release_notes/index.asciidoc +4 -0
- data/elastic-enterprise-search.gemspec +16 -2
- data/lib/elastic/enterprise-search/version.rb +1 -1
- data/spec/integration/workplace-search/external_identities_spec.rb +1 -1
- metadata +39 -15
- data/.ci/Dockerfile +0 -25
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4878bae1e0ab42837d33e39cacbf6d8333bf309b0baa2beb8794d047be47aba
|
|
4
|
+
data.tar.gz: '085062e00031f667cb9c741a14331118547731e19126dec7bffecc7792fdd1e5'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59ca805f6240617cc671ff352f596275cbcdd59205019ccd682f3da638e84cfb94177afafc0f368d9ddfbe87ed7a60324d9786bd1ffaa27c773115dce784c800
|
|
7
|
+
data.tar.gz: e010a3c5ae7dcc8139b58fed07252752ac2870bc6d5fe369ca3a27ad1a006ac0c822ca00621af22455fa5cb7a1a078f7e724d27e32916ad57a397c024c108a83
|
data/.buildkite/pipeline.yml
CHANGED
|
@@ -4,13 +4,13 @@ steps:
|
|
|
4
4
|
provider: "gcp"
|
|
5
5
|
env:
|
|
6
6
|
RUBY_VERSION: "{{ matrix.ruby }}"
|
|
7
|
-
STACK_VERSION: 8.
|
|
7
|
+
STACK_VERSION: 8.19.16-SNAPSHOT
|
|
8
8
|
matrix:
|
|
9
9
|
setup:
|
|
10
10
|
ruby:
|
|
11
|
-
- "
|
|
12
|
-
- "3.
|
|
13
|
-
- "3.
|
|
11
|
+
- "4.0"
|
|
12
|
+
- "3.4"
|
|
13
|
+
- "3.3"
|
|
14
14
|
command: ./.buildkite/run-tests.sh
|
|
15
15
|
artifact_paths: "tmp/*"
|
|
16
16
|
- wait: ~
|
data/.ci/make.sh
CHANGED
|
@@ -55,15 +55,6 @@ case $CMD in
|
|
|
55
55
|
echo -e "\033[32;1mdone.\033[0m"
|
|
56
56
|
exit 0
|
|
57
57
|
;;
|
|
58
|
-
assemble)
|
|
59
|
-
if [ -v $VERSION ]; then
|
|
60
|
-
echo -e "\033[31;1mTARGET: assemble -> missing version parameter\033[0m"
|
|
61
|
-
exit 1
|
|
62
|
-
fi
|
|
63
|
-
echo -e "\033[36;1mTARGET: assemble artefact $VERSION\033[0m"
|
|
64
|
-
TASK=assemble
|
|
65
|
-
TASK_ARGS=("$VERSION" "$output_folder")
|
|
66
|
-
;;
|
|
67
58
|
codegen)
|
|
68
59
|
if [ -v $VERSION ]; then
|
|
69
60
|
echo -e "\033[31;1mTARGET: codegen -> missing version parameter\033[0m"
|
|
@@ -112,11 +103,7 @@ esac
|
|
|
112
103
|
|
|
113
104
|
echo -e "\033[34;1mINFO: building $product container\033[0m"
|
|
114
105
|
|
|
115
|
-
docker build --file .
|
|
116
|
-
--build-arg BUILDER_UID="$(id -u)" \
|
|
117
|
-
--build-arg USER_ID="$(id -u)" \
|
|
118
|
-
--build-arg GROUP_ID="$(id -g)" .
|
|
119
|
-
|
|
106
|
+
docker build --file .buildkite/Dockerfile --tag ${product}
|
|
120
107
|
|
|
121
108
|
# ------------------------------------------------------- #
|
|
122
109
|
# Run the Container
|
|
@@ -142,15 +129,6 @@ docker run \
|
|
|
142
129
|
# Post Command tasks & checks
|
|
143
130
|
# ------------------------------------------------------- #
|
|
144
131
|
|
|
145
|
-
if [[ "$CMD" == "assemble" ]]; then
|
|
146
|
-
if compgen -G ".ci/output/*" > /dev/null; then
|
|
147
|
-
echo -e "\033[32;1mTARGET: successfully assembled client v$VERSION\033[0m"
|
|
148
|
-
else
|
|
149
|
-
echo -e "\033[31;1mTARGET: assemble failed, empty workspace!\033[0m"
|
|
150
|
-
exit 1
|
|
151
|
-
fi
|
|
152
|
-
fi
|
|
153
|
-
|
|
154
132
|
if [[ "$CMD" == "codegen" ]]; then
|
|
155
133
|
echo "TODO"
|
|
156
134
|
fi
|
|
@@ -4,10 +4,10 @@ jobs:
|
|
|
4
4
|
build:
|
|
5
5
|
runs-on: ubuntu-latest
|
|
6
6
|
steps:
|
|
7
|
-
- uses: actions/checkout@
|
|
7
|
+
- uses: actions/checkout@v4
|
|
8
8
|
- uses: ruby/setup-ruby@v1
|
|
9
9
|
with:
|
|
10
|
-
ruby-version: 3
|
|
10
|
+
ruby-version: '3.4'
|
|
11
11
|
- name: Check license headers
|
|
12
12
|
run: |
|
|
13
13
|
ruby ./.github/check_license_headers.rb
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
---
|
|
1
2
|
name: main
|
|
2
3
|
on: [push, pull_request]
|
|
3
4
|
|
|
@@ -7,10 +8,10 @@ jobs:
|
|
|
7
8
|
ENDPOINT: http://localhost:8080
|
|
8
9
|
strategy:
|
|
9
10
|
matrix:
|
|
10
|
-
ruby: [
|
|
11
|
+
ruby: ['3.3', '3.4', '4.0']
|
|
11
12
|
runs-on: ubuntu-latest
|
|
12
13
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
14
|
+
- uses: actions/checkout@v4
|
|
14
15
|
- uses: ruby/setup-ruby@v1
|
|
15
16
|
with:
|
|
16
17
|
ruby-version: ${{ matrix.ruby }}
|
|
@@ -27,10 +28,10 @@ jobs:
|
|
|
27
28
|
strategy:
|
|
28
29
|
fail-fast: false
|
|
29
30
|
matrix:
|
|
30
|
-
ruby: [
|
|
31
|
+
ruby: ['jruby-9.3', 'jruby-9.4', 'jruby-10.0']
|
|
31
32
|
runs-on: ubuntu-latest
|
|
32
33
|
steps:
|
|
33
|
-
- uses: actions/checkout@
|
|
34
|
+
- uses: actions/checkout@v4
|
|
34
35
|
- uses: ruby/setup-ruby@v1
|
|
35
36
|
with:
|
|
36
37
|
ruby-version: ${{ matrix.ruby }}
|
data/CHANGELOG
CHANGED
|
@@ -1 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
# 8.19.0 Release notes
|
|
2
|
+
|
|
3
|
+
- Updates `jwt` dependency to `>= 3.2.0` for CVE-2026-45363.
|
|
4
|
+
- Gem `ostruct` required in development for Ruby >= 4.
|
|
5
|
+
- Tested versions of Ruby MRI: `3.3`, `3.4`, `4.0`.
|
|
6
|
+
- Tested versions of JRuby: `9.3`, `9.4`, `10.0`.
|
|
7
|
+
|
|
8
|
+
*Warning - Enterprise Search was discontinued in 9.0*
|
|
9
|
+
|
|
10
|
+
Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy: https://www.elastic.co/support/eol
|
|
11
|
+
|
|
12
|
+
We recommend transitioning to our actively developed Elastic Stack (https://www.elastic.co/elastic-stack) tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
|
|
13
|
+
Here are some useful links with more information:
|
|
14
|
+
|
|
15
|
+
* Enterprise Search FAQ: https://www.elastic.co/resources/enterprise-search/enterprise-search-faq
|
|
16
|
+
* Migrating to 9.x from Enterprise Search 8.x versions: https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html
|
|
17
|
+
|
|
18
|
+
# 8.18.0 Release notes
|
|
19
|
+
|
|
20
|
+
Final minor release of the client, compatible with Elastic Enterprise Search 8.18.0.
|
|
21
|
+
|
|
22
|
+
For previous versions, see https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/release_notes.html
|
data/README.md
CHANGED
|
@@ -5,6 +5,17 @@
|
|
|
5
5
|

|
|
6
6
|
[](https://buildkite.com/elastic/enterprise-search-ruby)
|
|
7
7
|
|
|
8
|
+
> [!WARNING]
|
|
9
|
+
> **Enterprise Search was discontinued in 9.0.**
|
|
10
|
+
>
|
|
11
|
+
> Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy: https://www.elastic.co/support/eol
|
|
12
|
+
> We recommend transitioning to our actively developed Elastic Stack (https://www.elastic.co/elastic-stack) tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
|
|
13
|
+
>
|
|
14
|
+
> Here are some useful links with more information:
|
|
15
|
+
> * Enterprise Search FAQ: https://www.elastic.co/resources/enterprise-search/enterprise-search-faq
|
|
16
|
+
> * Migrating to 9.x from Enterprise Search 8.x versions: https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html
|
|
17
|
+
|
|
18
|
+
|
|
8
19
|
Official Ruby API client for [Elastic Enterprise Search](https://www.elastic.co/enterprise-search). Use this gem to integrate App Search and Workplace Search into your Ruby code.
|
|
9
20
|
|
|
10
21
|
## Installation
|
data/catalog-info.yaml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
apiVersion: backstage.io/v1alpha1
|
|
2
|
+
kind: Resource
|
|
3
|
+
metadata:
|
|
4
|
+
name: buildkite-pipeline-enterprise-search-ruby
|
|
5
|
+
spec:
|
|
6
|
+
implementation:
|
|
7
|
+
apiVersion: buildkite.elastic.dev/v1
|
|
8
|
+
kind: Pipeline
|
|
9
|
+
metadata:
|
|
10
|
+
description: Enterprise Search Ruby Client
|
|
11
|
+
name: enterprise-search-ruby
|
|
12
|
+
spec:
|
|
13
|
+
repository: elastic/enterprise-search-ruby
|
|
14
|
+
teams:
|
|
15
|
+
devtools-team: {}
|
|
16
|
+
everyone:
|
|
17
|
+
access_level: READ_ONLY
|
|
18
|
+
owner: group:devtools-team
|
|
19
|
+
type: buildkite-pipeline
|
|
@@ -35,7 +35,7 @@ client.create_engine(body: body)
|
|
|
35
35
|
# Add a source engine to a meta engine:
|
|
36
36
|
client.add_meta_engine_source(meta_engine_name, source_engines: ['engine1', 'engine2'])
|
|
37
37
|
|
|
38
|
-
# Remove a source
|
|
38
|
+
# Remove a source engine from a meta engine:
|
|
39
39
|
client.delete_meta_engine_source(meta_engine_name, source_engines: ['engine1', 'engine2'])
|
|
40
40
|
----------------------------
|
|
41
41
|
|
|
@@ -72,7 +72,9 @@ client.put_documents(engine_name, documents: [{id: document_id, key: value}])
|
|
|
72
72
|
----------------------------
|
|
73
73
|
# Single Search
|
|
74
74
|
query = {
|
|
75
|
-
|
|
75
|
+
body: {
|
|
76
|
+
query: 'luigi'
|
|
77
|
+
}
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
client.search(engine_name, query)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[[release_notes_818]]
|
|
2
|
+
=== 8.18 Release notes
|
|
3
|
+
|
|
4
|
+
[discrete]
|
|
5
|
+
[[release_notes_8180]]
|
|
6
|
+
=== 8.18.0 Release notes
|
|
7
|
+
|
|
8
|
+
Final minor release of the client, compatible with Elastic Enterprise Search 8.18.0.
|
|
9
|
+
|
|
10
|
+
*Warning* - Enterprise Search will be discontinued in 9.0.
|
|
11
|
+
|
|
12
|
+
Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy: https://www.elastic.co/support/eol
|
|
13
|
+
|
|
14
|
+
We recommend transitioning to our actively developed Elastic Stack (https://www.elastic.co/elastic-stack) tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
|
|
15
|
+
Here are some useful links with more information:
|
|
16
|
+
|
|
17
|
+
* Enterprise Search FAQ: https://www.elastic.co/resources/enterprise-search/enterprise-search-faq
|
|
18
|
+
* Migrating to 9.x from Enterprise Search 8.x versions: https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html
|
|
19
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[[release_notes_819]]
|
|
2
|
+
=== 8.19 Release notes
|
|
3
|
+
|
|
4
|
+
[discrete]
|
|
5
|
+
[[release_notes_8190]]
|
|
6
|
+
=== 8.19.0 Release notes
|
|
7
|
+
|
|
8
|
+
- Updates `jwt` dependency to `>= 3.2.0` for https://github.com/advisories/GHSA-c32j-vqhx-rx3x[CVE-2026-45363]
|
|
9
|
+
- Gem `ostruct` required in development for Ruby >= 4.
|
|
10
|
+
- Tested versions of Ruby MRI: `3.3`, `3.4`, `4.0`.
|
|
11
|
+
- Tested versions of JRuby: `9.3`, `9.4`, `10.0`.
|
|
12
|
+
|
|
13
|
+
*Warning - Enterprise Search was discontinued in 9.0*
|
|
14
|
+
|
|
15
|
+
Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy: https://www.elastic.co/support/eol
|
|
16
|
+
|
|
17
|
+
We recommend transitioning to our actively developed Elastic Stack (https://www.elastic.co/elastic-stack) tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
|
|
18
|
+
Here are some useful links with more information:
|
|
19
|
+
|
|
20
|
+
* Enterprise Search FAQ: https://www.elastic.co/resources/enterprise-search/enterprise-search-faq
|
|
21
|
+
* Migrating to 9.x from Enterprise Search 8.x versions: https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html
|
|
22
|
+
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
[discrete]
|
|
5
5
|
=== 8.x
|
|
6
6
|
|
|
7
|
+
* <<release_notes_819, 8.19.0 Release Notes>>
|
|
8
|
+
* <<release_notes_818, 8.18.0 Release Notes>>
|
|
7
9
|
* <<release_notes_89, 8.9.0 Release Notes>>
|
|
8
10
|
* <<release_notes_88, 8.8.0 Release Notes>>
|
|
9
11
|
* <<release_notes_87, 8.7.0 Release Notes>>
|
|
@@ -27,6 +29,8 @@
|
|
|
27
29
|
* <<release_notes_711, 7.11.0 Release Notes>>
|
|
28
30
|
* <<release_notes_710, 7.10.0.beta.1 Release Notes>>
|
|
29
31
|
|
|
32
|
+
include::819.asciidoc[]
|
|
33
|
+
include::818.asciidoc[]
|
|
30
34
|
include::89.asciidoc[]
|
|
31
35
|
include::88.asciidoc[]
|
|
32
36
|
include::87.asciidoc[]
|
|
@@ -48,12 +48,14 @@ Gem::Specification.new do |s|
|
|
|
48
48
|
s.require_paths = ['lib']
|
|
49
49
|
|
|
50
50
|
s.add_dependency 'elastic-transport', '~> 8.1'
|
|
51
|
-
s.add_runtime_dependency 'jwt', '>=
|
|
51
|
+
s.add_runtime_dependency 'jwt', '>= 3.2.0', '< 4.0' # [CVE-2026-45363]
|
|
52
52
|
s.add_development_dependency 'awesome_print'
|
|
53
53
|
s.add_development_dependency 'byebug' unless defined?(JRUBY_VERSION)
|
|
54
|
+
s.add_development_dependency 'ostruct'
|
|
54
55
|
s.add_development_dependency 'rspec', '~> 3.9.0'
|
|
55
56
|
s.add_development_dependency 'rspec_junit_formatter'
|
|
56
|
-
s.add_development_dependency 'rubocop', '
|
|
57
|
+
s.add_development_dependency 'rubocop', '>= 1.51' unless defined?(JRUBY_VERSION) &&
|
|
58
|
+
Gem::Version.new(JRUBY_VERSION) < Gem::Version.new('9.4')
|
|
57
59
|
s.add_development_dependency 'vcr'
|
|
58
60
|
s.add_development_dependency 'webmock'
|
|
59
61
|
# Adapters
|
|
@@ -61,5 +63,17 @@ Gem::Specification.new do |s|
|
|
|
61
63
|
s.add_development_dependency 'faraday-net_http_persistent'
|
|
62
64
|
s.add_development_dependency 'faraday-patron' unless defined? JRUBY_VERSION
|
|
63
65
|
s.add_development_dependency 'faraday-typhoeus'
|
|
66
|
+
|
|
67
|
+
s.post_install_message = <<~MESSAGE
|
|
68
|
+
|
|
69
|
+
Warning: Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. They remain supported in their current form in version 8.x and will only receive security upgrades and fixes.
|
|
70
|
+
Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy: https://www.elastic.co/support/eol
|
|
71
|
+
We recommend transitioning to our actively developed Elastic Stack (https://www.elastic.co/elastic-stack) tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
|
|
72
|
+
|
|
73
|
+
Here are some useful links with more information:
|
|
74
|
+
* Enterprise Search FAQ: https://www.elastic.co/resources/enterprise-search/enterprise-search-faq
|
|
75
|
+
* Migrating to 9.x from Enterprise Search 8.x versions: https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html
|
|
76
|
+
|
|
77
|
+
MESSAGE
|
|
64
78
|
end
|
|
65
79
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -27,7 +27,7 @@ describe Elastic::EnterpriseSearch::WorkplaceSearch::Client do
|
|
|
27
27
|
|
|
28
28
|
let(:content_source_id) { client.create_content_source(body: { name: 'my_content' }).body['id'] }
|
|
29
29
|
let(:external_user_id) { 'elastic_user' }
|
|
30
|
-
let(:user_properties) { ['attribute_name' => '_elasticsearch_username', 'attribute_value' => 'fernando'] }
|
|
30
|
+
let(:user_properties) { [{ 'attribute_name' => '_elasticsearch_username', 'attribute_value' => 'fernando' }] }
|
|
31
31
|
let(:body) do
|
|
32
32
|
{ external_user_id: external_user_id, permissions: [], external_user_properties: user_properties }
|
|
33
33
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elastic-enterprise-search
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.
|
|
4
|
+
version: 8.19.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fernando Briano
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: elastic-transport
|
|
@@ -30,20 +29,20 @@ dependencies:
|
|
|
30
29
|
requirements:
|
|
31
30
|
- - ">="
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
32
|
+
version: 3.2.0
|
|
34
33
|
- - "<"
|
|
35
34
|
- !ruby/object:Gem::Version
|
|
36
|
-
version: '
|
|
35
|
+
version: '4.0'
|
|
37
36
|
type: :runtime
|
|
38
37
|
prerelease: false
|
|
39
38
|
version_requirements: !ruby/object:Gem::Requirement
|
|
40
39
|
requirements:
|
|
41
40
|
- - ">="
|
|
42
41
|
- !ruby/object:Gem::Version
|
|
43
|
-
version:
|
|
42
|
+
version: 3.2.0
|
|
44
43
|
- - "<"
|
|
45
44
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: '
|
|
45
|
+
version: '4.0'
|
|
47
46
|
- !ruby/object:Gem::Dependency
|
|
48
47
|
name: awesome_print
|
|
49
48
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -72,6 +71,20 @@ dependencies:
|
|
|
72
71
|
- - ">="
|
|
73
72
|
- !ruby/object:Gem::Version
|
|
74
73
|
version: '0'
|
|
74
|
+
- !ruby/object:Gem::Dependency
|
|
75
|
+
name: ostruct
|
|
76
|
+
requirement: !ruby/object:Gem::Requirement
|
|
77
|
+
requirements:
|
|
78
|
+
- - ">="
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: '0'
|
|
81
|
+
type: :development
|
|
82
|
+
prerelease: false
|
|
83
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
84
|
+
requirements:
|
|
85
|
+
- - ">="
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
version: '0'
|
|
75
88
|
- !ruby/object:Gem::Dependency
|
|
76
89
|
name: rspec
|
|
77
90
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -104,16 +117,16 @@ dependencies:
|
|
|
104
117
|
name: rubocop
|
|
105
118
|
requirement: !ruby/object:Gem::Requirement
|
|
106
119
|
requirements:
|
|
107
|
-
- - "
|
|
120
|
+
- - ">="
|
|
108
121
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: '1'
|
|
122
|
+
version: '1.51'
|
|
110
123
|
type: :development
|
|
111
124
|
prerelease: false
|
|
112
125
|
version_requirements: !ruby/object:Gem::Requirement
|
|
113
126
|
requirements:
|
|
114
|
-
- - "
|
|
127
|
+
- - ">="
|
|
115
128
|
- !ruby/object:Gem::Version
|
|
116
|
-
version: '1'
|
|
129
|
+
version: '1.51'
|
|
117
130
|
- !ruby/object:Gem::Dependency
|
|
118
131
|
name: vcr
|
|
119
132
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -226,7 +239,6 @@ files:
|
|
|
226
239
|
- ".buildkite/run-local.sh"
|
|
227
240
|
- ".buildkite/run-tests.sh"
|
|
228
241
|
- ".ci/.gitignore"
|
|
229
|
-
- ".ci/Dockerfile"
|
|
230
242
|
- ".ci/make.sh"
|
|
231
243
|
- ".github/check_license_headers.rb"
|
|
232
244
|
- ".github/license-header.txt"
|
|
@@ -243,6 +255,7 @@ files:
|
|
|
243
255
|
- NOTICE
|
|
244
256
|
- README.md
|
|
245
257
|
- Rakefile
|
|
258
|
+
- catalog-info.yaml
|
|
246
259
|
- docs/guide/app-search-api.asciidoc
|
|
247
260
|
- docs/guide/connecting.asciidoc
|
|
248
261
|
- docs/guide/development.asciidoc
|
|
@@ -260,6 +273,8 @@ files:
|
|
|
260
273
|
- docs/guide/release_notes/717.asciidoc
|
|
261
274
|
- docs/guide/release_notes/80.asciidoc
|
|
262
275
|
- docs/guide/release_notes/81.asciidoc
|
|
276
|
+
- docs/guide/release_notes/818.asciidoc
|
|
277
|
+
- docs/guide/release_notes/819.asciidoc
|
|
263
278
|
- docs/guide/release_notes/82.asciidoc
|
|
264
279
|
- docs/guide/release_notes/83.asciidoc
|
|
265
280
|
- docs/guide/release_notes/84.asciidoc
|
|
@@ -465,7 +480,16 @@ metadata:
|
|
|
465
480
|
homepage_uri: https://www.elastic.co/enterprise-search
|
|
466
481
|
source_code_uri: https://github.com/elastic/enterprise-search-ruby
|
|
467
482
|
changelog_uri: https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/release_notes.html
|
|
468
|
-
post_install_message:
|
|
483
|
+
post_install_message: |2+
|
|
484
|
+
|
|
485
|
+
Warning: Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. They remain supported in their current form in version 8.x and will only receive security upgrades and fixes.
|
|
486
|
+
Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy: https://www.elastic.co/support/eol
|
|
487
|
+
We recommend transitioning to our actively developed Elastic Stack (https://www.elastic.co/elastic-stack) tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
|
|
488
|
+
|
|
489
|
+
Here are some useful links with more information:
|
|
490
|
+
* Enterprise Search FAQ: https://www.elastic.co/resources/enterprise-search/enterprise-search-faq
|
|
491
|
+
* Migrating to 9.x from Enterprise Search 8.x versions: https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html
|
|
492
|
+
|
|
469
493
|
rdoc_options: []
|
|
470
494
|
require_paths:
|
|
471
495
|
- lib
|
|
@@ -480,8 +504,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
480
504
|
- !ruby/object:Gem::Version
|
|
481
505
|
version: '0'
|
|
482
506
|
requirements: []
|
|
483
|
-
rubygems_version:
|
|
484
|
-
signing_key:
|
|
507
|
+
rubygems_version: 4.0.12
|
|
485
508
|
specification_version: 4
|
|
486
509
|
summary: Official API client for Elastic Enterprise Search
|
|
487
510
|
test_files: []
|
|
511
|
+
...
|
data/.ci/Dockerfile
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
ARG RUBY_VERSION=2.7
|
|
2
|
-
FROM ruby:${RUBY_VERSION}
|
|
3
|
-
|
|
4
|
-
# Default UID/GID to 1000
|
|
5
|
-
# it can be overridden at build time
|
|
6
|
-
ARG BUILDER_UID=1000
|
|
7
|
-
ARG BUILDER_GID=1000
|
|
8
|
-
ENV BUILDER_USER elastic
|
|
9
|
-
ENV BUILDER_GROUP elastic
|
|
10
|
-
|
|
11
|
-
ENV GEM_HOME="/usr/local/bundle"
|
|
12
|
-
ENV PATH $GEM_HOME/bin:$GEM_HOME/gems/bin:$PATH
|
|
13
|
-
ENV QUIET=true
|
|
14
|
-
ENV CI=true
|
|
15
|
-
|
|
16
|
-
# Create user
|
|
17
|
-
RUN groupadd --system -g ${BUILDER_GID} ${BUILDER_GROUP} \
|
|
18
|
-
&& useradd --system --shell /bin/bash -u ${BUILDER_UID} -g ${BUILDER_GROUP} -d /var/lib/elastic -m elastic 1>/dev/null 2>/dev/null \
|
|
19
|
-
&& mkdir -p /code/enterprise-search-ruby && touch /Gemfile.lock \
|
|
20
|
-
&& chown -R ${BUILDER_USER}:${BUILDER_GROUP} /code/enterprise-search-ruby /Gemfile.lock
|
|
21
|
-
|
|
22
|
-
WORKDIR /code/enterprise-search-ruby
|
|
23
|
-
|
|
24
|
-
COPY --chown=$BUILDER_USER:$BUILDER_GROUP . .
|
|
25
|
-
RUN bundle install
|