es-elasticity 0.13.4.dblackmon.1 → 0.13.4.zpesic

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: fe801ccf39b04e136c5a2fab3f8ee1ab2d5c70fed87392eba1b4af918fe2d767
4
- data.tar.gz: 1031a799dc3428d4d2043d0b4e6e5ed4f77e5748ca035c611076843aac4c1ce6
3
+ metadata.gz: 6a3df38689f0fb71556bd5f938eb87ccea513e73216d7185e8ff4035da21107d
4
+ data.tar.gz: d694f620f9b607dcdcc65f4a96f293d17de8f0bb983e824822bde8d9e2c2058d
5
5
  SHA512:
6
- metadata.gz: 04a0d4cddf9031ba77299c16086a0cd0da3509882c47e6963d9d3eefdb9c928a96924cccdab38a704ef793b9ff5777e10ddea91aca39ba6ab1ad21715cbd465c
7
- data.tar.gz: 68ecdd9b9512944a5caded4c05e820203c483bccea2b18614d984b666717ee0302ec681f6041f16a90f6fac1fb03f3defbb5552e52344104627eeaf99721ffb2
6
+ metadata.gz: 7d877b7e747439af710d21c1e6cc308989bd934a756559fc5b5f7342f737c13db9e0294dd748eb00b14102d36a76d50a9a34074d315d0f92be0506a09a3cb865
7
+ data.tar.gz: 6f9c9a9ad502fdf870ac6cb73284548b3e2392a03d897f66d7740a46e9f3d1fc22fa241c5a73476d80f68f4e90ecf282adbf98e027c47414667e1811c3c66ec7
data/CHANGELOG.md CHANGED
@@ -6,9 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
- ## [0.13.4.dblackmon.1] - 2020-05-30
9
+ ## [0.13.4.zpesic] - 2020-05-19
10
10
  ### Changed
11
- - expose 'matched_queries' property
11
+ - Compatibility with Rails 6
12
12
 
13
13
  ## [0.13.3] - 2020-01-30
14
14
  ### Changed
data/Gemfile.lock CHANGED
@@ -1,47 +1,46 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- es-elasticity (0.13.4.dblackmon.1)
5
- activemodel (>= 4.0.0, < 6)
6
- activerecord (>= 4.0.0, < 6)
7
- activesupport (>= 4.0.0, < 6)
4
+ es-elasticity (0.13.4.zpesic)
5
+ activemodel (>= 4.0.0, < 7)
6
+ activerecord (>= 4.0.0, < 7)
7
+ activesupport (>= 4.0.0, < 7)
8
8
  elasticsearch (>= 1.0)
9
9
 
10
10
  GEM
11
11
  remote: https://artifacts.dox.support/repository/gems/
12
12
  specs:
13
- activemodel (5.2.4)
14
- activesupport (= 5.2.4)
15
- activerecord (5.2.4)
16
- activemodel (= 5.2.4)
17
- activesupport (= 5.2.4)
18
- arel (>= 9.0)
19
- activesupport (5.2.4)
13
+ activemodel (6.0.3.1)
14
+ activesupport (= 6.0.3.1)
15
+ activerecord (6.0.3.1)
16
+ activemodel (= 6.0.3.1)
17
+ activesupport (= 6.0.3.1)
18
+ activesupport (6.0.3.1)
20
19
  concurrent-ruby (~> 1.0, >= 1.0.2)
21
20
  i18n (>= 0.7, < 2)
22
21
  minitest (~> 5.1)
23
22
  tzinfo (~> 1.1)
24
- arel (9.0.0)
23
+ zeitwerk (~> 2.2, >= 2.2.2)
25
24
  byebug (11.0.1)
26
25
  codeclimate-test-reporter (1.0.9)
27
26
  simplecov (<= 0.13)
28
27
  coderay (1.1.2)
29
- concurrent-ruby (1.1.5)
28
+ concurrent-ruby (1.1.6)
30
29
  diff-lcs (1.3)
31
- elasticsearch (7.2.0)
32
- elasticsearch-api (= 7.2.0)
33
- elasticsearch-transport (= 7.2.0)
34
- elasticsearch-api (7.2.0)
30
+ elasticsearch (7.7.0)
31
+ elasticsearch-api (= 7.7.0)
32
+ elasticsearch-transport (= 7.7.0)
33
+ elasticsearch-api (7.7.0)
35
34
  multi_json
36
- elasticsearch-transport (7.2.0)
37
- faraday
35
+ elasticsearch-transport (7.7.0)
36
+ faraday (~> 1)
38
37
  multi_json
39
- faraday (0.17.1)
38
+ faraday (1.0.1)
40
39
  multipart-post (>= 1.2, < 3)
41
- i18n (1.7.0)
40
+ i18n (1.8.2)
42
41
  concurrent-ruby (~> 1.0)
43
42
  method_source (0.9.2)
