jekyll-archives-v2 0.0.7 → 0.0.8

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: 754709d370320a7e9e7a2036aca0dcec025f89674be854b89f6e588d6e1b2d4a
4
- data.tar.gz: 5fdfed2761628f0fc89c1136072b3d6c4df9c529f90f4d96fcd5c8fb20809fe6
3
+ metadata.gz: 910d5c88250ab8fb913e08377e65d2749b1a305233207ff36d4005a31d3922ea
4
+ data.tar.gz: 78001d812b7d13771e53177f42ce46766a68cf47732af95ac38af95d2b8525a7
5
5
  SHA512:
6
- metadata.gz: f2b8a5bc2179dcab6729b07646405c233b51169a70211dd6ac74b440b246860677ffe097c30a40b6f4381314ba7494cbb0f0b8941c83184ecfa6b7e5e99ee536
7
- data.tar.gz: a02fd9b0b5d1fe9cd177db5961bc8206a6614b05f2312df067a8554f210af6248eec64edf77de5b6b4b39ddb0d6069886bb6bcae66726b49df2320776612d050
6
+ metadata.gz: 15450a14674b696a4c2e77e3098898f2e77aaaea297f36995017e7d55a305e014221dbbef8a8e96ab5b81ee29dd8cc839df074c59690ea35239b083efdb6436f
7
+ data.tar.gz: 8bb5dc00ae550cf651d191a60ef5ff8b5521d9192dff16e9548a4c6c903901d45c760302496c7737ea5869500a07ada5e20d339754241161491e8a65f8d29283
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module ArchivesV2
5
- VERSION = "0.0.7"
5
+ VERSION = "0.0.8"
6
6
  end
7
7
  end
@@ -155,7 +155,8 @@ module Jekyll
155
155
  documents.docs.each do |document|
156
156
  attr_value = document.data[doc_attr]
157
157
  next if attr_value.nil?
158
- attr_value = [attr_value] if attr_value.is_a?(String)
158
+ # Split space-separated strings into arrays (similar to Jekyll's handling of categories/tags)
159
+ attr_value = attr_value.split(/\s+/) if attr_value.is_a?(String)
159
160
  attr_value.each { |t| hash[t] << document }
160
161
  end
161
162
  hash.each_value { |documents| documents.sort!.reverse! }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-archives-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Corrêa de Araújo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-17 00:00:00.000000000 Z
11
+ date: 2026-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll