jekyll-v4-github-pages 228
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rubocop.yml +182 -0
- data/bin/github-pages +73 -0
- data/lib/github-pages/configuration.rb +189 -0
- data/lib/github-pages/dependencies.rb +77 -0
- data/lib/github-pages/plugins.rb +86 -0
- data/lib/github-pages/version.rb +5 -0
- data/lib/github-pages.rb +20 -0
- data/lib/jekyll-v4-github-pages.rb +3 -0
- metadata +732 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 292b0145d77771a6875421d8dcf39a83ab5ef56f15f5aee370f231006f143833
|
4
|
+
data.tar.gz: 78e324420a6c54abcbb77825beedcd1dedded45af19ae0d7848fccd646d67199
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a90e3d3fed07dd149be82ed1a14ac0133c27577a5a870938556907a30abb00bb8a88b4fbd335738664035b46d323e6af7ddf3a740f9dda2cce518b5d5244436c
|
7
|
+
data.tar.gz: 0a8ad95eeb90ec188b3c57b636e1e0343d24f5174a1635bcb8e75258666a16f4f2a6922a465c2f2b1b82d49be35639bb168faed74dea6945c0bff174abbcc37b
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,182 @@
|
|
1
|
+
# Ruby linting configuration.
|
2
|
+
# See https://github.com/styleguide/ruby for the Ruby style guide
|
3
|
+
|
4
|
+
# We only worry about two kinds of issues: 'error' and anything less than that.
|
5
|
+
# Error is not about severity, but about taste. Simple style choices that
|
6
|
+
# never have a great excuse to be broken, such as 1.9 JSON-like hash syntax,
|
7
|
+
# are errors. Choices that tend to have good exceptions in practice, such as
|
8
|
+
# line length, are warnings.
|
9
|
+
|
10
|
+
# If you'd like to make changes, a full list of available issues is at
|
11
|
+
# https://github.com/bbatsov/rubocop/blob/master/config/enabled.yml
|
12
|
+
#
|
13
|
+
# A list of configurable issues is at:
|
14
|
+
# https://github.com/bbatsov/rubocop/blob/master/config/default.yml
|
15
|
+
#
|
16
|
+
# If you disable a check, document why.
|
17
|
+
|
18
|
+
inherit_gem:
|
19
|
+
rubocop-github:
|
20
|
+
- config/default.yml
|
21
|
+
|
22
|
+
require:
|
23
|
+
- rubocop-performance
|
24
|
+
|
25
|
+
AllCops:
|
26
|
+
TargetRubyVersion: 2.5
|
27
|
+
Exclude:
|
28
|
+
- 'bin/**/*'
|
29
|
+
- 'script/**/*'
|
30
|
+
- 'vendor/**/*'
|
31
|
+
- 'test-site/**/*'
|
32
|
+
|
33
|
+
Layout/EndAlignment:
|
34
|
+
Severity: error
|
35
|
+
|
36
|
+
Lint/RescueException:
|
37
|
+
Exclude:
|
38
|
+
- lib/pages_jekyll.rb
|
39
|
+
|
40
|
+
Lint/UnreachableCode:
|
41
|
+
Severity: error
|
42
|
+
|
43
|
+
Lint/AmbiguousRegexpLiteral:
|
44
|
+
Exclude:
|
45
|
+
- 'features/step_definitions/pages_steps.rb'
|
46
|
+
|
47
|
+
Style/StringLiterals:
|
48
|
+
EnforcedStyle: double_quotes
|
49
|
+
Severity: error
|
50
|
+
|
51
|
+
Style/StringLiteralsInInterpolation:
|
52
|
+
EnforcedStyle: double_quotes
|
53
|
+
|
54
|
+
Style/HashSyntax:
|
55
|
+
EnforcedStyle: hash_rockets
|
56
|
+
Severity: error
|
57
|
+
|
58
|
+
Layout/HashAlignment:
|
59
|
+
SupportedLastArgumentHashStyles: always_ignore
|
60
|
+
|
61
|
+
Layout/ParameterAlignment:
|
62
|
+
Enabled: false # This is usually true, but we often want to roll back to
|
63
|
+
# the start of a line.
|
64
|
+
|
65
|
+
Style/Attr:
|
66
|
+
Enabled: false # We have no styleguide guidance here, and it seems to be
|
67
|
+
# in frequent use.
|
68
|
+
|
69
|
+
Style/ClassAndModuleChildren:
|
70
|
+
Enabled: false # module X<\n>module Y is just as good as module X::Y.
|
71
|
+
|
72
|
+
Style/Documentation:
|
73
|
+
Exclude:
|
74
|
+
- !ruby/regexp /spec\/.*.rb$/
|
75
|
+
- !ruby/regexp /features\/.*.rb$/
|
76
|
+
|
77
|
+
Style/ArrayIntersect:
|
78
|
+
Enabled: true
|
79
|
+
|
80
|
+
Style/ConcatArrayLiterals:
|
81
|
+
Enabled: false
|
82
|
+
|
83
|
+
Style/RedundantConstantBase:
|
84
|
+
Enabled: true
|
85
|
+
|
86
|
+
Style/RedundantDoubleSplatHashBraces:
|
87
|
+
Enabled: true
|
88
|
+
|
89
|
+
Style/RedundantEach:
|
90
|
+
Enabled: true
|
91
|
+
|
92
|
+
Metrics/ClassLength:
|
93
|
+
Exclude:
|
94
|
+
- !ruby/regexp /spec\/.*.rb$/
|
95
|
+
- !ruby/regexp /features\/.*.rb$/
|
96
|
+
- lib/github-pages/configuration.rb
|
97
|
+
|
98
|
+
Metrics/BlockLength:
|
99
|
+
Exclude:
|
100
|
+
- jekyll-v4-github-pages.gemspec
|
101
|
+
- !ruby/regexp /spec\/.*.rb/
|
102
|
+
|
103
|
+
Layout/LineLength:
|
104
|
+
Max: 90
|
105
|
+
Severity: warning
|
106
|
+
Exclude:
|
107
|
+
- !ruby/regexp /spec\/.*.rb/
|
108
|
+
- !ruby/regexp /features\/.*.rb/
|
109
|
+
|
110
|
+
Style/MultilineTernaryOperator:
|
111
|
+
Severity: error
|
112
|
+
|
113
|
+
Style/AndOr:
|
114
|
+
Severity: error
|
115
|
+
|
116
|
+
Layout/IndentationWidth:
|
117
|
+
Severity: error
|
118
|
+
|
119
|
+
Metrics/MethodLength:
|
120
|
+
CountComments: false # count full line comments?
|
121
|
+
Max: 20
|
122
|
+
Severity: error
|
123
|
+
Exclude:
|
124
|
+
- lib/github-pages.rb # Exclude the dependency hash method
|
125
|
+
|
126
|
+
Style/Alias:
|
127
|
+
Enabled: false # We have no guidance on alias vs alias_method
|
128
|
+
|
129
|
+
Style/RedundantSelf:
|
130
|
+
Enabled: false # Sometimes a self.field is a bit more clear
|
131
|
+
|
132
|
+
Style/IfUnlessModifier:
|
133
|
+
Enabled: false
|
134
|
+
|
135
|
+
Naming/FileName: #Rubocop doesn't like the Git*H*ub namespace
|
136
|
+
Enabled: false
|
137
|
+
|
138
|
+
Metrics/CyclomaticComplexity:
|
139
|
+
Max: 8
|
140
|
+
Metrics/PerceivedComplexity:
|
141
|
+
Max: 8
|
142
|
+
Metrics/ParameterLists:
|
143
|
+
Max: 4
|
144
|
+
Metrics/AbcSize:
|
145
|
+
Max: 20
|
146
|
+
|
147
|
+
Style/SignalException:
|
148
|
+
EnforcedStyle: only_raise
|
149
|
+
|
150
|
+
Layout/MultilineMethodCallIndentation:
|
151
|
+
EnforcedStyle: indented
|
152
|
+
|
153
|
+
Layout/MultilineOperationIndentation:
|
154
|
+
EnforcedStyle: indented
|
155
|
+
|
156
|
+
Layout/FirstArgumentIndentation:
|
157
|
+
EnforcedStyle: consistent
|
158
|
+
|
159
|
+
Layout/FirstHashElementIndentation:
|
160
|
+
EnforcedStyle: consistent
|
161
|
+
|
162
|
+
Layout/FirstArrayElementIndentation:
|
163
|
+
EnforcedStyle: consistent
|
164
|
+
|
165
|
+
Layout/ExtraSpacing:
|
166
|
+
AllowForAlignment: true
|
167
|
+
|
168
|
+
Style/TrailingCommaInArrayLiteral:
|
169
|
+
EnforcedStyleForMultiline: consistent_comma
|
170
|
+
|
171
|
+
Style/TrailingCommaInHashLiteral:
|
172
|
+
EnforcedStyleForMultiline: consistent_comma
|
173
|
+
|
174
|
+
Style/PercentLiteralDelimiters:
|
175
|
+
PreferredDelimiters:
|
176
|
+
'%q': '{}'
|
177
|
+
'%Q': '{}'
|
178
|
+
'%r': '{}'
|
179
|
+
'%s': '()'
|
180
|
+
'%w': '()'
|
181
|
+
'%W': '()'
|
182
|
+
'%x': '()'
|
data/bin/github-pages
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'mercenary'
|
4
|
+
require_relative "../lib/github-pages"
|
5
|
+
|
6
|
+
Mercenary.program(:"github-pages") do |p|
|
7
|
+
p.version GitHubPages::VERSION
|
8
|
+
p.description
|
9
|
+
p.syntax "github-pages <subcommand> options"
|
10
|
+
|
11
|
+
p.command(:versions) do |c|
|
12
|
+
c.syntax "versions"
|
13
|
+
c.description "lists the current gem dependency versions"
|
14
|
+
c.option "all", "--all", "Report all versions, not just ones we lock to (cannot be used with --gemfile)"
|
15
|
+
c.option "gemfile", "--gemfile", "use Gemfile formatting"
|
16
|
+
c.action do |args, options|
|
17
|
+
if options["gemfile"]
|
18
|
+
GitHubPages::Dependencies.gems.each { |g,v| puts "gem '#{g}', '#{v}'" }
|
19
|
+
else
|
20
|
+
require 'terminal-table'
|
21
|
+
versions = options['all'] ? GitHubPages::Dependencies.versions : GitHubPages::Dependencies.gems
|
22
|
+
puts Terminal::Table.new :rows => versions, :headings => ["Gem", "Version"]
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
p.command(:branch) do |c|
|
28
|
+
c.syntax "branch BRANCH"
|
29
|
+
c.description "Generates the gem dependency at given branch"
|
30
|
+
c.alias(:br)
|
31
|
+
c.action do |args, options|
|
32
|
+
puts [
|
33
|
+
"gem 'github-pages'",
|
34
|
+
":branch => '#{args[0] || "master"}'",
|
35
|
+
":git => 'git://github.com/github/pages-gem'"
|
36
|
+
].join(", ")
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
p.command(:"health-check") do |c|
|
41
|
+
c.syntax "health-check"
|
42
|
+
c.description "Checks your GitHub Pages site for common DNS configuration issues"
|
43
|
+
c.action do |args, options|
|
44
|
+
require 'github-pages-health-check'
|
45
|
+
cname_path = File.expand_path "CNAME", Dir.pwd
|
46
|
+
raise "No CNAME file found in current directory" unless File.exists?(cname_path)
|
47
|
+
cname = File.open(cname_path).read.strip
|
48
|
+
check = GitHubPages::HealthCheck.check(cname)
|
49
|
+
puts "Checking domain #{cname}..."
|
50
|
+
if check.valid?
|
51
|
+
puts "Everything looks a-okay! :)"
|
52
|
+
exit 0
|
53
|
+
else
|
54
|
+
puts "Uh oh. Looks like something's fishy: #{check.reason}"
|
55
|
+
exit 1
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
p.command(:build) do |c|
|
61
|
+
c.syntax "build [options]"
|
62
|
+
c.description "Builds your Jekyll site"
|
63
|
+
|
64
|
+
c.option 'verbose', '--verbose', 'Verbose logging'
|
65
|
+
c.option 'source', '--source DIR', 'From where to collect the source files'
|
66
|
+
c.option 'destination', '--destination DIR', 'To where the compiled files should be written'
|
67
|
+
c.option 'future', '--future', 'Publishes posts with a future date'
|
68
|
+
|
69
|
+
c.action do |_, options|
|
70
|
+
Jekyll::Commands::Build.process(options)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,189 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "securerandom"
|
4
|
+
|
5
|
+
module GitHubPages
|
6
|
+
# Sets and manages Jekyll configuration defaults and overrides
|
7
|
+
class Configuration
|
8
|
+
# Backward compatability of constants
|
9
|
+
DEFAULT_PLUGINS = GitHubPages::Plugins::DEFAULT_PLUGINS
|
10
|
+
PLUGIN_WHITELIST = GitHubPages::Plugins::PLUGIN_WHITELIST
|
11
|
+
DEVELOPMENT_PLUGINS = GitHubPages::Plugins::DEVELOPMENT_PLUGINS
|
12
|
+
THEMES = GitHubPages::Plugins::THEMES
|
13
|
+
|
14
|
+
# Default, user overwritable options
|
15
|
+
DEFAULTS = {
|
16
|
+
"jailed" => false,
|
17
|
+
"plugins" => GitHubPages::Plugins::DEFAULT_PLUGINS,
|
18
|
+
"future" => true,
|
19
|
+
"theme" => "jekyll-v4-theme-primer",
|
20
|
+
"markdown" => "kramdown",
|
21
|
+
"kramdown" => {
|
22
|
+
"input" => "GFM",
|
23
|
+
"hard_wrap" => false,
|
24
|
+
"gfm_quirks" => "paragraph_end",
|
25
|
+
"syntax_highlighter_opts" => {
|
26
|
+
"default_lang" => "plaintext",
|
27
|
+
},
|
28
|
+
},
|
29
|
+
"exclude" => ["CNAME"],
|
30
|
+
}.freeze
|
31
|
+
|
32
|
+
# User-overwritable defaults used only in production for practical reasons
|
33
|
+
PRODUCTION_DEFAULTS = Jekyll::Utils.deep_merge_hashes DEFAULTS, {
|
34
|
+
"sass" => {
|
35
|
+
"style" => "compressed",
|
36
|
+
},
|
37
|
+
}.freeze
|
38
|
+
|
39
|
+
# Options which GitHub Pages sets, regardless of the user-specified value
|
40
|
+
#
|
41
|
+
# The following values are also overridden by GitHub Pages, but are not
|
42
|
+
# overridden locally, for practical purposes:
|
43
|
+
# * source
|
44
|
+
# * destination
|
45
|
+
# * jailed
|
46
|
+
# * verbose
|
47
|
+
# * incremental
|
48
|
+
# * GH_ENV
|
49
|
+
OVERRIDES = {
|
50
|
+
"lsi" => false,
|
51
|
+
"safe" => true,
|
52
|
+
"plugins_dir" => SecureRandom.hex,
|
53
|
+
"whitelist" => GitHubPages::Plugins::PLUGIN_WHITELIST,
|
54
|
+
"highlighter" => "rouge",
|
55
|
+
"kramdown" => {
|
56
|
+
"template" => "",
|
57
|
+
"math_engine" => "mathjax",
|
58
|
+
"syntax_highlighter" => "rouge",
|
59
|
+
},
|
60
|
+
"gist" => {
|
61
|
+
"noscript" => false,
|
62
|
+
},
|
63
|
+
}.freeze
|
64
|
+
|
65
|
+
class << self
|
66
|
+
def processed?(site)
|
67
|
+
site.instance_variable_get(:@_github_pages_processed) == true
|
68
|
+
end
|
69
|
+
|
70
|
+
def processed(site)
|
71
|
+
site.instance_variable_set :@_github_pages_processed, true
|
72
|
+
end
|
73
|
+
|
74
|
+
def disable_whitelist?
|
75
|
+
!ENV["DISABLE_WHITELIST"].to_s.empty?
|
76
|
+
end
|
77
|
+
|
78
|
+
def development?
|
79
|
+
Jekyll.env == "development"
|
80
|
+
end
|
81
|
+
|
82
|
+
def defaults_for_env
|
83
|
+
defaults = development? ? DEFAULTS : PRODUCTION_DEFAULTS
|
84
|
+
Jekyll::Utils.deep_merge_hashes Jekyll::Configuration::DEFAULTS, defaults
|
85
|
+
end
|
86
|
+
|
87
|
+
# Given a user's config, determines the effective configuration by building a user
|
88
|
+
# configuration sandwhich with our overrides overriding the user's specified
|
89
|
+
# values which themselves override our defaults.
|
90
|
+
#
|
91
|
+
# Returns the effective Configuration
|
92
|
+
#
|
93
|
+
# Note: this is a highly modified version of Jekyll#configuration
|
94
|
+
def effective_config(user_config)
|
95
|
+
# Merge user config into defaults
|
96
|
+
config = Jekyll::Utils.deep_merge_hashes(defaults_for_env, user_config)
|
97
|
+
.add_default_collections
|
98
|
+
|
99
|
+
# Allow theme to be explicitly disabled via "theme: null"
|
100
|
+
config["theme"] = user_config["theme"] if user_config.key?("theme")
|
101
|
+
|
102
|
+
migrate_theme_to_remote_theme(config)
|
103
|
+
exclude_cname(config)
|
104
|
+
|
105
|
+
# Merge overwrites into user config
|
106
|
+
config = Jekyll::Utils.deep_merge_hashes config, OVERRIDES
|
107
|
+
|
108
|
+
restrict_and_config_markdown_processor(config)
|
109
|
+
|
110
|
+
configure_plugins(config)
|
111
|
+
|
112
|
+
config
|
113
|
+
end
|
114
|
+
|
115
|
+
# Set the site's configuration. Implemented as an `after_reset` hook.
|
116
|
+
# Equivalent #set! function contains the code of interest. This function
|
117
|
+
# guards against double-processing via the value in #processed.
|
118
|
+
def set(site)
|
119
|
+
return if processed? site
|
120
|
+
|
121
|
+
debug_print_versions
|
122
|
+
set!(site)
|
123
|
+
processed(site)
|
124
|
+
end
|
125
|
+
|
126
|
+
# Set the site's configuration with all the proper defaults and overrides.
|
127
|
+
# Should be called by #set to protect against multiple processings.
|
128
|
+
def set!(site)
|
129
|
+
site.config = effective_config(site.config)
|
130
|
+
end
|
131
|
+
|
132
|
+
private
|
133
|
+
|
134
|
+
# Ensure we're using Kramdown or GFM. Force to Kramdown if
|
135
|
+
# neither of these.
|
136
|
+
#
|
137
|
+
# This can get called multiply on the same config, so try to
|
138
|
+
# be idempotentish.
|
139
|
+
def restrict_and_config_markdown_processor(config)
|
140
|
+
config["markdown"] = "kramdown" unless \
|
141
|
+
%w(kramdown gfm commonmarkghpages).include?(config["markdown"].to_s.downcase)
|
142
|
+
|
143
|
+
return unless config["markdown"].to_s.casecmp("gfm").zero?
|
144
|
+
|
145
|
+
config["markdown"] = "CommonMarkGhPages"
|
146
|
+
config["commonmark"] = {
|
147
|
+
"extensions" => %w(table strikethrough autolink tagfilter),
|
148
|
+
"options" => %w(unsafe footnotes),
|
149
|
+
}
|
150
|
+
end
|
151
|
+
|
152
|
+
# If the user has set a 'theme', then see if we can automatically use remote theme instead.
|
153
|
+
def migrate_theme_to_remote_theme(config)
|
154
|
+
# This functionality has been rolled back due to complications with jekyll-remote-theme.
|
155
|
+
end
|
156
|
+
|
157
|
+
# If the user's 'exclude' config is the default, also exclude the CNAME
|
158
|
+
def exclude_cname(config)
|
159
|
+
return unless config["exclude"].eql? Jekyll::Configuration::DEFAULT_EXCLUDES
|
160
|
+
|
161
|
+
config["exclude"].concat(DEFAULTS["exclude"])
|
162
|
+
end
|
163
|
+
|
164
|
+
# Requires default plugins and configures whitelist in development
|
165
|
+
def configure_plugins(config)
|
166
|
+
# Ensure we have those gems we want.
|
167
|
+
config["plugins"] = Array(config["plugins"]) | DEFAULT_PLUGINS
|
168
|
+
|
169
|
+
# To minimize errors, lazy-require jekyll-remote-theme if requested by the user
|
170
|
+
config["plugins"].push("jekyll-remote-theme") if config.key? "remote_theme"
|
171
|
+
|
172
|
+
if disable_whitelist?
|
173
|
+
config["whitelist"] = config["whitelist"] | config["plugins"]
|
174
|
+
end
|
175
|
+
|
176
|
+
return unless development?
|
177
|
+
|
178
|
+
config["whitelist"] = config["whitelist"] | DEVELOPMENT_PLUGINS
|
179
|
+
end
|
180
|
+
|
181
|
+
# Print the versions for github-pages and jekyll to the debug
|
182
|
+
# stream for debugging purposes. See by running Jekyll with '--verbose'
|
183
|
+
def debug_print_versions
|
184
|
+
Jekyll.logger.debug "GitHub Pages:", "github-pages v#{GitHubPages::VERSION}"
|
185
|
+
Jekyll.logger.debug "GitHub Pages:", "jekyll v#{Jekyll::VERSION}"
|
186
|
+
end
|
187
|
+
end
|
188
|
+
end
|
189
|
+
end
|
@@ -0,0 +1,77 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GitHubPages
|
4
|
+
# Dependencies is where all the public dependencies for GitHub Pages are defined,
|
5
|
+
# and versions locked. Any plugin for Pages must be specified here with a
|
6
|
+
# corresponding version to which it shall be locked in the runtime dependencies.
|
7
|
+
class Dependencies
|
8
|
+
VERSIONS = {
|
9
|
+
# Jekyll
|
10
|
+
"jekyll" => "4.3.1",
|
11
|
+
"jekyll-sass-converter" => "3.0.0",
|
12
|
+
|
13
|
+
# Converters
|
14
|
+
"kramdown" => "2.4.0",
|
15
|
+
"kramdown-parser-gfm" => "1.1.0",
|
16
|
+
# "jekyll-commonmark-ghpages" => "0.3.0",
|
17
|
+
|
18
|
+
# Misc
|
19
|
+
"liquid" => "4.0.3",
|
20
|
+
"rouge" => "4.0.1",
|
21
|
+
"github-pages-health-check" => "1.18.1",
|
22
|
+
|
23
|
+
# Plugins
|
24
|
+
"jekyll-redirect-from" => "0.16.0",
|
25
|
+
"jekyll-sitemap" => "1.4.0",
|
26
|
+
"jekyll-feed" => "0.17.0",
|
27
|
+
"jekyll-gist" => "1.5.0",
|
28
|
+
"jekyll-paginate" => "1.1.0",
|
29
|
+
"jekyll-coffeescript" => "2.0.0",
|
30
|
+
"jekyll-seo-tag" => "2.8.0",
|
31
|
+
"jekyll-github-metadata" => "2.15.0",
|
32
|
+
"jekyll-avatar" => "0.8.0",
|
33
|
+
"jekyll-remote-theme" => "0.4.3",
|
34
|
+
"jekyll-include-cache" => "0.2.1",
|
35
|
+
|
36
|
+
# Plugins to match GitHub.com Markdown
|
37
|
+
"jemoji" => "0.13.0",
|
38
|
+
"jekyll-mentions" => "1.6.0",
|
39
|
+
"jekyll-relative-links" => "0.6.1",
|
40
|
+
"jekyll-optional-front-matter" => "0.3.2",
|
41
|
+
"jekyll-readme-index" => "0.3.0",
|
42
|
+
"jekyll-default-layout" => "0.1.5",
|
43
|
+
"jekyll-titles-from-headings" => "0.5.3",
|
44
|
+
}.freeze
|
45
|
+
|
46
|
+
# Jekyll and related dependency versions as used by GitHub Pages.
|
47
|
+
# For more information see:
|
48
|
+
# https://help.github.com/articles/using-jekyll-with-pages
|
49
|
+
def self.gems
|
50
|
+
VERSIONS.merge(GitHubPages::Plugins::THEMES)
|
51
|
+
end
|
52
|
+
|
53
|
+
# Versions used by GitHub Pages, including github-pages gem and ruby version
|
54
|
+
# Useful for programmatically querying for the current-running version
|
55
|
+
def self.versions
|
56
|
+
gems.merge version_report
|
57
|
+
end
|
58
|
+
|
59
|
+
def self.version_report
|
60
|
+
require "html/pipeline/version"
|
61
|
+
require "sass-embedded"
|
62
|
+
require "safe_yaml/version"
|
63
|
+
require "nokogiri"
|
64
|
+
|
65
|
+
{
|
66
|
+
"ruby" => RUBY_VERSION,
|
67
|
+
|
68
|
+
# Gem versions we're curious about
|
69
|
+
"github-pages" => VERSION.to_s,
|
70
|
+
"html-pipeline" => HTML::Pipeline::VERSION,
|
71
|
+
"sass" => Sass::Embedded::VERSION,
|
72
|
+
"safe_yaml" => SafeYAML::VERSION,
|
73
|
+
"nokogiri" => Nokogiri::VERSION,
|
74
|
+
}
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
@@ -0,0 +1,86 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GitHubPages
|
4
|
+
# Manages the constants that govern which plugins are allowed on GitHub Pages
|
5
|
+
class Plugins
|
6
|
+
# Plugins which are activated by default
|
7
|
+
DEFAULT_PLUGINS = %w(
|
8
|
+
jekyll-coffeescript
|
9
|
+
jekyll-gist
|
10
|
+
jekyll-github-metadata
|
11
|
+
jekyll-paginate
|
12
|
+
jekyll-relative-links
|
13
|
+
jekyll-optional-front-matter
|
14
|
+
jekyll-readme-index
|
15
|
+
jekyll-default-layout
|
16
|
+
jekyll-titles-from-headings
|
17
|
+
).freeze
|
18
|
+
|
19
|
+
# Plugins allowed by GitHub Pages
|
20
|
+
PLUGIN_WHITELIST = %w(
|
21
|
+
jekyll-coffeescript
|
22
|
+
jekyll-feed
|
23
|
+
jekyll-gist
|
24
|
+
jekyll-github-metadata
|
25
|
+
jekyll-paginate
|
26
|
+
jekyll-redirect-from
|
27
|
+
jekyll-seo-tag
|
28
|
+
jekyll-sitemap
|
29
|
+
jekyll-avatar
|
30
|
+
jemoji
|
31
|
+
jekyll-mentions
|
32
|
+
jekyll-relative-links
|
33
|
+
jekyll-optional-front-matter
|
34
|
+
jekyll-readme-index
|
35
|
+
jekyll-default-layout
|
36
|
+
jekyll-titles-from-headings
|
37
|
+
jekyll-include-cache
|
38
|
+
jekyll-octicons
|
39
|
+
jekyll-remote-theme
|
40
|
+
).freeze
|
41
|
+
|
42
|
+
# Plugins only allowed locally
|
43
|
+
DEVELOPMENT_PLUGINS = %w(
|
44
|
+
jekyll-admin
|
45
|
+
).freeze
|
46
|
+
|
47
|
+
# Themes
|
48
|
+
THEMES = {
|
49
|
+
"minima" => "2.5.1",
|
50
|
+
"jekyll-swiss" => "1.0.0",
|
51
|
+
"jekyll-theme-primer" => "0.6.0",
|
52
|
+
"jekyll-v4-theme-primer" => "0.9.0",
|
53
|
+
"jekyll-theme-architect" => "0.2.0",
|
54
|
+
"jekyll-theme-cayman" => "0.2.0",
|
55
|
+
"jekyll-theme-dinky" => "0.2.0",
|
56
|
+
"jekyll-theme-hacker" => "0.2.0",
|
57
|
+
"jekyll-theme-leap-day" => "0.2.0",
|
58
|
+
"jekyll-theme-merlot" => "0.2.0",
|
59
|
+
"jekyll-theme-midnight" => "0.2.0",
|
60
|
+
"jekyll-theme-minimal" => "0.2.0",
|
61
|
+
"jekyll-theme-modernist" => "0.2.0",
|
62
|
+
"jekyll-theme-slate" => "0.2.0",
|
63
|
+
"jekyll-theme-tactile" => "0.2.0",
|
64
|
+
"jekyll-theme-time-machine" => "0.2.0",
|
65
|
+
}.freeze
|
66
|
+
|
67
|
+
# Themes to convert to remote themes
|
68
|
+
THEMES_TO_CONVERT_TO_REMOTE_THEMES = {
|
69
|
+
"jekyll-swiss" => "broccolini/swiss",
|
70
|
+
"jekyll-theme-primer" => "pages-themes/primer@v0.6.0",
|
71
|
+
"jekyll-v4-theme-primer" => "dunkmann00/primer@v0.9.0",
|
72
|
+
"jekyll-theme-architect" => "pages-themes/architect@v0.2.0",
|
73
|
+
"jekyll-theme-cayman" => "pages-themes/cayman@v0.2.0",
|
74
|
+
"jekyll-theme-dinky" => "pages-themes/dinky@v0.2.0",
|
75
|
+
"jekyll-theme-hacker" => "pages-themes/hacker@v0.2.0",
|
76
|
+
"jekyll-theme-leap-day" => "pages-themes/leap-day@v0.2.0",
|
77
|
+
"jekyll-theme-merlot" => "pages-themes/merlot@v0.2.0",
|
78
|
+
"jekyll-theme-midnight" => "pages-themes/midnight@v0.2.0",
|
79
|
+
"jekyll-theme-minimal" => "pages-themes/minimal@v0.2.0",
|
80
|
+
"jekyll-theme-modernist" => "pages-themes/modernist@v0.2.0",
|
81
|
+
"jekyll-theme-slate" => "pages-themes/slate@v0.2.0",
|
82
|
+
"jekyll-theme-tactile" => "pages-themes/tactile@v0.2.0",
|
83
|
+
"jekyll-theme-time-machine" => "pages-themes/time-machine@v0.2.0",
|
84
|
+
}
|
85
|
+
end
|
86
|
+
end
|
data/lib/github-pages.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
4
|
+
require "jekyll"
|
5
|
+
|
6
|
+
# Top-level namespace for all GitHub Pages-related concerns.
|
7
|
+
module GitHubPages
|
8
|
+
autoload :Plugins, "github-pages/plugins"
|
9
|
+
autoload :Configuration, "github-pages/configuration"
|
10
|
+
autoload :Dependencies, "github-pages/dependencies"
|
11
|
+
autoload :VERSION, "github-pages/version"
|
12
|
+
|
13
|
+
def self.versions
|
14
|
+
Dependencies.versions
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
Jekyll::Hooks.register :site, :after_reset do |site|
|
19
|
+
GitHubPages::Configuration.set(site)
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,732 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-v4-github-pages
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '228'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- GitHub, Inc.
|
8
|
+
- George Waters
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2022-12-31 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: jekyll
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - '='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 4.3.1
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - '='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 4.3.1
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: jekyll-sass-converter
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - '='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 3.0.0
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - '='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 3.0.0
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: kramdown
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - '='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 2.4.0
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 2.4.0
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: kramdown-parser-gfm
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 1.1.0
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 1.1.0
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: liquid
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 4.0.3
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - '='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 4.0.3
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: rouge
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - '='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 4.0.1
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - '='
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 4.0.1
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: github-pages-health-check
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - '='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 1.18.1
|
105
|
+
type: :runtime
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - '='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 1.18.1
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: jekyll-redirect-from
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - '='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 0.16.0
|
119
|
+
type: :runtime
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - '='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.16.0
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: jekyll-sitemap
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - '='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 1.4.0
|
133
|
+
type: :runtime
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - '='
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: 1.4.0
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: jekyll-feed
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - '='
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 0.17.0
|
147
|
+
type: :runtime
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - '='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: 0.17.0
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: jekyll-gist
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - '='
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: 1.5.0
|
161
|
+
type: :runtime
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - '='
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: 1.5.0
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: jekyll-paginate
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - '='
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: 1.1.0
|
175
|
+
type: :runtime
|
176
|
+
prerelease: false
|
177
|
+
version_requirements: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - '='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: 1.1.0
|
182
|
+
- !ruby/object:Gem::Dependency
|
183
|
+
name: jekyll-coffeescript
|
184
|
+
requirement: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - '='
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: 2.0.0
|
189
|
+
type: :runtime
|
190
|
+
prerelease: false
|
191
|
+
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - '='
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: 2.0.0
|
196
|
+
- !ruby/object:Gem::Dependency
|
197
|
+
name: jekyll-seo-tag
|
198
|
+
requirement: !ruby/object:Gem::Requirement
|
199
|
+
requirements:
|
200
|
+
- - '='
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: 2.8.0
|
203
|
+
type: :runtime
|
204
|
+
prerelease: false
|
205
|
+
version_requirements: !ruby/object:Gem::Requirement
|
206
|
+
requirements:
|
207
|
+
- - '='
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: 2.8.0
|
210
|
+
- !ruby/object:Gem::Dependency
|
211
|
+
name: jekyll-github-metadata
|
212
|
+
requirement: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - '='
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: 2.15.0
|
217
|
+
type: :runtime
|
218
|
+
prerelease: false
|
219
|
+
version_requirements: !ruby/object:Gem::Requirement
|
220
|
+
requirements:
|
221
|
+
- - '='
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: 2.15.0
|
224
|
+
- !ruby/object:Gem::Dependency
|
225
|
+
name: jekyll-avatar
|
226
|
+
requirement: !ruby/object:Gem::Requirement
|
227
|
+
requirements:
|
228
|
+
- - '='
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: 0.8.0
|
231
|
+
type: :runtime
|
232
|
+
prerelease: false
|
233
|
+
version_requirements: !ruby/object:Gem::Requirement
|
234
|
+
requirements:
|
235
|
+
- - '='
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: 0.8.0
|
238
|
+
- !ruby/object:Gem::Dependency
|
239
|
+
name: jekyll-remote-theme
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
241
|
+
requirements:
|
242
|
+
- - '='
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
version: 0.4.3
|
245
|
+
type: :runtime
|
246
|
+
prerelease: false
|
247
|
+
version_requirements: !ruby/object:Gem::Requirement
|
248
|
+
requirements:
|
249
|
+
- - '='
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: 0.4.3
|
252
|
+
- !ruby/object:Gem::Dependency
|
253
|
+
name: jekyll-include-cache
|
254
|
+
requirement: !ruby/object:Gem::Requirement
|
255
|
+
requirements:
|
256
|
+
- - '='
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
version: 0.2.1
|
259
|
+
type: :runtime
|
260
|
+
prerelease: false
|
261
|
+
version_requirements: !ruby/object:Gem::Requirement
|
262
|
+
requirements:
|
263
|
+
- - '='
|
264
|
+
- !ruby/object:Gem::Version
|
265
|
+
version: 0.2.1
|
266
|
+
- !ruby/object:Gem::Dependency
|
267
|
+
name: jemoji
|
268
|
+
requirement: !ruby/object:Gem::Requirement
|
269
|
+
requirements:
|
270
|
+
- - '='
|
271
|
+
- !ruby/object:Gem::Version
|
272
|
+
version: 0.13.0
|
273
|
+
type: :runtime
|
274
|
+
prerelease: false
|
275
|
+
version_requirements: !ruby/object:Gem::Requirement
|
276
|
+
requirements:
|
277
|
+
- - '='
|
278
|
+
- !ruby/object:Gem::Version
|
279
|
+
version: 0.13.0
|
280
|
+
- !ruby/object:Gem::Dependency
|
281
|
+
name: jekyll-mentions
|
282
|
+
requirement: !ruby/object:Gem::Requirement
|
283
|
+
requirements:
|
284
|
+
- - '='
|
285
|
+
- !ruby/object:Gem::Version
|
286
|
+
version: 1.6.0
|
287
|
+
type: :runtime
|
288
|
+
prerelease: false
|
289
|
+
version_requirements: !ruby/object:Gem::Requirement
|
290
|
+
requirements:
|
291
|
+
- - '='
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: 1.6.0
|
294
|
+
- !ruby/object:Gem::Dependency
|
295
|
+
name: jekyll-relative-links
|
296
|
+
requirement: !ruby/object:Gem::Requirement
|
297
|
+
requirements:
|
298
|
+
- - '='
|
299
|
+
- !ruby/object:Gem::Version
|
300
|
+
version: 0.6.1
|
301
|
+
type: :runtime
|
302
|
+
prerelease: false
|
303
|
+
version_requirements: !ruby/object:Gem::Requirement
|
304
|
+
requirements:
|
305
|
+
- - '='
|
306
|
+
- !ruby/object:Gem::Version
|
307
|
+
version: 0.6.1
|
308
|
+
- !ruby/object:Gem::Dependency
|
309
|
+
name: jekyll-optional-front-matter
|
310
|
+
requirement: !ruby/object:Gem::Requirement
|
311
|
+
requirements:
|
312
|
+
- - '='
|
313
|
+
- !ruby/object:Gem::Version
|
314
|
+
version: 0.3.2
|
315
|
+
type: :runtime
|
316
|
+
prerelease: false
|
317
|
+
version_requirements: !ruby/object:Gem::Requirement
|
318
|
+
requirements:
|
319
|
+
- - '='
|
320
|
+
- !ruby/object:Gem::Version
|
321
|
+
version: 0.3.2
|
322
|
+
- !ruby/object:Gem::Dependency
|
323
|
+
name: jekyll-readme-index
|
324
|
+
requirement: !ruby/object:Gem::Requirement
|
325
|
+
requirements:
|
326
|
+
- - '='
|
327
|
+
- !ruby/object:Gem::Version
|
328
|
+
version: 0.3.0
|
329
|
+
type: :runtime
|
330
|
+
prerelease: false
|
331
|
+
version_requirements: !ruby/object:Gem::Requirement
|
332
|
+
requirements:
|
333
|
+
- - '='
|
334
|
+
- !ruby/object:Gem::Version
|
335
|
+
version: 0.3.0
|
336
|
+
- !ruby/object:Gem::Dependency
|
337
|
+
name: jekyll-default-layout
|
338
|
+
requirement: !ruby/object:Gem::Requirement
|
339
|
+
requirements:
|
340
|
+
- - '='
|
341
|
+
- !ruby/object:Gem::Version
|
342
|
+
version: 0.1.5
|
343
|
+
type: :runtime
|
344
|
+
prerelease: false
|
345
|
+
version_requirements: !ruby/object:Gem::Requirement
|
346
|
+
requirements:
|
347
|
+
- - '='
|
348
|
+
- !ruby/object:Gem::Version
|
349
|
+
version: 0.1.5
|
350
|
+
- !ruby/object:Gem::Dependency
|
351
|
+
name: jekyll-titles-from-headings
|
352
|
+
requirement: !ruby/object:Gem::Requirement
|
353
|
+
requirements:
|
354
|
+
- - '='
|
355
|
+
- !ruby/object:Gem::Version
|
356
|
+
version: 0.5.3
|
357
|
+
type: :runtime
|
358
|
+
prerelease: false
|
359
|
+
version_requirements: !ruby/object:Gem::Requirement
|
360
|
+
requirements:
|
361
|
+
- - '='
|
362
|
+
- !ruby/object:Gem::Version
|
363
|
+
version: 0.5.3
|
364
|
+
- !ruby/object:Gem::Dependency
|
365
|
+
name: minima
|
366
|
+
requirement: !ruby/object:Gem::Requirement
|
367
|
+
requirements:
|
368
|
+
- - '='
|
369
|
+
- !ruby/object:Gem::Version
|
370
|
+
version: 2.5.1
|
371
|
+
type: :runtime
|
372
|
+
prerelease: false
|
373
|
+
version_requirements: !ruby/object:Gem::Requirement
|
374
|
+
requirements:
|
375
|
+
- - '='
|
376
|
+
- !ruby/object:Gem::Version
|
377
|
+
version: 2.5.1
|
378
|
+
- !ruby/object:Gem::Dependency
|
379
|
+
name: jekyll-swiss
|
380
|
+
requirement: !ruby/object:Gem::Requirement
|
381
|
+
requirements:
|
382
|
+
- - '='
|
383
|
+
- !ruby/object:Gem::Version
|
384
|
+
version: 1.0.0
|
385
|
+
type: :runtime
|
386
|
+
prerelease: false
|
387
|
+
version_requirements: !ruby/object:Gem::Requirement
|
388
|
+
requirements:
|
389
|
+
- - '='
|
390
|
+
- !ruby/object:Gem::Version
|
391
|
+
version: 1.0.0
|
392
|
+
- !ruby/object:Gem::Dependency
|
393
|
+
name: jekyll-theme-primer
|
394
|
+
requirement: !ruby/object:Gem::Requirement
|
395
|
+
requirements:
|
396
|
+
- - '='
|
397
|
+
- !ruby/object:Gem::Version
|
398
|
+
version: 0.6.0
|
399
|
+
type: :runtime
|
400
|
+
prerelease: false
|
401
|
+
version_requirements: !ruby/object:Gem::Requirement
|
402
|
+
requirements:
|
403
|
+
- - '='
|
404
|
+
- !ruby/object:Gem::Version
|
405
|
+
version: 0.6.0
|
406
|
+
- !ruby/object:Gem::Dependency
|
407
|
+
name: jekyll-v4-theme-primer
|
408
|
+
requirement: !ruby/object:Gem::Requirement
|
409
|
+
requirements:
|
410
|
+
- - '='
|
411
|
+
- !ruby/object:Gem::Version
|
412
|
+
version: 0.9.0
|
413
|
+
type: :runtime
|
414
|
+
prerelease: false
|
415
|
+
version_requirements: !ruby/object:Gem::Requirement
|
416
|
+
requirements:
|
417
|
+
- - '='
|
418
|
+
- !ruby/object:Gem::Version
|
419
|
+
version: 0.9.0
|
420
|
+
- !ruby/object:Gem::Dependency
|
421
|
+
name: jekyll-theme-architect
|
422
|
+
requirement: !ruby/object:Gem::Requirement
|
423
|
+
requirements:
|
424
|
+
- - '='
|
425
|
+
- !ruby/object:Gem::Version
|
426
|
+
version: 0.2.0
|
427
|
+
type: :runtime
|
428
|
+
prerelease: false
|
429
|
+
version_requirements: !ruby/object:Gem::Requirement
|
430
|
+
requirements:
|
431
|
+
- - '='
|
432
|
+
- !ruby/object:Gem::Version
|
433
|
+
version: 0.2.0
|
434
|
+
- !ruby/object:Gem::Dependency
|
435
|
+
name: jekyll-theme-cayman
|
436
|
+
requirement: !ruby/object:Gem::Requirement
|
437
|
+
requirements:
|
438
|
+
- - '='
|
439
|
+
- !ruby/object:Gem::Version
|
440
|
+
version: 0.2.0
|
441
|
+
type: :runtime
|
442
|
+
prerelease: false
|
443
|
+
version_requirements: !ruby/object:Gem::Requirement
|
444
|
+
requirements:
|
445
|
+
- - '='
|
446
|
+
- !ruby/object:Gem::Version
|
447
|
+
version: 0.2.0
|
448
|
+
- !ruby/object:Gem::Dependency
|
449
|
+
name: jekyll-theme-dinky
|
450
|
+
requirement: !ruby/object:Gem::Requirement
|
451
|
+
requirements:
|
452
|
+
- - '='
|
453
|
+
- !ruby/object:Gem::Version
|
454
|
+
version: 0.2.0
|
455
|
+
type: :runtime
|
456
|
+
prerelease: false
|
457
|
+
version_requirements: !ruby/object:Gem::Requirement
|
458
|
+
requirements:
|
459
|
+
- - '='
|
460
|
+
- !ruby/object:Gem::Version
|
461
|
+
version: 0.2.0
|
462
|
+
- !ruby/object:Gem::Dependency
|
463
|
+
name: jekyll-theme-hacker
|
464
|
+
requirement: !ruby/object:Gem::Requirement
|
465
|
+
requirements:
|
466
|
+
- - '='
|
467
|
+
- !ruby/object:Gem::Version
|
468
|
+
version: 0.2.0
|
469
|
+
type: :runtime
|
470
|
+
prerelease: false
|
471
|
+
version_requirements: !ruby/object:Gem::Requirement
|
472
|
+
requirements:
|
473
|
+
- - '='
|
474
|
+
- !ruby/object:Gem::Version
|
475
|
+
version: 0.2.0
|
476
|
+
- !ruby/object:Gem::Dependency
|
477
|
+
name: jekyll-theme-leap-day
|
478
|
+
requirement: !ruby/object:Gem::Requirement
|
479
|
+
requirements:
|
480
|
+
- - '='
|
481
|
+
- !ruby/object:Gem::Version
|
482
|
+
version: 0.2.0
|
483
|
+
type: :runtime
|
484
|
+
prerelease: false
|
485
|
+
version_requirements: !ruby/object:Gem::Requirement
|
486
|
+
requirements:
|
487
|
+
- - '='
|
488
|
+
- !ruby/object:Gem::Version
|
489
|
+
version: 0.2.0
|
490
|
+
- !ruby/object:Gem::Dependency
|
491
|
+
name: jekyll-theme-merlot
|
492
|
+
requirement: !ruby/object:Gem::Requirement
|
493
|
+
requirements:
|
494
|
+
- - '='
|
495
|
+
- !ruby/object:Gem::Version
|
496
|
+
version: 0.2.0
|
497
|
+
type: :runtime
|
498
|
+
prerelease: false
|
499
|
+
version_requirements: !ruby/object:Gem::Requirement
|
500
|
+
requirements:
|
501
|
+
- - '='
|
502
|
+
- !ruby/object:Gem::Version
|
503
|
+
version: 0.2.0
|
504
|
+
- !ruby/object:Gem::Dependency
|
505
|
+
name: jekyll-theme-midnight
|
506
|
+
requirement: !ruby/object:Gem::Requirement
|
507
|
+
requirements:
|
508
|
+
- - '='
|
509
|
+
- !ruby/object:Gem::Version
|
510
|
+
version: 0.2.0
|
511
|
+
type: :runtime
|
512
|
+
prerelease: false
|
513
|
+
version_requirements: !ruby/object:Gem::Requirement
|
514
|
+
requirements:
|
515
|
+
- - '='
|
516
|
+
- !ruby/object:Gem::Version
|
517
|
+
version: 0.2.0
|
518
|
+
- !ruby/object:Gem::Dependency
|
519
|
+
name: jekyll-theme-minimal
|
520
|
+
requirement: !ruby/object:Gem::Requirement
|
521
|
+
requirements:
|
522
|
+
- - '='
|
523
|
+
- !ruby/object:Gem::Version
|
524
|
+
version: 0.2.0
|
525
|
+
type: :runtime
|
526
|
+
prerelease: false
|
527
|
+
version_requirements: !ruby/object:Gem::Requirement
|
528
|
+
requirements:
|
529
|
+
- - '='
|
530
|
+
- !ruby/object:Gem::Version
|
531
|
+
version: 0.2.0
|
532
|
+
- !ruby/object:Gem::Dependency
|
533
|
+
name: jekyll-theme-modernist
|
534
|
+
requirement: !ruby/object:Gem::Requirement
|
535
|
+
requirements:
|
536
|
+
- - '='
|
537
|
+
- !ruby/object:Gem::Version
|
538
|
+
version: 0.2.0
|
539
|
+
type: :runtime
|
540
|
+
prerelease: false
|
541
|
+
version_requirements: !ruby/object:Gem::Requirement
|
542
|
+
requirements:
|
543
|
+
- - '='
|
544
|
+
- !ruby/object:Gem::Version
|
545
|
+
version: 0.2.0
|
546
|
+
- !ruby/object:Gem::Dependency
|
547
|
+
name: jekyll-theme-slate
|
548
|
+
requirement: !ruby/object:Gem::Requirement
|
549
|
+
requirements:
|
550
|
+
- - '='
|
551
|
+
- !ruby/object:Gem::Version
|
552
|
+
version: 0.2.0
|
553
|
+
type: :runtime
|
554
|
+
prerelease: false
|
555
|
+
version_requirements: !ruby/object:Gem::Requirement
|
556
|
+
requirements:
|
557
|
+
- - '='
|
558
|
+
- !ruby/object:Gem::Version
|
559
|
+
version: 0.2.0
|
560
|
+
- !ruby/object:Gem::Dependency
|
561
|
+
name: jekyll-theme-tactile
|
562
|
+
requirement: !ruby/object:Gem::Requirement
|
563
|
+
requirements:
|
564
|
+
- - '='
|
565
|
+
- !ruby/object:Gem::Version
|
566
|
+
version: 0.2.0
|
567
|
+
type: :runtime
|
568
|
+
prerelease: false
|
569
|
+
version_requirements: !ruby/object:Gem::Requirement
|
570
|
+
requirements:
|
571
|
+
- - '='
|
572
|
+
- !ruby/object:Gem::Version
|
573
|
+
version: 0.2.0
|
574
|
+
- !ruby/object:Gem::Dependency
|
575
|
+
name: jekyll-theme-time-machine
|
576
|
+
requirement: !ruby/object:Gem::Requirement
|
577
|
+
requirements:
|
578
|
+
- - '='
|
579
|
+
- !ruby/object:Gem::Version
|
580
|
+
version: 0.2.0
|
581
|
+
type: :runtime
|
582
|
+
prerelease: false
|
583
|
+
version_requirements: !ruby/object:Gem::Requirement
|
584
|
+
requirements:
|
585
|
+
- - '='
|
586
|
+
- !ruby/object:Gem::Version
|
587
|
+
version: 0.2.0
|
588
|
+
- !ruby/object:Gem::Dependency
|
589
|
+
name: mercenary
|
590
|
+
requirement: !ruby/object:Gem::Requirement
|
591
|
+
requirements:
|
592
|
+
- - "~>"
|
593
|
+
- !ruby/object:Gem::Version
|
594
|
+
version: '0.3'
|
595
|
+
type: :runtime
|
596
|
+
prerelease: false
|
597
|
+
version_requirements: !ruby/object:Gem::Requirement
|
598
|
+
requirements:
|
599
|
+
- - "~>"
|
600
|
+
- !ruby/object:Gem::Version
|
601
|
+
version: '0.3'
|
602
|
+
- !ruby/object:Gem::Dependency
|
603
|
+
name: nokogiri
|
604
|
+
requirement: !ruby/object:Gem::Requirement
|
605
|
+
requirements:
|
606
|
+
- - ">="
|
607
|
+
- !ruby/object:Gem::Version
|
608
|
+
version: 1.13.6
|
609
|
+
- - "<"
|
610
|
+
- !ruby/object:Gem::Version
|
611
|
+
version: '2.0'
|
612
|
+
type: :runtime
|
613
|
+
prerelease: false
|
614
|
+
version_requirements: !ruby/object:Gem::Requirement
|
615
|
+
requirements:
|
616
|
+
- - ">="
|
617
|
+
- !ruby/object:Gem::Version
|
618
|
+
version: 1.13.6
|
619
|
+
- - "<"
|
620
|
+
- !ruby/object:Gem::Version
|
621
|
+
version: '2.0'
|
622
|
+
- !ruby/object:Gem::Dependency
|
623
|
+
name: terminal-table
|
624
|
+
requirement: !ruby/object:Gem::Requirement
|
625
|
+
requirements:
|
626
|
+
- - "~>"
|
627
|
+
- !ruby/object:Gem::Version
|
628
|
+
version: '1.4'
|
629
|
+
type: :runtime
|
630
|
+
prerelease: false
|
631
|
+
version_requirements: !ruby/object:Gem::Requirement
|
632
|
+
requirements:
|
633
|
+
- - "~>"
|
634
|
+
- !ruby/object:Gem::Version
|
635
|
+
version: '1.4'
|
636
|
+
- !ruby/object:Gem::Dependency
|
637
|
+
name: jekyll_test_plugin_malicious
|
638
|
+
requirement: !ruby/object:Gem::Requirement
|
639
|
+
requirements:
|
640
|
+
- - "~>"
|
641
|
+
- !ruby/object:Gem::Version
|
642
|
+
version: '0.2'
|
643
|
+
type: :development
|
644
|
+
prerelease: false
|
645
|
+
version_requirements: !ruby/object:Gem::Requirement
|
646
|
+
requirements:
|
647
|
+
- - "~>"
|
648
|
+
- !ruby/object:Gem::Version
|
649
|
+
version: '0.2'
|
650
|
+
- !ruby/object:Gem::Dependency
|
651
|
+
name: pry
|
652
|
+
requirement: !ruby/object:Gem::Requirement
|
653
|
+
requirements:
|
654
|
+
- - "~>"
|
655
|
+
- !ruby/object:Gem::Version
|
656
|
+
version: '0.10'
|
657
|
+
type: :development
|
658
|
+
prerelease: false
|
659
|
+
version_requirements: !ruby/object:Gem::Requirement
|
660
|
+
requirements:
|
661
|
+
- - "~>"
|
662
|
+
- !ruby/object:Gem::Version
|
663
|
+
version: '0.10'
|
664
|
+
- !ruby/object:Gem::Dependency
|
665
|
+
name: rspec
|
666
|
+
requirement: !ruby/object:Gem::Requirement
|
667
|
+
requirements:
|
668
|
+
- - "~>"
|
669
|
+
- !ruby/object:Gem::Version
|
670
|
+
version: '3.3'
|
671
|
+
type: :development
|
672
|
+
prerelease: false
|
673
|
+
version_requirements: !ruby/object:Gem::Requirement
|
674
|
+
requirements:
|
675
|
+
- - "~>"
|
676
|
+
- !ruby/object:Gem::Version
|
677
|
+
version: '3.3'
|
678
|
+
- !ruby/object:Gem::Dependency
|
679
|
+
name: rubocop-github
|
680
|
+
requirement: !ruby/object:Gem::Requirement
|
681
|
+
requirements:
|
682
|
+
- - '='
|
683
|
+
- !ruby/object:Gem::Version
|
684
|
+
version: 0.20.0
|
685
|
+
type: :development
|
686
|
+
prerelease: false
|
687
|
+
version_requirements: !ruby/object:Gem::Requirement
|
688
|
+
requirements:
|
689
|
+
- - '='
|
690
|
+
- !ruby/object:Gem::Version
|
691
|
+
version: 0.20.0
|
692
|
+
description: Bootstrap the GitHub Pages Jekyll v4 environment locally.
|
693
|
+
email:
|
694
|
+
- support@github.com
|
695
|
+
- gwatersdev@gmail.com
|
696
|
+
executables:
|
697
|
+
- github-pages
|
698
|
+
extensions: []
|
699
|
+
extra_rdoc_files: []
|
700
|
+
files:
|
701
|
+
- ".rubocop.yml"
|
702
|
+
- bin/github-pages
|
703
|
+
- lib/github-pages.rb
|
704
|
+
- lib/github-pages/configuration.rb
|
705
|
+
- lib/github-pages/dependencies.rb
|
706
|
+
- lib/github-pages/plugins.rb
|
707
|
+
- lib/github-pages/version.rb
|
708
|
+
- lib/jekyll-v4-github-pages.rb
|
709
|
+
homepage: https://github.com/dunkmann00/pages-gem
|
710
|
+
licenses:
|
711
|
+
- MIT
|
712
|
+
metadata: {}
|
713
|
+
post_install_message:
|
714
|
+
rdoc_options: []
|
715
|
+
require_paths:
|
716
|
+
- lib
|
717
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
718
|
+
requirements:
|
719
|
+
- - ">="
|
720
|
+
- !ruby/object:Gem::Version
|
721
|
+
version: 2.3.0
|
722
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
723
|
+
requirements:
|
724
|
+
- - ">="
|
725
|
+
- !ruby/object:Gem::Version
|
726
|
+
version: '0'
|
727
|
+
requirements: []
|
728
|
+
rubygems_version: 3.3.11
|
729
|
+
signing_key:
|
730
|
+
specification_version: 4
|
731
|
+
summary: Track GitHub Pages dependencies.
|
732
|
+
test_files: []
|