jekyll-commonmark-ghpages 0.2.0 → 0.3.0

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: 8b6560d6d39742b63f7976d4b6df8dcc4f0cbf96cbfd72d786b2884f9623144a
4
- data.tar.gz: d5f9045e89575c3b4a32690976e90a4c2783f970a78a068a79a5409aa8e99753
3
+ metadata.gz: f104602430d3dcfdf6f203f48c28f96ef6a2ed55f0d1b4d6fdc42c61563b5cb9
4
+ data.tar.gz: 34e3c43d388356a610e888512e736371aa36e9b1b8eaf4bed6927794cd57824e
5
5
  SHA512:
6
- metadata.gz: 3746a5a1699a22924cd92e8175dcd38f51a07208ac90e8730724964a48a1b56ecec41c0d7a0a619aac089dd6f9f3d586018746761e7240f7b28f3092d82e089d
7
- data.tar.gz: 034d544a15c89930b5691ef68324f8a37857aacd0d21ee802c31f19703d61eae1c6fe4c71860a1dd547482d638512b95d52c1cca50363815e2e9e773c7535ee2
6
+ metadata.gz: 94c3d371e0c168ea5d46ac115858ea0fe19327a8886921daa04fef7ba7c43d0bec2ae9a046ba6582ce79738b65e6db1673151502f6e127634cecdd48ea523794
7
+ data.tar.gz: 3f74ee610aef246cedc72b6a3c38d60e3bc37bdfbeb0a9f794743a522bfea64bfa88d2c85d36cb43ba633853b4233be750f8cccd770e39d0d5860bfa7bb612f2
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "jekyll-commonmark-ghpages"
5
5
  spec.summary = "CommonMark generator for Jekyll"
6
- spec.version = "0.2.0"
6
+ spec.version = "0.3.0"
7
7
  spec.authors = ["GitHub, Inc."]
8
8
  spec.email = "support@github.com"
9
9
  spec.homepage = "https://github.com/github/jekyll-commonmark-ghpages"
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
 
17
17
  spec.add_runtime_dependency "jekyll", "~> 3.9.0"
18
18
  spec.add_runtime_dependency "jekyll-commonmark", "~> 1.4.0"
19
- spec.add_runtime_dependency "commonmarker", "~> 0.23.4"
19
+ spec.add_runtime_dependency "commonmarker", "~> 0.23.6"
20
20
  spec.add_runtime_dependency "rouge", ">= 2.0", "< 4.0"
21
21
 
22
22
  spec.add_development_dependency "rspec", "~> 3.0"
@@ -46,8 +46,11 @@ class JekyllCommonMarkCustomRenderer < ::CommonMarker::HtmlRenderer
46
46
  out('><code>')
47
47
  else
48
48
  out("<pre#{sourcepos(node)}><code")
49
- out(' class="language-', lang, '">') if lang
50
- out('>')
49
+ if lang
50
+ out(' class="language-', lang, '">')
51
+ else
52
+ out('>')
53
+ end
51
54
  end
52
55
  out(escape_html(content))
53
56
  out('</code></pre>')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-commonmark-ghpages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub, Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-03 00:00:00.000000000 Z
11
+ date: 2022-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.23.4
47
+ version: 0.23.6
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.23.4
54
+ version: 0.23.6
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rouge
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,7 +100,7 @@ dependencies:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
- description:
103
+ description:
104
104
  email: support@github.com
105
105
  executables: []
106
106
  extensions: []
@@ -122,7 +122,7 @@ homepage: https://github.com/github/jekyll-commonmark-ghpages
122
122
  licenses:
123
123
  - MIT
124
124
  metadata: {}
125
- post_install_message:
125
+ post_install_message:
126
126
  rdoc_options: []
127
127
  require_paths:
128
128
  - lib
@@ -137,8 +137,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  requirements: []
140
- rubygems_version: 3.1.6
141
- signing_key:
140
+ rubygems_version: 3.3.22
141
+ signing_key:
142
142
  specification_version: 4
143
143
  summary: CommonMark generator for Jekyll
144
144
  test_files: