commonmarker 1.0.0.pre9-x86_64-linux → 1.0.0.pre11-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/commonmarker/3.1/commonmarker.so +0 -0
- data/lib/commonmarker/3.2/commonmarker.so +0 -0
- data/lib/commonmarker/config.rb +2 -2
- data/lib/commonmarker/version.rb +1 -1
- data/lib/commonmarker.rb +0 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d854af1a96cc957c37841f10e74dbea3de5b1177e3ca820810740ee567afa01
|
4
|
+
data.tar.gz: 52b8e68dc8aeb470dc8c8f278fe48aedaf9b725f3f5fb35404b828251a61c3a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e09039bd81ee0324d1648a29339239d1f0cb941691d89b6c5e014df6853acf947c3319543cfafb8bc2d8aec87f1025c220eb57bd7ffd6d16696e1a1e9d071457
|
7
|
+
data.tar.gz: 0a437c0db69c293535a33e669aa04df490e98d50f383dff834db5310c42426f709f4cd51504811fe34bdd863c92120920065a24875eecfe24efabe9c0a301281
|
Binary file
|
Binary file
|
data/lib/commonmarker/config.rb
CHANGED
@@ -26,7 +26,7 @@ module Commonmarker
|
|
26
26
|
header_ids: "",
|
27
27
|
footnotes: false,
|
28
28
|
description_lists: false,
|
29
|
-
front_matter_delimiter:
|
29
|
+
front_matter_delimiter: "",
|
30
30
|
shortcodes: true,
|
31
31
|
},
|
32
32
|
format: [:html].freeze,
|
@@ -79,7 +79,7 @@ module Commonmarker
|
|
79
79
|
|
80
80
|
[:syntax_highlighter].each do |type|
|
81
81
|
define_singleton_method :"process_#{type}_plugin" do |plugin|
|
82
|
-
return
|
82
|
+
return if plugin.nil? # plugin explicitly nil, remove it
|
83
83
|
|
84
84
|
Commonmarker::Config::PLUGINS[type].each_with_object({}) do |(key, value), hash|
|
85
85
|
if plugin.nil? # option not provided, go for the default
|
data/lib/commonmarker/version.rb
CHANGED
data/lib/commonmarker.rb
CHANGED
@@ -7,11 +7,6 @@ require "commonmarker/config"
|
|
7
7
|
require "commonmarker/renderer"
|
8
8
|
require "commonmarker/version"
|
9
9
|
|
10
|
-
if ENV.fetch("DEBUG", false)
|
11
|
-
require "awesome_print"
|
12
|
-
require "debug"
|
13
|
-
end
|
14
|
-
|
15
10
|
module Commonmarker
|
16
11
|
class << self
|
17
12
|
# Public: Parses a CommonMark string into an HTML string.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: commonmarker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.pre11
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-10-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|