44
- minitest (5.13.0)
43
+ minitest (5.14.1)
45
44
  multi_json (1.14.1)
46
45
  multipart-post (2.1.1)
47
46
  oj (3.10.0)
@@ -70,8 +69,9 @@ GEM
70
69
  simplecov-html (0.7.1)
71
70
  thread_safe (0.3.6)
72
71
  timecop (0.9.1)
73
- tzinfo (1.2.5)
72
+ tzinfo (1.2.7)
74
73
  thread_safe (~> 0.1)
74
+ zeitwerk (2.3.0)
75
75
 
76
76
  PLATFORMS
77
77
  ruby
@@ -33,8 +33,8 @@ Gem::Specification.new do |spec|
33
33
  spec.add_development_dependency "simplecov", "~> 0.7.1"
34
34
  spec.add_development_dependency "timecop"
35
35
 
36
- spec.add_dependency "activemodel", ">= 4.0.0", "< 6"
37
- spec.add_dependency "activerecord", ">= 4.0.0", "< 6"
38
- spec.add_dependency "activesupport", ">= 4.0.0", "< 6"
36
+ spec.add_dependency "activemodel", ">= 4.0.0", "< 7"
37
+ spec.add_dependency "activerecord", ">= 4.0.0", "< 7"
38
+ spec.add_dependency "activesupport", ">= 4.0.0", "< 7"
39
39
  spec.add_dependency "elasticsearch", ">= 1.0"
40
40
  end
@@ -12,7 +12,7 @@ module Elasticity
12
12
  end
13
13
 
14
14
  # Define common attributes for all documents
15
- attr_accessor :_id, :highlighted, :_score, :sort, :_explanation, :highlighted_attrs, :matched_queries
15
+ attr_accessor :_id, :highlighted, :_score, :sort, :_explanation, :highlighted_attrs
16
16
 
17
17
  def attributes=(attributes)
18
18
  attributes.each do |attr, value|
@@ -150,7 +150,6 @@ module Elasticity
150
150
  attrs.merge!(_score: hit["_score"])
151
151
  attrs.merge!(sort: hit["sort"])
152
152
  attrs.merge!(hit["_source"]) if hit["_source"]
153
- attrs.merge!(matched_queries: hit["matched_queries"]) if hit["matched_queries"]
154
153
 
155
154
  highlighted = nil
156
155
 
@@ -1,3 +1,3 @@
1
1
  module Elasticity
2
- VERSION = "0.13.4.dblackmon.1"
2
+ VERSION = "0.13.4.zpesic"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: es-elasticity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.4.dblackmon.1
4
+ version: 0.13.4.zpesic
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Kochenburger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-14 00:00:00.000000000 Z
11
+ date: 2020-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -173,7 +173,7 @@ dependencies:
173
173
  version: 4.0.0
174
174
  - - "<"
175
175
  - !ruby/object:Gem::Version
176
- version: '6'
176
+ version: '7'
177
177
  type: :runtime
178
178
  prerelease: false
179
179
  version_requirements: !ruby/object:Gem::Requirement
@@ -183,7 +183,7 @@ dependencies:
183
183
  version: 4.0.0
184
184
  - - "<"
185
185
  - !ruby/object:Gem::Version
186
- version: '6'
186
+ version: '7'
187
187
  - !ruby/object:Gem::Dependency
188
188
  name: activerecord
189
189
  requirement: !ruby/object:Gem::Requirement
@@ -193,7 +193,7 @@ dependencies:
193
193
  version: 4.0.0
194
194
  - - "<"
195
195
  - !ruby/object:Gem::Version
196
- version: '6'
196
+ version: '7'
197
197
  type: :runtime
198
198
  prerelease: false
199
199
  version_requirements: !ruby/object:Gem::Requirement
@@ -203,7 +203,7 @@ dependencies:
203
203
  version: 4.0.0
204
204
  - - "<"
205
205
  - !ruby/object:Gem::Version
206
- version: '6'
206
+ version: '7'
207
207
  - !ruby/object:Gem::Dependency
208
208
  name: activesupport
209
209
  requirement: !ruby/object:Gem::Requirement
@@ -213,7 +213,7 @@ dependencies:
213
213
  version: 4.0.0
214
214
  - - "<"
215
215
  - !ruby/object:Gem::Version
216
- version: '6'
216
+ version: '7'
217
217
  type: :runtime
218
218
  prerelease: false
219
219
  version_requirements: !ruby/object:Gem::Requirement
@@ -223,7 +223,7 @@ dependencies:
223
223
  version: 4.0.0
224
224
  - - "<"
225
225
  - !ruby/object:Gem::Version
226
- version: '6'
226
+ version: '7'
227
227
  - !ruby/object:Gem::Dependency
228
228
  name: elasticsearch
229
229
  requirement: !ruby/object:Gem::Requirement