es-elasticity 0.13.3 → 0.13.4.dblackmon

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: 5885f66b6be5a83b18f0ba8b25a175f9e009f62f07ce02eff548def2170c9730
4
- data.tar.gz: 8e31396a41935b3fddb01c7a09f943c7cfc1168b42fa3046151f12bf6e6d107c
3
+ metadata.gz: 61827208f41e25a14f4a36d8474d706b83e9a0efaa22b7e25038ac08a8ec5fe0
4
+ data.tar.gz: 646f5579669dde59ddc60692c44d8a0790a2c79073425f8e1d47cab080869d68
5
5
  SHA512:
6
- metadata.gz: cd2fbe33eaa71b758acd58b2e834489bc7bc50908cf8d95ca8fa1321e57fcc4c82fbcfca7daa0618a1738356f33d7a6a7a48673fedd985b2a4a27d39d40e9378
7
- data.tar.gz: 0a59958ee3b39fdb01315b2349b1f16cfad94ad10ed65373f8310b4d82c4285ca3acd0be3a43b73bba5f440c28f456f2325db1200d4b8fbcdb0ef3f38943819e
6
+ metadata.gz: 7925395d3063c8bc1e1938d1c12c3072985b204ba052bb13cda7a7fcd43160f7a29ebfb0d9d068bf0875c12b49a04dd17e0d7a00b022817e4ec5337e8b30022f
7
+ data.tar.gz: 73c68c22499bcb2881aebf16e417f65c4d87fbae844ea2d34510620ab555a10fd3c9845e5645cd3999acb9df612cc1a6c1c8fc172637710f105e8448712edf20
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ 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] - 2020-05-30
10
+ ### Changed
11
+ - expose 'matched_queries' property
12
+
9
13
  ## [0.13.3] - 2020-01-30
10
14
  ### Changed
11
15
  - Release on RubyGems using gem-publisher CircleCI Orb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- es-elasticity (0.13.3)
4
+ es-elasticity (0.13.4.dblackmon)
5
5
  activemodel (>= 4.0.0, < 6)
6
6
  activerecord (>= 4.0.0, < 6)
7
7
  activesupport (>= 4.0.0, < 6)
@@ -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
15
+ attr_accessor :_id, :highlighted, :_score, :sort, :_explanation, :highlighted_attrs, :matched_queries
16
16
 
17
17
  def attributes=(attributes)
18
18
  attributes.each do |attr, value|
@@ -150,6 +150,7 @@ 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"]
153
154
 
154
155
  highlighted = nil
155
156
 
@@ -1,3 +1,3 @@
1
1
  module Elasticity
2
- VERSION = "0.13.3"
2
+ VERSION = "0.13.4.dblackmon"
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.3
4
+ version: 0.13.4.dblackmon
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-01-30 00:00:00.000000000 Z
11
+ date: 2020-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -295,9 +295,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
295
295
  version: '0'
296
296
  required_rubygems_version: !ruby/object:Gem::Requirement
297
297
  requirements:
298
- - - ">="
298
+ - - ">"
299
299
  - !ruby/object:Gem::Version
300
- version: '0'
300
+ version: 1.3.1
301
301
  requirements: []
302
302
  rubygems_version: 3.1.2
303
303
  signing_key: