commonmarker 1.0.0.pre9-x86_64-darwin → 1.0.0.pre10-x86_64-darwin
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: 858c4a292d4fb336ff93128c501aa237d13d50a3b5947b4fcb67420d1aebc7fd
|
4
|
+
data.tar.gz: 523547279ede54438f37877bef76f7e4aaa3322131d1b08dcaf4b15e8ede1670
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f65188c5daf1f31e2ba133a2348fc913dab9985fbb678160adedf0d0a9e2eedaccacc000b9c1080876dc6fc1b45efc91a7933b398632304cdeab1146bd99a8e8
|
7
|
+
data.tar.gz: fbde90e9a9c6ba21db48257520c1c32824fe9799b4376e0530cfb36bfba2b671a62ad0d735b62c5a4b96f4c1677b4a990ed691e10400074bd3a68ca8db6b76e2
|
Binary file
|
Binary file
|
data/lib/commonmarker/config.rb
CHANGED
@@ -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.pre10
|
5
5
|
platform: x86_64-darwin
|
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-07-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|