jekyll-mathjax-csp 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/jekyll-mathjax-csp.rb +1 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 01bd64fd8d582eea8894967ebbad9f10dcdd3f8b
4
- data.tar.gz: 37f9f822e76db1ee72af86e1d131d7d5b097d2ff
2
+ SHA256:
3
+ metadata.gz: 54af556ecbe1f41c2faa2a2ddae7f0ad301c97d6fea42d5f17177489d149bed3
4
+ data.tar.gz: 4143fc563c8892118a7f2b36acfb57c945c918a4e77d55ff731c63143c3d9f96
5
5
  SHA512:
6
- metadata.gz: 750b1868ae242cbbfddd73cb91b4041506194ddc9cec3bb0bf2bfc4bacb3bf136aea90d62fec6d1df6cc6bd1f283a54099ee409c223c14581172236337842214
7
- data.tar.gz: a73d6b9e7f560729893c29064fe47425a5023ef4163aca8ff3bb5c3b4b719ab8ffa363003ff67dfa4ab5306e54dddc3fcc8fdb446e9b67f5835622763b29c65b
6
+ metadata.gz: 77d6050e0afc22b614e4bb3a477fafef9ee3dff37902e3f3f0de3c063f03f0ab3b4ea9d23d871da4fc910cf9627fd4bf448866f7c3d0d23cd838f50fd75abd14
7
+ data.tar.gz: 5990880a46e9bbbb26f20227737c1295be15f3ed8368d9519e08bc3507bfa08884db3376f72be6c2be396c16e6bfb8d3959a1ed0ab5a44a8fe8494757ad824d7
@@ -31,7 +31,6 @@ require "jekyll"
31
31
 
32
32
  require "digest"
33
33
  require "open3"
34
- require "securerandom"
35
34
  require "set"
36
35
 
37
36
  module Jekyll
@@ -186,7 +185,7 @@ end
186
185
  # single <style> element
187
186
  Jekyll::Hooks.register [:documents, :pages], :post_render do |doc|
188
187
  if Jekyll::Mathifier.mathable?(doc)
189
- Jekyll::Mathifier.mathify(doc, doc.site.config["mathjax_csp"])
188
+ Jekyll::Mathifier.mathify(doc, doc.site.config["mathjax_csp"] || {})
190
189
  end
191
190
  end
192
191
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-mathjax-csp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabian Henneke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-04 00:00:00.000000000 Z
11
+ date: 2018-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html-pipeline
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  version: '0'
68
68
  requirements: []
69
69
  rubyforge_project:
70
- rubygems_version: 2.6.13
70
+ rubygems_version: 2.7.6
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: Server-side MathJax & CSP for Jekyll