elasticsearch-rails 7.0.0.pre → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -12
- data/lib/elasticsearch/rails/version.rb +1 -1
- data/lib/rails/templates/01-basic.rb +5 -1
- data/lib/rails/templates/03-expert.rb +2 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 298ad27f08232c8bfb7b000f72f5e4df8eba958cc7eebc0496cb2a23a87d2606
|
4
|
+
data.tar.gz: 911af0d9f076ee4cdfa1aeeb58da49f2370bfa36080587947046faf3054dac5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b4cf9652455fcb3f90b46caa443445e1a3dd56f57dd829d36a3b43a37f4fb9c51fca3f0849c1d9c88741a1a915ede958f37e8a31d7e6dbb7d476c43ae57841c
|
7
|
+
data.tar.gz: 761d30fc5e8333064710dd4079ac1ae5dec0d7a4f3f202c4ea93db24ced86948a258de94beec8b1a300e32934607f5bb97b4e1adc54fa08aa549b2351767ba9e
|
data/README.md
CHANGED
@@ -16,6 +16,7 @@ is compatible with the Elasticsearch `master` branch, therefore, with the next m
|
|
16
16
|
| 0.1 | → | 1.x |
|
17
17
|
| 2.x | → | 2.x |
|
18
18
|
| 5.x | → | 5.x |
|
19
|
+
| 6.x | → | 6.x |
|
19
20
|
| master | → | master |
|
20
21
|
|
21
22
|
## Installation
|
@@ -129,16 +130,19 @@ rails new searchapp --skip --skip-bundle --template https://raw.github.com/elast
|
|
129
130
|
|
130
131
|
This software is licensed under the Apache 2 license, quoted below.
|
131
132
|
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
133
|
+
Licensed to Elasticsearch B.V. under one or more contributor
|
134
|
+
license agreements. See the NOTICE file distributed with
|
135
|
+
this work for additional information regarding copyright
|
136
|
+
ownership. Elasticsearch B.V. licenses this file to you under
|
137
|
+
the Apache License, Version 2.0 (the "License"); you may
|
138
|
+
not use this file except in compliance with the License.
|
136
139
|
You may obtain a copy of the License at
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
Unless required by applicable law or agreed to in writing,
|
141
|
-
distributed under the License is distributed on an
|
142
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
143
|
-
See the License for the
|
144
|
-
|
140
|
+
|
141
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
142
|
+
|
143
|
+
Unless required by applicable law or agreed to in writing,
|
144
|
+
software distributed under the License is distributed on an
|
145
|
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
146
|
+
KIND, either express or implied. See the License for the
|
147
|
+
specific language governing permissions and limitations
|
148
|
+
under the License.
|
@@ -108,7 +108,7 @@ remove_file 'README.md'
|
|
108
108
|
create_file 'README.md', <<-README
|
109
109
|
# Ruby on Rails and Elasticsearch: Example application
|
110
110
|
|
111
|
-
This application is an example of integrating the {Elasticsearch}[
|
111
|
+
This application is an example of integrating the {Elasticsearch}[https://www.elastic.co]
|
112
112
|
search engine with the {Ruby On Rails}[http://rubyonrails.org] web framework.
|
113
113
|
|
114
114
|
It has been generated by application templates available at
|
@@ -338,6 +338,10 @@ puts '-'*80, ''
|
|
338
338
|
git tag: "basic"
|
339
339
|
git log: "--reverse --oneline"
|
340
340
|
|
341
|
+
# ----- Install Webpacker -------------------------------------------------------------------------
|
342
|
+
|
343
|
+
run 'rails webpacker:install'
|
344
|
+
|
341
345
|
# ----- Start the application ---------------------------------------------------------------------
|
342
346
|
|
343
347
|
unless ENV['RAILS_NO_SERVER_START']
|
@@ -34,7 +34,8 @@ begin
|
|
34
34
|
rescue Redis::CannotConnectError
|
35
35
|
puts
|
36
36
|
say_status "ERROR", "Redis not available", :red
|
37
|
-
say_status "", "This template uses an asynchronous indexer via Sidekiq, and requires a running Redis server.
|
37
|
+
say_status "", "This template uses an asynchronous indexer via Sidekiq, and requires a running Redis server.
|
38
|
+
Make sure you have installed Redis (brew install redis) and that you have launched the server"
|
38
39
|
exit(1)
|
39
40
|
end
|
40
41
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.0
|
4
|
+
version: 7.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karel Minarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -308,11 +308,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
308
308
|
version: 1.9.3
|
309
309
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
310
310
|
requirements:
|
311
|
-
- - "
|
311
|
+
- - ">="
|
312
312
|
- !ruby/object:Gem::Version
|
313
|
-
version:
|
313
|
+
version: '0'
|
314
314
|
requirements: []
|
315
|
-
rubygems_version: 3.0.
|
315
|
+
rubygems_version: 3.0.6
|
316
316
|
signing_key:
|
317
317
|
specification_version: 4
|
318
318
|
summary: Ruby on Rails integrations for Elasticsearch.
|