jekyll-drafts-as-metadata 0.0.4 → 0.0.6

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: 4be3c5ce8f61c9a3bacdfa644e52fd584c09595f5cdc9975db6732988bf9b1b3
4
- data.tar.gz: 18236d3a0d1afc8925e2c4b9d459a9bd69b9942096b0d8e7f225daa0e044e4a3
3
+ metadata.gz: 2b57c8c1899e8afb691452195fce1728180b7b9988f18bb72c6ffbd0819a46ed
4
+ data.tar.gz: ac6268d51884ca510f92bd368073e61edb54958c1ebe58514ce05f62c6099af7
5
5
  SHA512:
6
- metadata.gz: 7c886075a21780787c62bf6e6fcfb4217a7bd6468fd708009bd15e73ac7b69d93723a32f5c665c409d2727428ee6c4ec58f8da5dc359e437f770dfacca909558
7
- data.tar.gz: 3b8250a563740d547c7cb73a135ce30106e6015f518b502c1826c4c478d0e8937fe3c8704ab04451e1f0d93ffb0860b80ee5faf094e0a15f90187f3e9a4399a9
6
+ metadata.gz: 93932e7bda6848a4f06529d18bc9838228cea26516d8552edfb06a2328682d3f566d43b8530e09bbeb3822a41ae32ac9a3d3b5b6951ec6268239baa1aa200c62
7
+ data.tar.gz: '02596d4fd40f27610937eb4e609b2ce06d8b10e1c495df3815b259c4617a0fb9d9b550c337978081b531012d9c8aef9bb463495637a361592675d63ad1102ea5'
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = 'jekyll-drafts-as-metadata'
6
- gem.version = '0.0.4'
6
+ gem.version = '0.0.6'
7
7
  gem.authors = ['Sutty']
8
8
  gem.email = ['hi@sutty.nl']
9
9
  gem.description = 'Allows to add `draft: true` to front matter to skip them, instead of using `_drafts/`'
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- Jekyll::Hooks.register :site, :post_read do |site|
3
+ Jekyll::Hooks.register :site, :post_read, priority: :high do |site|
4
4
  next if site.show_drafts
5
5
 
6
6
  site.collections.each do |name, col|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-drafts-as-metadata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-03 00:00:00.000000000 Z
11
+ date: 2022-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -70,7 +70,6 @@ files:
70
70
  - Gemfile
71
71
  - Gemfile.lock
72
72
  - LICENSE
73
- - README.en.md
74
73
  - README.es.md
75
74
  - README.md
76
75
  - jekyll-drafts-as-metadata.gemspec
@@ -94,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
93
  - !ruby/object:Gem::Version
95
94
  version: '0'
96
95
  requirements: []
97
- rubygems_version: 3.1.2
96
+ rubygems_version: 3.3.26
98
97
  signing_key:
99
98
  specification_version: 4
100
99
  summary: A Jekyll plugin to add draft status as metadata
data/README.en.md DELETED
@@ -1 +0,0 @@
1
- ./README.md