aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-04-09 21:18:18 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2023-04-09 21:18:18 -0700
commitbc94163675174b3f4c929c6e886754a31a595705 (patch)
tree9c7d9625ccbb84749c180df8670f3eb399024554
parentbackend: Update to Sanitize-6, cleans up nokogiri/nokogumbo dep mess (diff)
downloadbackend-bc94163675174b3f4c929c6e886754a31a595705.tar.gz
backend-bc94163675174b3f4c929c6e886754a31a595705.tar.bz2
backend-bc94163675174b3f4c929c6e886754a31a595705.zip
archives: try community solution
Bitten by the open source wars. ``` The client noticed that the server is not Elasticsearch and we do not support this unknown product (Elasticsearch::UnsupportedProductError) ```` Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Reference: https://stackoverflow.com/questions/68762774/elasticsearchunsupportedproducterror-the-client-noticed-that-the-server-is-no
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock42
2 files changed, 32 insertions, 12 deletions
diff --git a/Gemfile b/Gemfile
index 827ff5f..02c94f0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
# Nokogiri & Nokogumbo were required by older Sanitize
gem 'mail'
gem 'maildir'
-gem 'elasticsearch'
+gem 'elasticsearch', '< 7.14'
gem 'sanitize', '~>6.0.0'
gem 'charlock_holmes', '~>0.7.7'
gem 'parallel'
diff --git a/Gemfile.lock b/Gemfile.lock
index d0b9481..7086005 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -4,18 +4,37 @@ GEM
charlock_holmes (0.7.7)
crass (1.0.6)
date (3.3.3)
- elastic-transport (8.2.0)
- faraday (< 3)
+ elasticsearch (7.13.3)
+ elasticsearch-api (= 7.13.3)
+ elasticsearch-transport (= 7.13.3)
+ elasticsearch-api (7.13.3)
multi_json
- elasticsearch (8.6.0)
- elastic-transport (~> 8)
- elasticsearch-api (= 8.6.0)
- elasticsearch-api (8.6.0)
+ elasticsearch-transport (7.13.3)
+ faraday (~> 1)
multi_json
- faraday (2.7.4)
- faraday-net_http (>= 2.0, < 3.1)
+ faraday (1.10.3)
+ faraday-em_http (~> 1.0)
+ faraday-em_synchrony (~> 1.0)
+ faraday-excon (~> 1.1)
+ faraday-httpclient (~> 1.0)
+ faraday-multipart (~> 1.0)
+ faraday-net_http (~> 1.0)
+ faraday-net_http_persistent (~> 1.0)
+ faraday-patron (~> 1.0)
+ faraday-rack (~> 1.0)
+ faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
- faraday-net_http (3.0.2)
+ faraday-em_http (1.0.0)
+ faraday-em_synchrony (1.0.0)
+ faraday-excon (1.1.0)
+ faraday-httpclient (1.0.1)
+ faraday-multipart (1.0.4)
+ multipart-post (~> 2)
+ faraday-net_http (1.0.1)
+ faraday-net_http_persistent (1.2.0)
+ faraday-patron (1.0.0)
+ faraday-rack (1.0.0)
+ faraday-retry (1.0.3)
mail (2.8.1)
mini_mime (>= 0.1.1)
net-imap
@@ -24,6 +43,7 @@ GEM
maildir (2.2.3)
mini_mime (1.1.2)
multi_json (1.15.0)
+ multipart-post (2.3.0)
net-imap (0.3.4)
date
net-protocol
@@ -49,7 +69,7 @@ PLATFORMS
DEPENDENCIES
charlock_holmes (~> 0.7.7)
- elasticsearch
+ elasticsearch (< 7.14)
mail
maildir
parallel
@@ -57,4 +77,4 @@ DEPENDENCIES
sanitize (~> 6.0.0)
BUNDLED WITH
- 2.3.8
+ 2.4.6