github-pages 67 → 68
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/github-pages/configuration.rb +5 -0
- data/lib/github-pages/dependencies.rb +1 -1
- data/lib/github-pages/version.rb +1 -1
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6c3acdb89550aae1ee70a30696d8746f5512959
|
4
|
+
data.tar.gz: 7749ccd66f5805916249577da1f6fe5b7fcc8578
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e80ad6b8a0f5bda99d927e84f5171fd261225b17aa098bac474cc611064a2767f4acc99f80afe4c05689ea9b7cdb248be05ae707200c4546dbda3d03c7ac8655
|
7
|
+
data.tar.gz: d6f459a362c2a48323259f6d92bce89f1c2503d62f8a9e5b9528ea97d3ae97521d2a75cfb8698e355371348fa4f548c476683630d3df99176b8aa62b3e1af965
|
@@ -83,6 +83,10 @@ module GitHubPages
|
|
83
83
|
site.instance_variable_set :@_github_pages_processed, true
|
84
84
|
end
|
85
85
|
|
86
|
+
def disable_whitelist?
|
87
|
+
Jekyll.env == "development" && !ENV["DISABLE_WHITELIST"].to_s.empty?
|
88
|
+
end
|
89
|
+
|
86
90
|
# Given a user's config, determines the effective configuration by building a user
|
87
91
|
# configuration sandwhich with our overrides overriding the user's specified
|
88
92
|
# values which themselves override our defaults.
|
@@ -101,6 +105,7 @@ module GitHubPages
|
|
101
105
|
|
102
106
|
# Ensure we have those gems we want.
|
103
107
|
config["gems"] = Array(config["gems"]) | DEFAULT_PLUGINS
|
108
|
+
config["whitelist"] = config["whitelist"] | config["gems"] if disable_whitelist?
|
104
109
|
|
105
110
|
config
|
106
111
|
end
|
data/lib/github-pages/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '
|
4
|
+
version: '68'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -268,14 +268,14 @@ dependencies:
|
|
268
268
|
requirements:
|
269
269
|
- - '='
|
270
270
|
- !ruby/object:Gem::Version
|
271
|
-
version: 1.3.
|
271
|
+
version: 1.3.3
|
272
272
|
type: :runtime
|
273
273
|
prerelease: false
|
274
274
|
version_requirements: !ruby/object:Gem::Requirement
|
275
275
|
requirements:
|
276
276
|
- - '='
|
277
277
|
- !ruby/object:Gem::Version
|
278
|
-
version: 1.3.
|
278
|
+
version: 1.3.3
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
280
|
name: jekyll-github-metadata
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
@@ -360,6 +360,20 @@ dependencies:
|
|
360
360
|
- - "~>"
|
361
361
|
- !ruby/object:Gem::Version
|
362
362
|
version: '0.10'
|
363
|
+
- !ruby/object:Gem::Dependency
|
364
|
+
name: jekyll_test_plugin_malicious
|
365
|
+
requirement: !ruby/object:Gem::Requirement
|
366
|
+
requirements:
|
367
|
+
- - "~>"
|
368
|
+
- !ruby/object:Gem::Version
|
369
|
+
version: '0.2'
|
370
|
+
type: :development
|
371
|
+
prerelease: false
|
372
|
+
version_requirements: !ruby/object:Gem::Requirement
|
373
|
+
requirements:
|
374
|
+
- - "~>"
|
375
|
+
- !ruby/object:Gem::Version
|
376
|
+
version: '0.2'
|
363
377
|
description: Bootstrap the GitHub Pages Jekyll environment locally.
|
364
378
|
email: support@github.com
|
365
379
|
executables:
|
@@ -399,7 +413,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
399
413
|
version: '0'
|
400
414
|
requirements: []
|
401
415
|
rubyforge_project:
|
402
|
-
rubygems_version: 2.2
|
416
|
+
rubygems_version: 2.6.2
|
403
417
|
signing_key:
|
404
418
|
specification_version: 4
|
405
419
|
summary: Track GitHub Pages dependencies.
|