jekyll-spaceship 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-spaceship.rb +1 -1
- data/lib/jekyll-spaceship/cores/config.rb +6 -3
- data/lib/jekyll-spaceship/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5aea23b39241812e97de9e3f6dc6f47db7a4fa743d6510de8cbc6fc8e1c90fb
|
4
|
+
data.tar.gz: 324717f9b72366dd9f2d7e51c378937222c5884380c903897781b4875d33e067
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0bcaeb2c487b51961678cd2ea6e665466d75dc2c6c8b51b2e723121a7c2f0889a536836f11c48dc33b8784f871976fb43607824dfede322fb3e3f859007226d
|
7
|
+
data.tar.gz: a222d1377e23672f35815a8f8d870f247688663897d728e2b5d108b57573dc0a0f24735608a189c31ea20957d26c0cd3af3f1f8e30bbc3d80ebf70d47cb09531
|
data/lib/jekyll-spaceship.rb
CHANGED
@@ -35,7 +35,7 @@ module Jekyll::Spaceship
|
|
35
35
|
@@store[section] = deep_merge(default, @@store[section])
|
36
36
|
end
|
37
37
|
|
38
|
-
def self.load(config =
|
38
|
+
def self.load(config = {})
|
39
39
|
config = deep_merge(
|
40
40
|
{ CONFIG_NAME => DEFAULT_CONFIG },
|
41
41
|
config
|
@@ -50,8 +50,11 @@ module Jekyll::Spaceship
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
def self.
|
54
|
-
|
53
|
+
def self.load_config
|
54
|
+
# post load site config for `group :jekyll_plugin`
|
55
|
+
Jekyll::Hooks.register :site, :after_init do |site|
|
56
|
+
self.load(site.config)
|
57
|
+
end
|
55
58
|
end
|
56
59
|
end
|
57
60
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-spaceship
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jeffreytse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|