jekyll_pages_api_search 0.4.0 → 0.4.1

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
  SHA1:
3
- metadata.gz: 81cecc0754567d314afd3086f4ea24be98faf6d0
4
- data.tar.gz: 947c785fad9e4238d1d502e9f2ef9966800d5cb2
3
+ metadata.gz: 23b585af710c1be7f2453f9d1793ad9b7441d569
4
+ data.tar.gz: 02ea4581911f554673a617cc68221911be705101
5
5
  SHA512:
6
- metadata.gz: 144b8f66a8550475ad9187c116a19df9dc72ca0c97a62fc25147ef03d971e421eb44391624251ac9e1a853cc9e04136587ffe8ab475b0781113e6207d2e042fd
7
- data.tar.gz: a137c0de49749f57f415e66b44589c75716d4aa2209200dfb5a1a273cd5c6991fab60e713fbc660cb2918e261a89446eb19b047e4ea88ec5a21b442098347ada
6
+ metadata.gz: 007be2b830d2e543f48df59d09225cfef255902a0cdad1ef976caa271910a87e2a9c767fad97ea9f2ccdae92a9b6692ebc738185aeb9a92788cd410ade2a4e21
7
+ data.tar.gz: 12aa16a35e11ad47b929588b4c2b127f09d8e9d5ba1921cb032682bbb97dee38f6f19565c37393f500e559b34c2278aca0b2b98c79e810f29f3f0bdf43487ec3
@@ -22,9 +22,7 @@ module JekyllPagesApiSearch
22
22
  private
23
23
 
24
24
  def endpoint(site_config, search_config)
25
- baseurl = "#{site_config['baseurl'] || ''}"
26
- search_endpoint = search_config['endpoint'] || DEFAULT_ENDPOINT
27
- "/#{baseurl}/#{search_endpoint}/".gsub(/\/+/, '/')
25
+ "/#{search_config['endpoint'] || DEFAULT_ENDPOINT}/".gsub(/\/+/, '/')
28
26
  end
29
27
  end
30
28
  end
@@ -1,5 +1,5 @@
1
1
  # @author Mike Bland (michael.bland@gsa.gov)
2
2
 
3
3
  module JekyllPagesApiSearch
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_pages_api_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Bland