jekyll-datapage-generator 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/data_page_generator.rb +3 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41ee3a29126b1c39510e3a317d2afc966f403e54e1c6e1f4c27015b2e760af2c
4
- data.tar.gz: c8618fd5fe81ec7ca41e3c52c6df4bf42c4dc452f1ec3cc68edc1eb673be66a0
3
+ metadata.gz: dd656bd560804fca9c7b91ea7e0c159c81f5f11141bf8676f5220888bd5578d8
4
+ data.tar.gz: 1acd71d085732fc14a01a27cceba319a20f8242ff38394b0befb262becc01782
5
5
  SHA512:
6
- metadata.gz: da96126a17faafb1c30e314fa51fd1098ae63c278e6191e5ceb177d48d78ddb781d034da97db501859d188bc896e5608f6c909678a00786387026043becca873
7
- data.tar.gz: 2bd0e6dcda997034cca0d8271cc6410b6bbafb8ae11ade9b1483527c587269c7a81e50254aa04a354408f6a2e0204c366c48d5d3b618fafff68d1dbe5bb72e50
6
+ metadata.gz: 574d968b486c7df5804ad9c0380d4f60a11e4234f18a2312ad6b36fedcd4cf0174756403f50fc5032baada3fa28992e37e3c9b37880e66b905efaf0077781c7d
7
+ data.tar.gz: 4c8695db1c702817bd345e43c062b6b1dc93192275d0f1a8f0696c3d3ade1fe67ce104a093f9f68215ebf1cdf2455fd6fcc6c77f7480a6691ec85e7f92cd3878
@@ -111,6 +111,9 @@ module Jekyll
111
111
  records = records[level]
112
112
  end
113
113
  end
114
+ if (records.kind_of?(Hash))
115
+ records = records.values
116
+ end
114
117
 
115
118
  # apply filtering conditions:
116
119
  # - filter requires the name of a boolean field
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-datapage-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adolfo Villafiorita