es-elasticity 0.13.3 → 0.13.4.dblackmon
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +4 -0
 - data/Gemfile.lock +1 -1
 - data/lib/elasticity/base_document.rb +1 -1
 - data/lib/elasticity/index_mapper.rb +1 -0
 - data/lib/elasticity/version.rb +1 -1
 - metadata +4 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 61827208f41e25a14f4a36d8474d706b83e9a0efaa22b7e25038ac08a8ec5fe0
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 646f5579669dde59ddc60692c44d8a0790a2c79073425f8e1d47cab080869d68
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 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
    
    
| 
         @@ -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 
     | 
    
         | 
    
        data/lib/elasticity/version.rb
    CHANGED
    
    
    
        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 
     | 
    
         
            +
              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- 
     | 
| 
      
 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:  
     | 
| 
      
 300 
     | 
    
         
            +
                  version: 1.3.1
         
     | 
| 
       301 
301 
     | 
    
         
             
            requirements: []
         
     | 
| 
       302 
302 
     | 
    
         
             
            rubygems_version: 3.1.2
         
     | 
| 
       303 
303 
     | 
    
         
             
            signing_key: 
         
     |