commonmarker 1.0.0.pre9-x64-mingw-ucrt → 1.0.0.pre11-x64-mingw-ucrt
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: b8168f6bb954a73af725c3510b8f52e67d539f026c30936d109d9c1e414f81b6
|
4
|
+
data.tar.gz: a36ce8dfb1c5148a83bdd0635a9f58c1fe18f9941a0463161c58a06be2dc97ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bf47fc1d0109e58b20e2ecd3d95d21b68abf5ecf88a449e836706d04af388ffb588cc64a1c7408f7aed678ff73650241d244692777e4b4f580ec685687838cd
|
7
|
+
data.tar.gz: 85877aaf552b79e26152839623f00c47d3bb0588fa76abfe67fa4ef5faf0a0291259a21aa06e48ead31940dc8dabcd9975bd0ef107123292ac37b34e85d5ad8f
|
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: x64-mingw-ucrt
|
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
|