jekyll-highlight-cards 1.1.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a496b0ee2c27e17850013b6b6312f0ebed83c8435c9f79c751f7d8abee98d730
4
- data.tar.gz: de62c4ec548155d0989f678aa2bcb1c1c1323c25854df7cd3ed3cf4200817b22
3
+ metadata.gz: 14f9f3f5b5374e35f95524afc77c6edfc8a09469154924fa17859089b5df71c8
4
+ data.tar.gz: 896055006ef9a9ebe42e992c621ce0e666c487f8166be65b208ca7f173ef955d
5
5
  SHA512:
6
- metadata.gz: 54445f4f6123e5a9c55db19a249c642879651c891c0bf93136b84265792f03692b6bf97001517c75ec2dbcd8c5f7ae06e57d2f20e2af44065391067cd025df3a
7
- data.tar.gz: '06758a30fc8edf87c9bd2c55d18c8c71ea54934250786a851e75fc7c35c9d2098c53371ed5937648f73679cb3f15f7ad1dbd33b1c540ae365e9809404ed44b72'
6
+ metadata.gz: 1fe96dece9fb642150e35571f1b7e8887b1d91236a16ea367d434846b550141dd08780e4532642db2e9103607fd5af70ae484ff85a018e30e678105113c45ca3
7
+ data.tar.gz: 224ec98ce539b1f7a00b9b8707b6552638c07ddacb8ff6ff87c988b5bed74c66c9c9bfd67dfa08ddf18ac072518b7418690c6b54a93dc71a83364045dce9d0c4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.0](https://github.com/Texarkanine/jekyll-highlight-cards/compare/v1.1.2...v2.0.0) (2026-01-18)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * standardize config across Jekyll gem repos ([#26](https://github.com/Texarkanine/jekyll-highlight-cards/issues/26))
9
+ * Drop ostensible support for Ruby 3.1; only 3.3+ is promised
10
+
11
+ ### Features
12
+
13
+ * standardize config across Jekyll gem repos ([#26](https://github.com/Texarkanine/jekyll-highlight-cards/issues/26)) ([93d93bc](https://github.com/Texarkanine/jekyll-highlight-cards/commit/93d93bc7e922712e3df81c36ab5bbb78749db630))
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **deps-dev:** bump rubocop-rspec in the dev-deps-minor-patch group ([169a11f](https://github.com/Texarkanine/jekyll-highlight-cards/commit/169a11f9e9f57e7ed93bedb66c822e4a98ae0da8))
19
+
20
+
21
+ ### Miscellaneous Chores
22
+
23
+ * standardize config across Jekyll gem repos ([93d93bc](https://github.com/Texarkanine/jekyll-highlight-cards/commit/93d93bc7e922712e3df81c36ab5bbb78749db630))
24
+
25
+ ## [1.1.2](https://github.com/Texarkanine/jekyll-highlight-cards/compare/v1.1.1...v1.1.2) (2026-01-01)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **deps-dev:** bump rubocop from 1.82.0 to 1.82.1 in the dev-deps-minor-patch group ([#22](https://github.com/Texarkanine/jekyll-highlight-cards/issues/22)) ([1788b1e](https://github.com/Texarkanine/jekyll-highlight-cards/commit/1788b1e0e00d1b9a5bbf4eaf27e2bb1a1657ed48))
31
+ * **deps-dev:** bump rubocop in the dev-deps-minor-patch group ([1788b1e](https://github.com/Texarkanine/jekyll-highlight-cards/commit/1788b1e0e00d1b9a5bbf4eaf27e2bb1a1657ed48))
32
+
3
33
  ## [1.1.1](https://github.com/Texarkanine/jekyll-highlight-cards/compare/v1.1.0...v1.1.1) (2025-12-22)
4
34
 
5
35
 
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  "Also extends Markdown support to allow specifying image dimensions."
15
15
  spec.homepage = "https://github.com/texarkanine/jekyll-highlight-cards"
16
16
  spec.license = "AGPL-3.0-or-later"
17
- spec.required_ruby_version = ">= 3.1.0"
17
+ spec.required_ruby_version = ">= 3.3.0"
18
18
 
19
19
  spec.metadata["homepage_uri"] = spec.homepage
20
20
  spec.metadata["source_code_uri"] = spec.homepage
@@ -149,7 +149,7 @@ module JekyllHighlightCards
149
149
 
150
150
  # Check if current line and previous lines are indented
151
151
  idx = line_idx
152
- while idx > 0
152
+ while idx.positive?
153
153
  line = lines[idx]
154
154
  # If line starts with 4+ spaces or tab, it's indented code
155
155
  break unless line =~ /^( |\t)/
@@ -93,11 +93,11 @@ module JekyllHighlightCards
93
93
  if char == "{" && !in_quotes
94
94
  in_liquid += 1
95
95
  current += char
96
- elsif char == "}" && !in_quotes && in_liquid > 0
96
+ elsif char == "}" && !in_quotes && in_liquid.positive?
97
97
  in_liquid -= 1
98
98
  current += char
99
99
  # Track quote boundaries
100
- elsif ['"', "'"].include?(char) && !in_quotes && in_liquid == 0
100
+ elsif ['"', "'"].include?(char) && !in_quotes && in_liquid.zero?
101
101
  in_quotes = true
102
102
  quote_char = char
103
103
  current += char
@@ -106,7 +106,7 @@ module JekyllHighlightCards
106
106
  current += char
107
107
  quote_char = nil
108
108
  # Split on whitespace only if not in quotes or Liquid expression
109
- elsif char.match?(/\s/) && !in_quotes && in_liquid == 0
109
+ elsif char.match?(/\s/) && !in_quotes && in_liquid.zero?
110
110
  tokens << current unless current.empty?
111
111
  current = ""
112
112
  else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllHighlightCards
4
- VERSION = "1.1.1"
4
+ VERSION = "2.0.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-highlight-cards
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Texarkanine
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-12-22 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: jekyll
@@ -211,7 +210,6 @@ metadata:
211
210
  source_code_uri: https://github.com/texarkanine/jekyll-highlight-cards
212
211
  changelog_uri: https://github.com/texarkanine/jekyll-highlight-cards/blob/main/CHANGELOG.md
213
212
  rubygems_mfa_required: 'true'
214
- post_install_message:
215
213
  rdoc_options: []
216
214
  require_paths:
217
215
  - lib
@@ -219,15 +217,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
217
  requirements:
220
218
  - - ">="
221
219
  - !ruby/object:Gem::Version
222
- version: 3.1.0
220
+ version: 3.3.0
223
221
  required_rubygems_version: !ruby/object:Gem::Requirement
224
222
  requirements:
225
223
  - - ">="
226
224
  - !ruby/object:Gem::Version
227
225
  version: '0'
228
226
  requirements: []
229
- rubygems_version: 3.3.27
230
- signing_key:
227
+ rubygems_version: 3.6.9
231
228
  specification_version: 4
232
229
  summary: Jekyll plugin providing linkcard and polaroid Liquid tags with archive integration
233
230
  test_files: []