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: d87f3de718b52d182cb879b78b559db47433214dcdab1dcf90ddb4440e8786f4
4
- data.tar.gz: 5bb3360e18239b9333902d25af80449e45865aca849f34cd4ffbc42125c80a5d
3
+ metadata.gz: 858c4a292d4fb336ff93128c501aa237d13d50a3b5947b4fcb67420d1aebc7fd
4
+ data.tar.gz: 523547279ede54438f37877bef76f7e4aaa3322131d1b08dcaf4b15e8ede1670
5
5
  SHA512:
6
- metadata.gz: 841dc24a1ca245044ec9702e14754d8e32f0ed2ac2222be2ed699544f016ff0a43ab8bdb017cb9c6586a3a5c93e7c812cbf7da79320ba8b0682da1a4249c8211
7
- data.tar.gz: 57733633695727607de8d2fb8a059b1e2184b8c42f623f4bc663d9c4a7fbf3dd4c51231fd6a15306fa1f3d5304c6b6906171b11aee907615e592252e0920b908
6
+ metadata.gz: f65188c5daf1f31e2ba133a2348fc913dab9985fbb678160adedf0d0a9e2eedaccacc000b9c1080876dc6fc1b45efc91a7933b398632304cdeab1146bd99a8e8
7
+ data.tar.gz: fbde90e9a9c6ba21db48257520c1c32824fe9799b4376e0530cfb36bfba2b671a62ad0d735b62c5a4b96f4c1677b4a990ed691e10400074bd3a68ca8db6b76e2
@@ -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.pre10"
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.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-03-28 00:00:00.000000000 Z
12
+ date: 2023-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake