jekyll-wns 4.2.0 → 4.2.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
  SHA256:
3
- metadata.gz: a995d602d32dc995ad7d09baa3b5419873e39612b021d34a20ad2fc07640d769
4
- data.tar.gz: 356c4ebd2d6f7d3507cc26d74821c6206e5a86be29f882a935b1c9a4e2364706
3
+ metadata.gz: 104dc7939f1c3a81372cf2b9d24ab46562f6368d173573b3246377b1c4189f9e
4
+ data.tar.gz: e491889d693921266971921c96bff5a283602ec246c328e34760873483a96495
5
5
  SHA512:
6
- metadata.gz: ab9537e8acee7d592a8e8925fb6595e5a21cccdb93964049aa6ec0d10f4c4b6d398499d16502551fb0f157367ac741bf1045c45af3d049967431c8d4c894eafb
7
- data.tar.gz: 17fe36761fb33158dd621375072e88a01e9247dd6513a6897f506f6fce3ac9e5c3b44bd636fa0b57a81e95f2a607da359865e9d30e8e075917e427a2014e74bc
6
+ metadata.gz: 57ddf6562fda69eb06d5ebea185c9a0d08918a850ddb91a25ecbfaf77f4c75cc818ee45e13d090ba7ff20db3e5c93324745fe8959702f717b836db126a09f974
7
+ data.tar.gz: 7f050031c6a574bd720d496b40ce290a9b57e0bb6769271010db344dacb1c5daee6ad4362f132c6028aee159441efc325b3e0a15c14faa99da9d15763e7a7021
data/jekyll-wns.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "jekyll-wns"
5
- spec.version = "4.2.0"
5
+ spec.version = "4.2.1"
6
6
  spec.authors = ["Thai Chung"]
7
7
  spec.email = ["mail@0xReki.de"]
8
8
  spec.summary = "Collection of Filters, Tags and Hooks I use."
@@ -12,7 +12,7 @@ module WNS
12
12
  wns = doc.site.config["wns"] || {}
13
13
  labels = wns["label_pronounciation"] || false
14
14
  for i in (0..(labels.length()) - 1) do
15
- doc.content = doc.content.gsub(Regexp.new("\b#{labels[i].term}\b"), "<span aria-label='#{labels[i].pronounciation}'>\\1</span>")
15
+ doc.content = doc.content.gsub(Regexp.new("\b#{labels[i]["term"]}\b"), "<span aria-label='#{labels[i]["pronounciation"]}'>\\1</span>")
16
16
  end
17
17
  end
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-wns
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thai Chung