sequel-elasticsearch 0.4.3 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -3
- data/lib/sequel/plugins/elasticsearch.rb +2 -2
- data/lib/sequel/plugins/elasticsearch/version.rb +1 -1
- data/sequel-elasticsearch.gemspec +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 034ae9bcd714c12863369d793da42c579f118391ac422c3a764ac7d0b47acd41
|
4
|
+
data.tar.gz: b567f825cac56b3223531b03206338e5b39b438e3a6a1523eafed845a2e9a410
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dadbd1bbe20495941ed754c9ffec56181cbf40d69f180d4058f53e6693270bbda611353e4de0246db65ef0eac2a19cc305fff278097bb544825500901d98c94e
|
7
|
+
data.tar.gz: e924b4b364646ceb7c15095576092043b7053c037c02afd408e58e44dc588d1bcf6a4bf7a80ace08a56ddd1ac298968fdab5bcfc53031c9b188bb30279f7a77c
|
data/.travis.yml
CHANGED
@@ -18,7 +18,7 @@ module Sequel
|
|
18
18
|
def self.apply(model, _opts = OPTS)
|
19
19
|
model.instance_variable_set(:@elasticsearch_opts, {})
|
20
20
|
model.instance_variable_set(:@elasticsearch_index, nil)
|
21
|
-
model.instance_variable_set(:@elasticsearch_type, '
|
21
|
+
model.instance_variable_set(:@elasticsearch_type, '_doc')
|
22
22
|
model
|
23
23
|
end
|
24
24
|
|
@@ -26,7 +26,7 @@ module Sequel
|
|
26
26
|
def self.configure(model, opts = OPTS)
|
27
27
|
model.elasticsearch_opts = opts[:elasticsearch] || {}
|
28
28
|
model.elasticsearch_index = (opts[:index] || model.table_name).to_sym
|
29
|
-
model.elasticsearch_type = (opts[:type] || :
|
29
|
+
model.elasticsearch_type = (opts[:type] || :_doc).to_sym
|
30
30
|
model
|
31
31
|
end
|
32
32
|
|
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_dependency 'elasticsearch', '>= 1.0'
|
25
25
|
spec.add_dependency 'sequel', '>= 4.0'
|
26
26
|
|
27
|
-
spec.add_development_dependency 'bundler', '
|
27
|
+
spec.add_development_dependency 'bundler', '>= 1.13'
|
28
28
|
spec.add_development_dependency 'rake', '~> 10.0'
|
29
29
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
30
30
|
spec.add_development_dependency 'rubocop', '~> 0.52'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel-elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jurgens du Toit
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: elasticsearch
|
@@ -42,14 +42,14 @@ dependencies:
|
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.13'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.13'
|
55
55
|
- !ruby/object:Gem::Dependency
|
@@ -163,8 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: '0'
|
165
165
|
requirements: []
|
166
|
-
|
167
|
-
rubygems_version: 2.7.7
|
166
|
+
rubygems_version: 3.0.4
|
168
167
|
signing_key:
|
169
168
|
specification_version: 4
|
170
169
|
summary: A plugin for the Sequel gem to sync data to Elasticsearch.
|