thredded-markdown_katex 0.4.0 → 0.4.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa32235cb2282171c43c3c9133368bf0c352d69d5c7edacec92bf4815c3139d2
|
4
|
+
data.tar.gz: bea6b8d143c0c16cd4e71d77e348a9d4f50e4dffd3f9d533d3006f76cdf40f96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91f44c95c607468461fb49372f63b81fd74e173283ffaa4612b49c6814c53ef0df67fc3190904810f30cb23ecb03ea54365384edd678ed7332f48f02cabf41b3
|
7
|
+
data.tar.gz: 7b7d24de70e3be9228fbe3ad32902b1ee474769afb2a168c672852f8a2d0bed8851c07ecf537b86d97bb7b43d6f48ca176374591b4eeac0a7549a859cc932b5b
|
@@ -11,6 +11,7 @@ module Thredded
|
|
11
11
|
%w[application.scss _deps.scss].each do |scss_file|
|
12
12
|
scss_path = File.join('app', 'assets', 'stylesheets', scss_file)
|
13
13
|
next unless File.exist? scss_path
|
14
|
+
|
14
15
|
append_to_file scss_path, "\n" + '@import "_katex";' + "\n"
|
15
16
|
end
|
16
17
|
sass_path = 'app/assets/stylesheets/application.sass'
|
@@ -62,7 +62,7 @@ module Thredded
|
|
62
62
|
Thredded::ContentFormatter.whitelist[:css][:properties] ||= []
|
63
63
|
Thredded::ContentFormatter.whitelist[:css][:properties] += %w[
|
64
64
|
background-color border-color color width min-width height min-height
|
65
|
-
vertical-align padding-left margin-left margin-right font-size top
|
65
|
+
vertical-align padding-left margin-left margin-right font-size position left top
|
66
66
|
]
|
67
67
|
end
|
68
68
|
|
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.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gleb Mazovetskiy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01
|
11
|
+
date: 2019-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katex
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '2.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -159,8 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
159
|
- !ruby/object:Gem::Version
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
|
-
|
163
|
-
rubygems_version: 2.7.8
|
162
|
+
rubygems_version: 3.0.3
|
164
163
|
signing_key:
|
165
164
|
specification_version: 4
|
166
165
|
summary: Adds TeX math support to Thredded markup via KaTeX.
|