Commit a8bde580103fd43a8d156e5f92f839dee8afd8e6

Authored by Andrew
1 parent b9d5a329

Version bump to 3.0.2 [skip ci]

CHANGELOG.md
1   -## 3.0.2 [unreleased]
  1 +## 3.0.2
2 2  
3 3 - Added support for Korean and Vietnamese
4 4 - Fixed `Unsupported argument type: Symbol` for async partial reindex
... ...
README.md
... ... @@ -22,7 +22,7 @@ Plus:
22 22 - supports many languages
23 23 - works with ActiveRecord, Mongoid, and NoBrainer
24 24  
25   -:speech_balloon: Get [handcrafted updates](http://chartkick.us7.list-manage.com/subscribe?u=952c861f99eb43084e0a49f98&id=6ea6541e8e&group[0][4]=true) for new features
  25 +:speech_balloon: Get [handcrafted updates](https://chartkick.us7.list-manage.com/subscribe?u=952c861f99eb43084e0a49f98&id=6ea6541e8e&group[0][4]=true) for new features
26 26  
27 27 :tangerine: Battle-tested at [Instacart](https://www.instacart.com/opensource)
28 28  
... ... @@ -304,10 +304,10 @@ A few languages require plugins:
304 304  
305 305 - `chinese` - [analysis-ik plugin](https://github.com/medcl/elasticsearch-analysis-ik)
306 306 - `japanese` - [analysis-kuromoji plugin](https://www.elastic.co/guide/en/elasticsearch/plugins/6.2/analysis-kuromoji.html)
307   -- `korean` - [analysis-openkoreantext plugin](https://github.com/open-korean-text/elasticsearch-analysis-openkoreantext) [master]
  307 +- `korean` - [analysis-openkoreantext plugin](https://github.com/open-korean-text/elasticsearch-analysis-openkoreantext)
308 308 - `polish` - [analysis-stempel plugin](https://www.elastic.co/guide/en/elasticsearch/plugins/6.2/analysis-stempel.html)
309 309 - `ukrainian` - [analysis-ukrainian plugin](https://www.elastic.co/guide/en/elasticsearch/plugins/6.2/analysis-ukrainian.html)
310   -- `vietnamese` - [analysis-vietnamese plugin](https://github.com/duydo/elasticsearch-analysis-vietnamese) [master]
  310 +- `vietnamese` - [analysis-vietnamese plugin](https://github.com/duydo/elasticsearch-analysis-vietnamese)
311 311  
312 312 ### Synonyms
313 313  
... ... @@ -656,7 +656,7 @@ Reindex and search with:
656 656 Movie.search "jurassic pa", fields: [:title], match: :word_start
657 657 ```
658 658  
659   -Typically, you want to use a JavaScript library like [typeahead.js](http://twitter.github.io/typeahead.js/) or [jQuery UI](http://jqueryui.com/autocomplete/).
  659 +Typically, you want to use a JavaScript library like [typeahead.js](https://twitter.github.io/typeahead.js/) or [jQuery UI](https://jqueryui.com/autocomplete/).
660 660  
661 661 #### Here’s how to make it work with Rails
662 662  
... ... @@ -856,7 +856,7 @@ class Restaurant < ApplicationRecord
856 856 searchkick locations: [:location]
857 857  
858 858 def search_data
859   - attributes.except("id").merge(location: {lat: latitude, lon: longitude})
  859 + attributes.merge(location: {lat: latitude, lon: longitude})
860 860 end
861 861 end
862 862 ```
... ... @@ -906,7 +906,7 @@ class Restaurant < ApplicationRecord
906 906 }
907 907  
908 908 def search_data
909   - attributes.except("id").merge(
  909 + attributes.merge(
910 910 bounds: {
911 911 type: "envelope",
912 912 coordinates: [{lat: 4, lon: 1}, {lat: 2, lon: 3}]
... ...
lib/searchkick/version.rb
1 1 module Searchkick
2   - VERSION = "3.0.1"
  2 + VERSION = "3.0.2"
3 3 end
... ...