sskatex 0.9.38 → 0.9.39

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 +4 -4
  2. data/lib/sskatex.rb +3 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f04f4f17a18f497eb7650e9e2100f39ef9d32587
4
- data.tar.gz: cb3faf9a2cab026dd6f841edbb09685471b650a9
3
+ metadata.gz: a381ad30215f843d98cad79d1e2fa151aa48faa0
4
+ data.tar.gz: 0e33497f656eab034ba03588bc073059bcf8c2f3
5
5
  SHA512:
6
- metadata.gz: 356db512334ca6898232d3e8ef05c5b8a76c5367f65cef5990de5389e433a68594f7d1d695c879a71da4ed876bd79ebc313faaf3ccfcb77518e4f846fba5d839
7
- data.tar.gz: 28bc531d33a0886a50f6d9b5766a965877c60eac074cb0ebbd5660dd6872d754b9a24b1ceab3b4456e78970b6d64370f03ef698ca45716216b668f13154ecce7
6
+ metadata.gz: fb4f986bee7625e630a8bc249a3444ad89b96177c1264b68adea31aa5ad8b5b328309b317ab73b29932a52b051f6ad2f5a3ff55d0c0229266fd70c93302bb990
7
+ data.tar.gz: f003082f0e4e44b5e29f1a79e1c7f73529e68dae0845c29a4a76b72a1c9122ea913b7efe4c84f7f2e476dc6618337f783de9833c91af5f9823bbdc5227e33fe6
@@ -282,7 +282,9 @@ class SsKaTeX
282
282
 
283
283
  # The +ExecJS::Runtime+ subclass corresponding to #js_run(&logger).
284
284
  def js_runtime(&logger)
285
- @js_runtime ||= Utils::JSRUN_FROMSYM[js_run(&logger)]
285
+ @js_runtime ||= Utils::JSRUN_FROMSYM[js_run(&logger)].tap do |runtime|
286
+ runtime.available? # trigger necessary initializations
287
+ end
286
288
  end
287
289
 
288
290
  # The path to a directory with Javascript helper files as specified by
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sskatex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.38
4
+ version: 0.9.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Cornelssen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-26 00:00:00.000000000 Z
11
+ date: 2018-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs