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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c89cf099202a906fdf96df36e81338c90924c3a819203e63d211ecad6f3e9e7
4
- data.tar.gz: 746f1de02fb9a05c78e187d03772780b16803354d6b4ccf26ba32e9be824de27
3
+ metadata.gz: 1d854af1a96cc957c37841f10e74dbea3de5b1177e3ca820810740ee567afa01
4
+ data.tar.gz: 52b8e68dc8aeb470dc8c8f278fe48aedaf9b725f3f5fb35404b828251a61c3a2
5
5
  SHA512:
6
- metadata.gz: 26d21b5e2b40ec1bb7498f676363da19285b987d74a04ae4b63fd1189c57cc613b84f3c3a9ce9fe6db09e8d5e99985483d37be58244ca696ca57331ac09388d1
7
- data.tar.gz: dc61b924679ee29ff2a31a620fe5ffaffb5764e40cfbc0646b4daaf75147868b61e8f091c7291736aa90148c17e754d9058411f5efae5ebde347f5620778e3b5
6
+ metadata.gz: e09039bd81ee0324d1648a29339239d1f0cb941691d89b6c5e014df6853acf947c3319543cfafb8bc2d8aec87f1025c220eb57bd7ffd6d16696e1a1e9d071457
7
+ data.tar.gz: 0a437c0db69c293535a33e669aa04df490e98d50f383dff834db5310c42426f709f4cd51504811fe34bdd863c92120920065a24875eecfe24efabe9c0a301281
Binary file
Binary file
@@ -26,7 +26,7 @@ module Commonmarker
26
26
  header_ids: "",
27
27
  footnotes: false,
28
28
  description_lists: false,
29
- front_matter_delimiter: nil,
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 nil if plugin.nil? # plugin explicitly nil, remove it
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Commonmarker
4
- VERSION = "1.0.0.pre9"
4
+ VERSION = "1.0.0.pre11"
5
5
  end
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.pre9
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-03-28 00:00:00.000000000 Z
12
+ date: 2023-10-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake