thredded-markdown_katex 0.3.1 → 0.4.0

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
- SHA1:
3
- metadata.gz: 962c899151ab60407404938651efea5ed5cfd13c
4
- data.tar.gz: 634e4c5b4f5f6c1682440a8178362c7997e96bad
2
+ SHA256:
3
+ metadata.gz: ed96f469b7fdcc68693ae31f109cd9a0155917d26b1245a1b4c23f66580c4cce
4
+ data.tar.gz: d78fe5092eac6466efea45d80df1b0c19ef6b154d570137f1f25e1c451b02ef6
5
5
  SHA512:
6
- metadata.gz: 5789569d5d30e55685f97683727f51188f5c45446371b9b023a59992394a3dee82e5fda72e671ea1bab3b2527dd8c113a13c6175242bc94f36efa44d2f5e5f99
7
- data.tar.gz: 79d277614fd2c5e3807f7a12c155534086afe0c7275afb85e3dd2d29daa3d22f9e352c98f54473bcf58c34b1db74bf90571a4a587206fa8c79d599624af79ad1
6
+ metadata.gz: a4d4b92e522785dad84adfd325e50cdae9145052daad8ce6053d6ceaa9f70fb6e663457fe114597a01f4f21f269e5b0bc4fa45cc3a599dbe0244416b920f677a
7
+ data.tar.gz: ede7ca868117f825cafe819a95687ef39749217066d581f7419a83a6f5de0fbe1a56fab1854a0f283469178a38bbc04d97892118da84d00ab9c97056c6a432da
@@ -25,6 +25,8 @@ module Thredded
25
25
  # KaTeX engine for versions of Kramdown that do not have it built-in:
26
26
  if Gem::Version.new(Kramdown::VERSION) < Gem::Version.new('1.17.0')
27
27
  require 'thredded/markdown_katex/kramdown/katex_converter'
28
+ else
29
+ require 'kramdown-math-katex'
28
30
  end
29
31
  Thredded::HtmlPipeline::KramdownFilter.options.update(options)
30
32
  else
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Thredded
4
4
  module MarkdownKatex
5
- VERSION = '0.3.1'
5
+ VERSION = '0.4.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thredded-markdown_katex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Mazovetskiy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-10 00:00:00.000000000 Z
11
+ date: 2019-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: katex
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.4.3
27
+ - !ruby/object:Gem::Dependency
28
+ name: kramdown-math-katex
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -146,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
160
  version: '0'
147
161
  requirements: []
148
162
  rubyforge_project:
149
- rubygems_version: 2.6.12
163
+ rubygems_version: 2.7.8
150
164
  signing_key:
151
165
  specification_version: 4
152
166
  summary: Adds TeX math support to Thredded markup via KaTeX.