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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a43685e46f98064dabf222a2145e4248bb02415e6a3fa3d664b7314c1b17e5f
4
- data.tar.gz: 2356dfe5cd6efe4d97e5ac177c55bfd6362e14f803816b3ae8b81db87c859c9e
3
+ metadata.gz: 034ae9bcd714c12863369d793da42c579f118391ac422c3a764ac7d0b47acd41
4
+ data.tar.gz: b567f825cac56b3223531b03206338e5b39b438e3a6a1523eafed845a2e9a410
5
5
  SHA512:
6
- metadata.gz: 99de7a66cf051b722ba2da36200c591c680c1a78fcbeeebbc8c6572974bf5638fe908c9a7dc61e287cd6cf57664a44ddad4e56fdd421bebd268136cf689c22c4
7
- data.tar.gz: f03ae3900ac8b2d72b2c4b4d153df0d252ffd3c399d104fe2d3d1e3ff32299bc2df190321fe850ef47a7d542711bb72e4af0281fd087e18dddc510baec751766
6
+ metadata.gz: dadbd1bbe20495941ed754c9ffec56181cbf40d69f180d4058f53e6693270bbda611353e4de0246db65ef0eac2a19cc305fff278097bb544825500901d98c94e
7
+ data.tar.gz: e924b4b364646ceb7c15095576092043b7053c037c02afd408e58e44dc588d1bcf6a4bf7a80ace08a56ddd1ac298968fdab5bcfc53031c9b188bb30279f7a77c
data/.travis.yml CHANGED
@@ -1,9 +1,10 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.7
5
- - 2.4.4
6
- - 2.5.1
4
+ - 2.3
5
+ - 2.4
6
+ - 2.5
7
+ - 2.6
7
8
  gemfile: Gemfile.ci
8
9
  env:
9
10
  global:
@@ -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, 'sync')
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] || :sync).to_sym
29
+ model.elasticsearch_type = (opts[:type] || :_doc).to_sym
30
30
  model
31
31
  end
32
32
 
@@ -4,6 +4,6 @@ module Sequel
4
4
  # See https://jrgns.github.io/sequel-elasticsearch
5
5
  module Elasticsearch
6
6
  # The Gem's version.
7
- VERSION = '0.4.3'.freeze
7
+ VERSION = '0.4.5'.freeze
8
8
  end
9
9
  end
@@ -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', '~> 1.13'
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.3
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: 2018-10-17 00:00:00.000000000 Z
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
- rubyforge_project:
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.