jekyll_pre 1.4.4 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/jekyll_pre/version.rb +1 -1
- data/lib/pre_tag_block.rb +3 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a623ca19286effb28908ae20f172fadf4e219d6a63a4e1395eab91a9fab5fa29
|
4
|
+
data.tar.gz: 5c10731d8f6c5c5d6cd51006b4e845789e99baedb34b33cd9676481b7ae59f04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02ead3008e59ef610d6a9dd858d8d5e18a02db66e565ebb13da7a1fd3ac5302e86c2d111e19699d9fa06d9b1ae630463849d229b667bb9c72d5615746bf398cd
|
7
|
+
data.tar.gz: d15211befa56cea7ecbf23953865f6cf4edf654c5cb088cc788130990f02b522cb9c39245689bd76b0666b4b5c2e3da5b43242724681d9914726a7eb36953e66
|
data/CHANGELOG.md
CHANGED
data/lib/jekyll_pre/version.rb
CHANGED
data/lib/pre_tag_block.rb
CHANGED
@@ -56,7 +56,6 @@ module JekyllPreModule
|
|
56
56
|
@dark = ' dark' if option 'dark'
|
57
57
|
@dedent = option 'dedent'
|
58
58
|
@highlight = option 'highlight'
|
59
|
-
@label = option 'label'
|
60
59
|
@make_copy_button = option 'copyButton'
|
61
60
|
@number_lines = option 'number'
|
62
61
|
@style = option 'style'
|
@@ -69,7 +68,9 @@ module JekyllPreModule
|
|
69
68
|
@wrapper_style = @wrapper_style ? " style='#{@wrapper_style}'" : ''
|
70
69
|
|
71
70
|
# If a label was specified, use it, otherwise concatenate any dangling parameters and use that as the label
|
72
|
-
|
71
|
+
label_implicit = @helper.argv.join(' ')
|
72
|
+
label_option = option 'label'
|
73
|
+
@label = label_option && label_option.to_s != 'true' ? label_option : label_implicit
|
73
74
|
|
74
75
|
@logger.debug { "@make_copy_button = '#{@make_copy_button}'; @label = '#{@label}'" }
|
75
76
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll_pre
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Slinn
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: '0'
|
106
106
|
requirements: []
|
107
|
-
rubygems_version: 3.
|
107
|
+
rubygems_version: 3.4.22
|
108
108
|
signing_key:
|
109
109
|
specification_version: 4
|
110
110
|
summary: Jekyll tags pre and noselect, for HTML <pre/> tag, prompts and unselectable
|