commonmarker 1.0.0.pre9-x86_64-darwin → 1.0.0.pre11-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: d87f3de718b52d182cb879b78b559db47433214dcdab1dcf90ddb4440e8786f4
4
- data.tar.gz: 5bb3360e18239b9333902d25af80449e45865aca849f34cd4ffbc42125c80a5d
3
+ metadata.gz: 70a4bb7ec5741fc95923e2a5ebe58cadf2e9a02928ae94c0fffe3b5ca12573e6
4
+ data.tar.gz: d07cb54f48606624527b6853b24e2e4e8923d0f63065730989468ffd24a6dc4a
5
5
  SHA512:
6
- metadata.gz: 841dc24a1ca245044ec9702e14754d8e32f0ed2ac2222be2ed699544f016ff0a43ab8bdb017cb9c6586a3a5c93e7c812cbf7da79320ba8b0682da1a4249c8211
7
- data.tar.gz: 57733633695727607de8d2fb8a059b1e2184b8c42f623f4bc663d9c4a7fbf3dd4c51231fd6a15306fa1f3d5304c6b6906171b11aee907615e592252e0920b908
6
+ metadata.gz: 5870196b206de742b66c269cab55f7573bbb070379e3fe5b6356f39be490b08a7ac665d93bc787a69f5afab5c17dd306830a3f109246ac4082afbca8c27e62d8
7
+ data.tar.gz: 863671a2572524e3ee41ec60ad7906d216ed27f5b918fc9031c6c5f7a845eb94e6099dbc792f55dd565f3cbaca4e60dfce18ec34287590d2594a0f3bfe82a003
@@ -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-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-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