jekyll-lunr-js-search-plusplus 0.2.4 → 0.2.5

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: 3180dd8320960c789f27175efa43373471b86ac0
4
- data.tar.gz: c479ac26eccb4d4f3b475394f9f9694b4f3b1f5d
3
+ metadata.gz: 1144797647123f65248da17d9b18620a5b407026
4
+ data.tar.gz: 5c165f7634d17f988f50466913ed32b257724ecf
5
5
  SHA512:
6
- metadata.gz: e82c1344420c195acc9809cdf97815dfa76ef2e7bb48c9b37ddde32255463790db2c923ec9795c3762deb5ae2a74e84921496d722445f9ce786fac419d236d4f
7
- data.tar.gz: 536c70fec51e5e5f6762c27b89e821889ce8dee860f6d05c10980041999582cd0969e730b91ebe8e1704924d871cf87ffa7d865ad6f535a16d6d104c2b6670a3
6
+ metadata.gz: 3ff97e65c19d39f75ea3485433a896ea7cd7b19555c8584541773498808bf3abc43479b2e1fca656481c046284b28a6e4336bca5a81c5e6cda71f36478a49ea4
7
+ data.tar.gz: aaf274377d66491d314c365043b071a99ea33c5509ac0fa1fc9387e0babe085148cb0071f5e9c180ec2e7c9cd6a5b8e280dbb5805fbc49296f4f94043db21d9e
@@ -40,8 +40,8 @@ module Jekyll
40
40
  search_json_location_source = File.expand_path("search/search.json", site.source)
41
41
  search_json_location_dest = File.expand_path("search.json", site.dest)
42
42
 
43
- if @dev_mode && File.exist?(search_json_location)
44
- search_json = JSON.parse(File.open(search_json_location).read)
43
+ if @dev_mode && File.exist?(search_json_location_source)
44
+ search_json = JSON.parse(File.open(search_json_location_source).read)
45
45
  if search_json["generation_time"] && Date.strptime(search_json["generation_time"], @generation_strftime).day == Time.now.day
46
46
  puts "\nNot running indexer in dev mode since search.json exists within the last day...\n"
47
47
  return
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module LunrJsSearch
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-lunr-js-search-plusplus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen J. Torikian