jekyll_pre 1.1.0 → 1.1.1

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: 2a4c55485eec7e53914d0be22bc4fcd6701e0ec9fa2137193953e4cf8b1013d5
4
- data.tar.gz: 9a150916aff92e21ac2ed5bd378018dc864cbeaeb5dd1792bcec58fd47bed40c
3
+ metadata.gz: b79b7abf9ee4c8a48c3886fbc286e7f15c3525cd6e4df1aa48afaa57b2912d70
4
+ data.tar.gz: 20e448f4ecc75578c46728c821bc09529e587758cfcc0b40783ee6fd487ee095
5
5
  SHA512:
6
- metadata.gz: 26b7a66d9bb2ed68f8f0d4f9e5e1f9bb8a07f21bc414abb8daa2ae50fa3206ad7a0942d395b67b1c50bf946c80be007c387f8492ed250e6ca32c16363e9f561c
7
- data.tar.gz: 4e6a7e59158589373a8a4701d0985a948c16c9f5fbd6b9c940329df52c65bea6596108fa6ddb14e0aa50495ba10b522fb61b15b9a86e100da6ad307a38d2ad33
6
+ metadata.gz: 29643f46fdfed357b6ec9fcecc7344a5da043ddebc7fcd1f9f4d09d6d249b5f43c81f8d83e6b627879c2bbb1f67f40e7fe246f6451b8b7df672c4f3d30551df0
7
+ data.tar.gz: 2baae24a428b940bff90b8871a84b6c0c13af534af066755ff0308e22534c74d75435f056e873d9fd135e7902b645ba5df49c4b4b8e3f82b0afcbc8e9031b036
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.1.1 / 2022-03-31
2
+ * Added `numbered_line` CSS class for unselectable line numbers
3
+
1
4
  ## 1.1.0 / 2022-03-31
2
5
  * Added `number` option, which generates unselectable line numbers for contents
3
6
 
data/README.md CHANGED
@@ -24,8 +24,10 @@ Below are the CSS declarations that I defined pertaining to the pre and noselect
24
24
  max-height: 500px;
25
25
  }
26
26
 
27
- .numbered_line {
28
- color: rgb(65, 77, 65);
27
+ .numbered_line,
28
+ .unselectable.numbered_line,
29
+ .numbered_line.unselectable {
30
+ color: #5fb25f;
29
31
  }
30
32
 
31
33
  .unselectable {
data/jekyll_pre.gemspec CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.required_ruby_version = ">= 2.6.0"
33
33
  spec.summary = "Jekyll tags pre and noselect, for HTML <pre/> tag, prompts and unselectable text. Can number lines."
34
34
  spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)
35
- spec.version = JekyllPre::VERSION
35
+ spec.version = JekyllPreVersion::VERSION
36
36
 
37
37
  spec.add_dependency "jekyll", ">= 3.5.0"
38
38
  spec.add_dependency "jekyll_plugin_logger"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module JekyllPre
4
- VERSION = "1.1.0"
3
+ module JekyllPreVersion
4
+ VERSION = "1.1.1"
5
5
  end
data/lib/jekyll_pre.rb CHANGED
@@ -117,6 +117,6 @@ class UnselectableTag < Liquid::Tag
117
117
  end
118
118
  end
119
119
 
120
- PluginMetaLogger.instance.info { "Loaded #{JekyllPluginPreName::PLUGIN_NAME} v#{JekyllPre::VERSION} plugin." }
120
+ PluginMetaLogger.instance.info { "Loaded #{JekyllPluginPreName::PLUGIN_NAME} v#{JekyllPreVersion::VERSION} plugin." }
121
121
  Liquid::Template.register_tag("pre", PreTagBlock)
122
122
  Liquid::Template.register_tag("noselect", UnselectableTag)
@@ -1,4 +1,4 @@
1
1
  example_id | status | run_time |
2
2
  ----------------------- | ------ | --------------- |
3
- ./spec/pre_spec.rb[1:1] | passed | 0.00253 seconds |
4
- ./spec/pre_spec.rb[1:2] | passed | 0.00203 seconds |
3
+ ./spec/pre_spec.rb[1:1] | passed | 0.00366 seconds |
4
+ ./spec/pre_spec.rb[1:2] | passed | 0.00288 seconds |
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_pre
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Slinn