jekyll_search 0.0.6 → 0.0.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17cb2fe2a32bf023e9262ba6348d24c88379983a
4
- data.tar.gz: 5869d6e645eb526f1acb2cf56caa9ad9214d7f07
3
+ metadata.gz: c0bd8bb2c6bd7fe6b3b95e5f85da9787bb15b129
4
+ data.tar.gz: 84b1e014c56b4bc4bceec6ca622c9f032b560f00
5
5
  SHA512:
6
- metadata.gz: 7734193752ae578b5f7446ea76375c2913a7ccb6dfff8b169414b9fadffc20c579860776f947b72e5eb4e790ce66d91a458e04dc87a1ebf134b5cb93e157408c
7
- data.tar.gz: d7bc208e72226798beb03c09be4c6acbd30a8d9c540eab500dacb73119b7738df50c29e40b65907c71a63e6cd9efc87c574311e00b297fc0fc27413e1bb028cf
6
+ metadata.gz: 01e105a194e49b587f59dddaddceefa0bbccd8b7aba687c70439bde504881736ed6078b6d9f70306589c7779bdf9e163f90c9b0e3fc13f9e2c5db630163d3561
7
+ data.tar.gz: ef00f2eb511c977ced1f3247e6dec3654af54c02922ec4c48d2ce35646d554438ea86df629cce719c13d37376e3f540695aeeb167dce60a99b4e310effae332e
data/lib/jekyll_search.rb CHANGED
@@ -28,7 +28,8 @@ module Jekyll
28
28
  site.process
29
29
  settings = site.config['search']
30
30
 
31
- client = Elasticsearch::Client.new host: settings['host'], log: false
31
+ host = ENV['JEKYLL_INDEX_HOST'] || settings['host']
32
+ client = Elasticsearch::Client.new host: host, log: false
32
33
  create_index(client, settings)
33
34
 
34
35
  pages = collect_content(site, site.pages)
@@ -1,3 +1,3 @@
1
1
  module JekyllSearch
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Hoffmeister