jekyll-github-metadata 2.9.1 → 2.9.2
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e47bbe02b9e87c1fdec0797a7dc59d33123c88fe
|
4
|
+
data.tar.gz: 35cf5334b592a1914ec74014127286b3d08e5574
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d224d5a1a0667ee15eedb5c4690d1c3f0f4115e801d56a20a0fe36508de246c5d2536644fd2dba58246ee67c48843d75ffe5e93a7c84be5974c10ed9b10958ee
|
7
|
+
data.tar.gz: f76d95a60d7d58a6a411c39c467a31140ee2be1d3fe45abee45598e9c68043e49be2d9c3c81a161285e8189532b19db475be3e60224cbfc73ef8f3d8f597d206
|
@@ -8,6 +8,16 @@ module Jekyll
|
|
8
8
|
|
9
9
|
mutable true
|
10
10
|
|
11
|
+
# See https://github.com/jekyll/jekyll/pull/6338
|
12
|
+
alias_method :invoke_drop, :[]
|
13
|
+
def key?(key)
|
14
|
+
if self.class.mutable?
|
15
|
+
@mutations.key?(key)
|
16
|
+
else
|
17
|
+
!key.nil? && (respond_to?(key) || fallback_data.key?(key))
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
11
21
|
def to_s
|
12
22
|
require "json"
|
13
23
|
JSON.pretty_generate to_h
|
@@ -30,7 +30,7 @@ module Jekyll
|
|
30
30
|
when nil
|
31
31
|
drop
|
32
32
|
when Hash
|
33
|
-
Jekyll::Utils.deep_merge_hashes(site.config["github"]
|
33
|
+
Jekyll::Utils.deep_merge_hashes(drop, site.config["github"])
|
34
34
|
else
|
35
35
|
site.config["github"]
|
36
36
|
end
|
@@ -66,5 +66,5 @@ module Jekyll
|
|
66
66
|
end
|
67
67
|
|
68
68
|
Jekyll::Hooks.register :site, :after_init do |site|
|
69
|
-
Jekyll::GitHubMetadata::SiteGitHubMunger.new(site).munge!
|
69
|
+
Jekyll::GitHubMetadata::SiteGitHubMunger.new(site).munge!
|
70
70
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-github-metadata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Parker Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|