Embed elasticsearch-rails

This commit is contained in:
Pirate Praveen 2019-12-05 17:50:31 +05:30
parent 7ecb891e8f
commit 5a57cfbd23
5 changed files with 17 additions and 1 deletions

2
debian/gbp.conf vendored
View file

@ -1,2 +1,2 @@
[DEFAULT] [DEFAULT]
component = [ 'core-js', 'derailed-benchmarks', 'heapy', 'elasticsearch-model' ] component = [ 'core-js', 'derailed-benchmarks', 'heapy', 'elasticsearch-model', 'elasticsearch-rails' ]

View file

@ -0,0 +1,11 @@
--- a/Gemfile
+++ b/Gemfile
@@ -128,7 +128,7 @@
# Search
gem 'elasticsearch-model', '~> 0.1.9', path: 'vendor/gems/elasticsearch-model'
-gem 'elasticsearch-rails', '~> 0.1.9', require: 'elasticsearch/rails/instrumentation'
+gem 'elasticsearch-rails', '~> 0.1.9', require: 'elasticsearch/rails/instrumentation', path: 'vendor/gems/elasticsearch-model'
gem 'elasticsearch-api', '5.0.3'
gem 'aws-sdk'
gem 'faraday_middleware-aws-signers-v4'

View file

@ -9,6 +9,7 @@
0460-embed-derailed-benchmarks.patch 0460-embed-derailed-benchmarks.patch
0470-relax-bootsnap.patch 0470-relax-bootsnap.patch
0480-embed-elasticsearch-model.patch 0480-embed-elasticsearch-model.patch
0480-embed-elasticsearch-rails.patch
0482-remove-ee-only-gems.patch 0482-remove-ee-only-gems.patch
0500-set-webpack-root.patch 0500-set-webpack-root.patch
0510-remove-dev-dependencies.patch 0510-remove-dev-dependencies.patch

View file

@ -68,6 +68,7 @@ doc
docker docker
docker-compose.yml docker-compose.yml
elasticsearch-model elasticsearch-model
elasticsearch-rails
fixtures fixtures
generator_templates generator_templates
haml_lint haml_lint

3
debian/watch vendored
View file

@ -17,3 +17,6 @@ https://gemwatch.debian.net/heapy .*/heapy-(.*).tar.gz ignore
opts="pgpmode=none,component=elasticsearch-model" \ opts="pgpmode=none,component=elasticsearch-model" \
https://gemwatch.debian.net/elasticsearch-model .*/elasticsearch-model-(0.1.*).tar.gz ignore https://gemwatch.debian.net/elasticsearch-model .*/elasticsearch-model-(0.1.*).tar.gz ignore
opts="pgpmode=none,component=elasticsearch-model" \
https://gemwatch.debian.net/elasticsearch-model .*/elasticsearch-rails-(0.1.*).tar.gz ignore