es-elasticity 0.13.3 → 0.13.4.dblackmon.0

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: a54d7a373a1a7a650437862e6d030b7e99e0309f3917d959a1b0ba996ff01f37
4
+ data.tar.gz: 82fd780a0be517ccc6ef75cea6df78604642dc540022962d7e63219fcb4104bd
5
5
  SHA512:
6
- metadata.gz: cd2fbe33eaa71b758acd58b2e834489bc7bc50908cf8d95ca8fa1321e57fcc4c82fbcfca7daa0618a1738356f33d7a6a7a48673fedd985b2a4a27d39d40e9378
7
- data.tar.gz: 0a59958ee3b39fdb01315b2349b1f16cfad94ad10ed65373f8310b4d82c4285ca3acd0be3a43b73bba5f440c28f456f2325db1200d4b8fbcdb0ef3f38943819e
6
+ metadata.gz: ed9779a74ddf4b93145ccc5346284429f4d931079aa9ad305cd2b8789ba8ca9139d1de688794273496acce72b3190c9906ca6600b990a324ad3c79f51434ecd2
7
+ data.tar.gz: 6b4b3a252f96ed195c727f7b110a5bddf8895d4ed38bd1865c0f7a4469ed7fc17b63fe415607000061867720bf0db6450d1979b7a73f057cb6b8e7a548423230
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.0] - 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.0)
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.0"
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.0
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: