jekyll-uj-powertools 1.6.14 → 1.6.16

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: 18477ab3973e5e57e8219050d534de95931357c22447f6ee3ad189c78af1303f
4
- data.tar.gz: ee42cd7804794b12971d8480ca7f4571d7ca1229587d0d6c11e90685eb143a1a
3
+ metadata.gz: 3525305db3359ec2b34b99d69681a2189d744d10fb5185ff630a94cfd8b87c24
4
+ data.tar.gz: 4d7141ef6612afdaddb25ff3638d1e0c0a3cd74efc7203803525e442cb2c1e69
5
5
  SHA512:
6
- metadata.gz: 9d898ebfb5c473390ddeb41fc125a4cb2e11dfbc8880d48c7b24313538c30311dd62ac917b2bf6d5b87c1c19461cfa10ff205ab308fe72f74490d0aa39295145
7
- data.tar.gz: 14126d4f4e0fbdb967a3792a3949ed18a4d02160b57c146d24ad58993a9a62dad1f87dfe9f72fbb8046d9d060dab54b4477cd6dc90b349dc806f4e60bffb270c
6
+ metadata.gz: 88380af684a51309bd99960162fe1f5a058baf32692d5ad2329108982c9a36b3af01e7fe28e67106508d79f6f38fa0a1cc0fad9b8ae7deb6fd566bc30f71eb47
7
+ data.tar.gz: ef8d56dd53a6bcdd604bdd4131ceef33f302dad416c55d703368f6c80b9784926652a8bebf7a33516c13e462b7f6b68b1daa51730ddd2a7c1b0546eb09a7bd84
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  Gem::Specification.new do |spec|
6
6
  # Gem info
7
7
  spec.name = "jekyll-uj-powertools"
8
- spec.version = "1.6.14"
8
+ spec.version = "1.6.16"
9
9
 
10
10
  # Author info
11
11
  spec.authors = ["ITW Creative Works"]
data/lib/tags/post.rb CHANGED
@@ -177,8 +177,8 @@ module Jekyll
177
177
  # Check standard ID match
178
178
  doc.id == post_id_clean ||
179
179
  doc.id.include?(post_id_clean) ||
180
- # Also check if the post has a custom post.id field that matches
181
- (doc.data['post'] && doc.data['post']['id'] == post_id_clean)
180
+ # Also check if the post has a custom post.id field that matches (convert to string for comparison)
181
+ (doc.data['post'] && doc.data['post']['id'].to_s == post_id_clean)
182
182
  end
183
183
  return post if post
184
184
  end
@@ -190,8 +190,8 @@ module Jekyll
190
190
  post = collection.docs.find do |doc|
191
191
  (doc.id == post_id_clean ||
192
192
  doc.id.include?(post_id_clean) ||
193
- # Check custom post.id field
194
- (doc.data['post'] && doc.data['post']['id'] == post_id_clean)) &&
193
+ # Check custom post.id field (convert to string for comparison)
194
+ (doc.data['post'] && doc.data['post']['id'].to_s == post_id_clean)) &&
195
195
  doc.data['post']
196
196
  end
197
197
  return post if post
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-uj-powertools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.14
4
+ version: 1.6.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - ITW Creative Works