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.
- checksums.yaml +5 -5
- data/lib/jekyll-mathjax-csp.rb +1 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 54af556ecbe1f41c2faa2a2ddae7f0ad301c97d6fea42d5f17177489d149bed3
|
4
|
+
data.tar.gz: 4143fc563c8892118a7f2b36acfb57c945c918a4e77d55ff731c63143c3d9f96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77d6050e0afc22b614e4bb3a477fafef9ee3dff37902e3f3f0de3c063f03f0ab3b4ea9d23d871da4fc910cf9627fd4bf448866f7c3d0d23cd838f50fd75abd14
|
7
|
+
data.tar.gz: 5990880a46e9bbbb26f20227737c1295be15f3ed8368d9519e08bc3507bfa08884db3376f72be6c2be396c16e6bfb8d3959a1ed0ab5a44a8fe8494757ad824d7
|
data/lib/jekyll-mathjax-csp.rb
CHANGED
@@ -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.
|
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-
|
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
|
70
|
+
rubygems_version: 2.7.6
|
71
71
|
signing_key:
|
72
72
|
specification_version: 4
|
73
73
|
summary: Server-side MathJax & CSP for Jekyll
|