jekyll-drafts-as-metadata 0.0.1 → 0.0.5

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: 3fe0463aefee2d7d9b25433c09a7787265091635e202c487e2aadfde8aa7d69b
4
- data.tar.gz: ef3644df9cca7869867f2e36170c7625c6effb989803bab5f1b1503f1ba7d2b7
3
+ metadata.gz: 76b63fe443f65ebf512031430708741c2e6f936728c0d586c3617f30e1526be8
4
+ data.tar.gz: c5a754477b19c42e9f318f74c010a7cb73924e8f0eff2f1e8e5eea6783afa5ce
5
5
  SHA512:
6
- metadata.gz: 169743f77a724333ae719f1a25294554d49266789a5082980f1724b9865b5afe7c91441128dd1a4f0936edfc1950549742cfda80b6cf0c64bc1c8fb998f7ecc8
7
- data.tar.gz: 636aee71f78f1eafd00324488ff438fc4fd33d186c316234940f1f9d633d93da5fd014b3a6aa7f89b8b791224b970e4b88f642f68d4bb96115756ffdc9421e24
6
+ metadata.gz: 405a516c96291a50b47d4ca0814b8f86a0704f390895cf5056a8f2edad4b4fcd47b136fa2308996745abf175a31b3c3df60d713106e8772aeae8f09b177323db
7
+ data.tar.gz: 16efd192f85d0c3e27e419138444a2469e4335ca3341a3218ead942080e3d3785be0ac29482749de25d02e21747e3f3786fbf501b11697d6723d47700ccfb4b5
@@ -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.1'
6
+ gem.version = '0.0.5'
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/`'
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
16
16
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
17
17
  gem.require_paths = ['lib']
18
18
 
19
- gem.add_runtime_dependency 'jekyll', '~> 3.8', '>= 3.8.6'
19
+ gem.add_runtime_dependency 'jekyll', '>= 3.8', '< 5'
20
20
  gem.add_development_dependency('rubocop', '~> 0.68')
21
21
  gem.add_development_dependency('rubocop-performance', '~> 0')
22
22
  end
@@ -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,35 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-drafts-as-metadata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutty
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-28 00:00:00.000000000 Z
11
+ date: 2021-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.8'
20
- - - ">="
20
+ - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 3.8.6
22
+ version: '5'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '3.8'
30
- - - ">="
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 3.8.6
32
+ version: '5'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rubocop
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -79,7 +79,7 @@ homepage: https://0xacab.org/sutty/jekyll/jekyll-drafts-as-metadata
79
79
  licenses:
80
80
  - GPL-3.0+
81
81
  metadata: {}
82
- post_install_message:
82
+ post_install_message:
83
83
  rdoc_options: []
84
84
  require_paths:
85
85
  - lib
@@ -94,9 +94,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubyforge_project:
98
- rubygems_version: 2.7.6.2
99
- signing_key:
97
+ rubygems_version: 3.1.2
98
+ signing_key:
100
99
  specification_version: 4
101
100
  summary: A Jekyll plugin to add draft status as metadata
102
101
  test_files: []