ad-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 +167 -0
- data/bin/github-pages +93 -0
- data/lib/github-pages/configuration.rb +190 -0
- data/lib/github-pages/dependencies.rb +81 -0
- data/lib/github-pages/plugins.rb +89 -0
- data/lib/github-pages/version.rb +5 -0
- data/lib/github-pages.rb +20 -0
- metadata +756 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6d625d79b183d23b75a45a4a0927f99ef8bb6f489c289d9be285ea396377cd12
|
4
|
+
data.tar.gz: 920f4f15b64699e902b70c43635328d428ad5f918871c9ef5ef9029c35a39c58
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9cd9c0864febb62ceba6f2b8a4352595e4ba8b569944677022b04dee4b8b05be14c3eb56ee3a0fcbf805422f4a1c6fc05a7d97aeb419da9ced5d1f2c2d0b2b05
|
7
|
+
data.tar.gz: eca5a413a569e611e03b8aecacdd64911520e51058c74aa7c83c83000f0718836bfb3c9079a37e2ee2b34470493eb488f9d7c6e3b51be6e6d8bbcde519031121
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,167 @@
|
|
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
|
+
Metrics/ClassLength:
|
78
|
+
Exclude:
|
79
|
+
- !ruby/regexp /spec\/.*.rb$/
|
80
|
+
- !ruby/regexp /features\/.*.rb$/
|
81
|
+
- lib/github-pages/configuration.rb
|
82
|
+
|
83
|
+
Metrics/BlockLength:
|
84
|
+
Exclude:
|
85
|
+
- github-pages.gemspec
|
86
|
+
- !ruby/regexp /spec\/.*.rb/
|
87
|
+
|
88
|
+
Layout/LineLength:
|
89
|
+
Max: 90
|
90
|
+
Severity: warning
|
91
|
+
Exclude:
|
92
|
+
- !ruby/regexp /spec\/.*.rb/
|
93
|
+
- !ruby/regexp /features\/.*.rb/
|
94
|
+
|
95
|
+
Style/MultilineTernaryOperator:
|
96
|
+
Severity: error
|
97
|
+
|
98
|
+
Style/AndOr:
|
99
|
+
Severity: error
|
100
|
+
|
101
|
+
Layout/IndentationWidth:
|
102
|
+
Severity: error
|
103
|
+
|
104
|
+
Metrics/MethodLength:
|
105
|
+
CountComments: false # count full line comments?
|
106
|
+
Max: 20
|
107
|
+
Severity: error
|
108
|
+
Exclude:
|
109
|
+
- lib/github-pages.rb # Exclude the dependency hash method
|
110
|
+
|
111
|
+
Style/Alias:
|
112
|
+
Enabled: false # We have no guidance on alias vs alias_method
|
113
|
+
|
114
|
+
Style/RedundantSelf:
|
115
|
+
Enabled: false # Sometimes a self.field is a bit more clear
|
116
|
+
|
117
|
+
Style/IfUnlessModifier:
|
118
|
+
Enabled: false
|
119
|
+
|
120
|
+
Naming/FileName: #Rubocop doesn't like the Git*H*ub namespace
|
121
|
+
Enabled: false
|
122
|
+
|
123
|
+
Metrics/CyclomaticComplexity:
|
124
|
+
Max: 8
|
125
|
+
Metrics/PerceivedComplexity:
|
126
|
+
Max: 8
|
127
|
+
Metrics/ParameterLists:
|
128
|
+
Max: 4
|
129
|
+
Metrics/AbcSize:
|
130
|
+
Max: 20
|
131
|
+
|
132
|
+
Style/SignalException:
|
133
|
+
EnforcedStyle: only_raise
|
134
|
+
|
135
|
+
Layout/MultilineMethodCallIndentation:
|
136
|
+
EnforcedStyle: indented
|
137
|
+
|
138
|
+
Layout/MultilineOperationIndentation:
|
139
|
+
EnforcedStyle: indented
|
140
|
+
|
141
|
+
Layout/FirstArgumentIndentation:
|
142
|
+
EnforcedStyle: consistent
|
143
|
+
|
144
|
+
Layout/FirstHashElementIndentation:
|
145
|
+
EnforcedStyle: consistent
|
146
|
+
|
147
|
+
Layout/FirstArrayElementIndentation:
|
148
|
+
EnforcedStyle: consistent
|
149
|
+
|
150
|
+
Layout/ExtraSpacing:
|
151
|
+
AllowForAlignment: true
|
152
|
+
|
153
|
+
Style/TrailingCommaInArrayLiteral:
|
154
|
+
EnforcedStyleForMultiline: consistent_comma
|
155
|
+
|
156
|
+
Style/TrailingCommaInHashLiteral:
|
157
|
+
EnforcedStyleForMultiline: consistent_comma
|
158
|
+
|
159
|
+
Style/PercentLiteralDelimiters:
|
160
|
+
PreferredDelimiters:
|
161
|
+
'%q': '{}'
|
162
|
+
'%Q': '{}'
|
163
|
+
'%r': '{}'
|
164
|
+
'%s': '()'
|
165
|
+
'%w': '()'
|
166
|
+
'%W': '()'
|
167
|
+
'%x': '()'
|
data/bin/github-pages
ADDED
@@ -0,0 +1,93 @@
|
|
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(:serve) do |c|
|
61
|
+
c.syntax "serve [options]"
|
62
|
+
c.description "Serve your site locally"
|
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
|
+
c.option 'watch', '--watch', 'Watch for changes and rebuild'
|
69
|
+
c.option 'incremental', '-I', 'Enable incremental rebuild'
|
70
|
+
c.option 'host', '-H HOST', 'Host to bind to'
|
71
|
+
c.option 'port', '-P PORT', 'Port to listen on'
|
72
|
+
|
73
|
+
c.action do |_, options|
|
74
|
+
Jekyll::Commands::Serve.start(options)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
p.command(:build) do |c|
|
79
|
+
c.syntax "build [options]"
|
80
|
+
c.description "Builds your Jekyll site"
|
81
|
+
|
82
|
+
c.option 'verbose', '--verbose', 'Verbose logging'
|
83
|
+
c.option 'source', '--source DIR', 'From where to collect the source files'
|
84
|
+
c.option 'destination', '--destination DIR', 'To where the compiled files should be written'
|
85
|
+
c.option 'future', '--future', 'Publishes posts with a future date'
|
86
|
+
c.option 'watch', '--watch', 'Watch for changes and rebuild'
|
87
|
+
c.option 'incremental', '-I', 'Enable incremental rebuild'
|
88
|
+
|
89
|
+
c.action do |_, options|
|
90
|
+
Jekyll::Commands::Build.process(options)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
@@ -0,0 +1,190 @@
|
|
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-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
|
+
development? && !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
|
+
.fix_common_issues
|
98
|
+
.add_default_collections
|
99
|
+
|
100
|
+
# Allow theme to be explicitly disabled via "theme: null"
|
101
|
+
config["theme"] = user_config["theme"] if user_config.key?("theme")
|
102
|
+
|
103
|
+
migrate_theme_to_remote_theme(config)
|
104
|
+
exclude_cname(config)
|
105
|
+
|
106
|
+
# Merge overwrites into user config
|
107
|
+
config = Jekyll::Utils.deep_merge_hashes config, OVERRIDES
|
108
|
+
|
109
|
+
restrict_and_config_markdown_processor(config)
|
110
|
+
|
111
|
+
configure_plugins(config)
|
112
|
+
|
113
|
+
config
|
114
|
+
end
|
115
|
+
|
116
|
+
# Set the site's configuration. Implemented as an `after_reset` hook.
|
117
|
+
# Equivalent #set! function contains the code of interest. This function
|
118
|
+
# guards against double-processing via the value in #processed.
|
119
|
+
def set(site)
|
120
|
+
return if processed? site
|
121
|
+
|
122
|
+
debug_print_versions
|
123
|
+
set!(site)
|
124
|
+
processed(site)
|
125
|
+
end
|
126
|
+
|
127
|
+
# Set the site's configuration with all the proper defaults and overrides.
|
128
|
+
# Should be called by #set to protect against multiple processings.
|
129
|
+
def set!(site)
|
130
|
+
site.config = effective_config(site.config)
|
131
|
+
end
|
132
|
+
|
133
|
+
private
|
134
|
+
|
135
|
+
# Ensure we're using Kramdown or GFM. Force to Kramdown if
|
136
|
+
# neither of these.
|
137
|
+
#
|
138
|
+
# This can get called multiply on the same config, so try to
|
139
|
+
# be idempotentish.
|
140
|
+
def restrict_and_config_markdown_processor(config)
|
141
|
+
config["markdown"] = "kramdown" unless \
|
142
|
+
%w(kramdown gfm commonmarkghpages).include?(config["markdown"].to_s.downcase)
|
143
|
+
|
144
|
+
return unless config["markdown"].to_s.casecmp("gfm").zero?
|
145
|
+
|
146
|
+
config["markdown"] = "CommonMarkGhPages"
|
147
|
+
config["commonmark"] = {
|
148
|
+
"extensions" => %w(table strikethrough autolink tagfilter),
|
149
|
+
"options" => %w(unsafe footnotes),
|
150
|
+
}
|
151
|
+
end
|
152
|
+
|
153
|
+
# If the user has set a 'theme', then see if we can automatically use remote theme instead.
|
154
|
+
def migrate_theme_to_remote_theme(config)
|
155
|
+
# This functionality has been rolled back due to complications with jekyll-remote-theme.
|
156
|
+
end
|
157
|
+
|
158
|
+
# If the user's 'exclude' config is the default, also exclude the CNAME
|
159
|
+
def exclude_cname(config)
|
160
|
+
return unless config["exclude"].eql? Jekyll::Configuration::DEFAULTS["exclude"]
|
161
|
+
|
162
|
+
config["exclude"].concat(DEFAULTS["exclude"])
|
163
|
+
end
|
164
|
+
|
165
|
+
# Requires default plugins and configures whitelist in development
|
166
|
+
def configure_plugins(config)
|
167
|
+
# Ensure we have those gems we want.
|
168
|
+
config["plugins"] = Array(config["plugins"]) | DEFAULT_PLUGINS
|
169
|
+
|
170
|
+
# To minimize errors, lazy-require jekyll-remote-theme if requested by the user
|
171
|
+
config["plugins"].push("jekyll-remote-theme") if config.key? "remote_theme"
|
172
|
+
|
173
|
+
return unless development?
|
174
|
+
|
175
|
+
if disable_whitelist?
|
176
|
+
config["whitelist"] = config["whitelist"] | config["plugins"]
|
177
|
+
end
|
178
|
+
|
179
|
+
config["whitelist"] = config["whitelist"] | DEVELOPMENT_PLUGINS
|
180
|
+
end
|
181
|
+
|
182
|
+
# Print the versions for github-pages and jekyll to the debug
|
183
|
+
# stream for debugging purposes. See by running Jekyll with '--verbose'
|
184
|
+
def debug_print_versions
|
185
|
+
Jekyll.logger.debug "GitHub Pages:", "github-pages v#{GitHubPages::VERSION}"
|
186
|
+
Jekyll.logger.debug "GitHub Pages:", "jekyll v#{Jekyll::VERSION}"
|
187
|
+
end
|
188
|
+
end
|
189
|
+
end
|
190
|
+
end
|
@@ -0,0 +1,81 @@
|
|
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" => "3.9.3",
|
11
|
+
"jekyll-sass-converter" => "1.5.2",
|
12
|
+
|
13
|
+
# Converters
|
14
|
+
"kramdown" => "2.3.2",
|
15
|
+
"kramdown-parser-gfm" => "1.1.0",
|
16
|
+
"jekyll-commonmark-ghpages" => "0.4.0",
|
17
|
+
|
18
|
+
# Misc
|
19
|
+
"liquid" => "4.0.4",
|
20
|
+
"rouge" => "3.26.0",
|
21
|
+
"github-pages-health-check" => "1.17.9",
|
22
|
+
|
23
|
+
# Plugins
|
24
|
+
"jekyll-redirect-from" => "0.16.0",
|
25
|
+
"jekyll-sitemap" => "1.4.0",
|
26
|
+
"jekyll-feed" => "0.15.1",
|
27
|
+
"jekyll-gist" => "1.5.0",
|
28
|
+
"jekyll-paginate" => "1.1.0",
|
29
|
+
"jekyll-coffeescript" => "1.1.1",
|
30
|
+
"jekyll-seo-tag" => "2.8.0",
|
31
|
+
"jekyll-github-metadata" => "2.13.0",
|
32
|
+
"jekyll-avatar" => "0.7.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.12.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.4",
|
43
|
+
"jekyll-titles-from-headings" => "0.5.3",
|
44
|
+
|
45
|
+
# My Plugins
|
46
|
+
"jekyll-autolink_email" => "0.1.0",
|
47
|
+
"jekyll-last-modified-at" => "1.3.0"
|
48
|
+
}.freeze
|
49
|
+
|
50
|
+
# Jekyll and related dependency versions as used by GitHub Pages.
|
51
|
+
# For more information see:
|
52
|
+
# https://help.github.com/articles/using-jekyll-with-pages
|
53
|
+
def self.gems
|
54
|
+
VERSIONS.merge(GitHubPages::Plugins::THEMES)
|
55
|
+
end
|
56
|
+
|
57
|
+
# Versions used by GitHub Pages, including github-pages gem and ruby version
|
58
|
+
# Useful for programmatically querying for the current-running version
|
59
|
+
def self.versions
|
60
|
+
gems.merge version_report
|
61
|
+
end
|
62
|
+
|
63
|
+
def self.version_report
|
64
|
+
require "html/pipeline/version"
|
65
|
+
require "sass/version"
|
66
|
+
require "safe_yaml/version"
|
67
|
+
require "nokogiri"
|
68
|
+
|
69
|
+
{
|
70
|
+
"ruby" => RUBY_VERSION,
|
71
|
+
|
72
|
+
# Gem versions we're curious about
|
73
|
+
"github-pages" => VERSION.to_s,
|
74
|
+
"html-pipeline" => HTML::Pipeline::VERSION,
|
75
|
+
"sass" => Sass.version[:number],
|
76
|
+
"safe_yaml" => SafeYAML::VERSION,
|
77
|
+
"nokogiri" => Nokogiri::VERSION,
|
78
|
+
}
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
@@ -0,0 +1,89 @@
|
|
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-commonmark-ghpages
|
10
|
+
jekyll-gist
|
11
|
+
jekyll-github-metadata
|
12
|
+
jekyll-paginate
|
13
|
+
jekyll-relative-links
|
14
|
+
jekyll-optional-front-matter
|
15
|
+
jekyll-readme-index
|
16
|
+
jekyll-default-layout
|
17
|
+
jekyll-titles-from-headings
|
18
|
+
jekyll-autolink_email
|
19
|
+
).freeze
|
20
|
+
|
21
|
+
# Plugins allowed by GitHub Pages
|
22
|
+
PLUGIN_WHITELIST = %w(
|
23
|
+
jekyll-coffeescript
|
24
|
+
jekyll-commonmark-ghpages
|
25
|
+
jekyll-feed
|
26
|
+
jekyll-gist
|
27
|
+
jekyll-github-metadata
|
28
|
+
jekyll-paginate
|
29
|
+
jekyll-redirect-from
|
30
|
+
jekyll-seo-tag
|
31
|
+
jekyll-sitemap
|
32
|
+
jekyll-avatar
|
33
|
+
jemoji
|
34
|
+
jekyll-mentions
|
35
|
+
jekyll-relative-links
|
36
|
+
jekyll-optional-front-matter
|
37
|
+
jekyll-readme-index
|
38
|
+
jekyll-default-layout
|
39
|
+
jekyll-titles-from-headings
|
40
|
+
jekyll-include-cache
|
41
|
+
jekyll-octicons
|
42
|
+
jekyll-remote-theme
|
43
|
+
jekyll-autolink_email
|
44
|
+
jekyll-last-modified-at
|
45
|
+
).freeze
|
46
|
+
|
47
|
+
# Plugins only allowed locally
|
48
|
+
DEVELOPMENT_PLUGINS = %w(
|
49
|
+
jekyll-admin
|
50
|
+
).freeze
|
51
|
+
|
52
|
+
# Themes
|
53
|
+
THEMES = {
|
54
|
+
"minima" => "2.5.1",
|
55
|
+
"jekyll-swiss" => "1.0.0",
|
56
|
+
"jekyll-theme-primer" => "0.6.0",
|
57
|
+
"jekyll-theme-architect" => "0.2.0",
|
58
|
+
"jekyll-theme-cayman" => "0.2.0",
|
59
|
+
"jekyll-theme-dinky" => "0.2.0",
|
60
|
+
"jekyll-theme-hacker" => "0.2.0",
|
61
|
+
"jekyll-theme-leap-day" => "0.2.0",
|
62
|
+
"jekyll-theme-merlot" => "0.2.0",
|
63
|
+
"jekyll-theme-midnight" => "0.2.0",
|
64
|
+
"jekyll-theme-minimal" => "0.2.0",
|
65
|
+
"jekyll-theme-modernist" => "0.2.0",
|
66
|
+
"jekyll-theme-slate" => "0.2.0",
|
67
|
+
"jekyll-theme-tactile" => "0.2.0",
|
68
|
+
"jekyll-theme-time-machine" => "0.2.0",
|
69
|
+
}.freeze
|
70
|
+
|
71
|
+
# Themes to convert to remote themes
|
72
|
+
THEMES_TO_CONVERT_TO_REMOTE_THEMES = {
|
73
|
+
"jekyll-swiss" => "broccolini/swiss",
|
74
|
+
"jekyll-theme-primer" => "pages-themes/primer@v0.6.0",
|
75
|
+
"jekyll-theme-architect" => "pages-themes/architect@v0.2.0",
|
76
|
+
"jekyll-theme-cayman" => "pages-themes/cayman@v0.2.0",
|
77
|
+
"jekyll-theme-dinky" => "pages-themes/dinky@v0.2.0",
|
78
|
+
"jekyll-theme-hacker" => "pages-themes/hacker@v0.2.0",
|
79
|
+
"jekyll-theme-leap-day" => "pages-themes/leap-day@v0.2.0",
|
80
|
+
"jekyll-theme-merlot" => "pages-themes/merlot@v0.2.0",
|
81
|
+
"jekyll-theme-midnight" => "pages-themes/midnight@v0.2.0",
|
82
|
+
"jekyll-theme-minimal" => "pages-themes/minimal@v0.2.0",
|
83
|
+
"jekyll-theme-modernist" => "pages-themes/modernist@v0.2.0",
|
84
|
+
"jekyll-theme-slate" => "pages-themes/slate@v0.2.0",
|
85
|
+
"jekyll-theme-tactile" => "pages-themes/tactile@v0.2.0",
|
86
|
+
"jekyll-theme-time-machine" => "pages-themes/time-machine@v0.2.0",
|
87
|
+
}
|
88
|
+
end
|
89
|
+
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,756 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ad-github-pages
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '228'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- GitHub, Inc. & ADoyle
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-06-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.9.3
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.9.3
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-sass-converter
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.5.2
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.5.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: kramdown
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.3.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.3.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: kramdown-parser-gfm
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.1.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.1.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jekyll-commonmark-ghpages
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.4.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.4.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: liquid
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 4.0.4
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 4.0.4
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rouge
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.26.0
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.26.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: github-pages-health-check
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.17.9
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.17.9
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: jekyll-redirect-from
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.16.0
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.16.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: jekyll-sitemap
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.4.0
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.4.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: jekyll-feed
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.15.1
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.15.1
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: jekyll-gist
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 1.5.0
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - '='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 1.5.0
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: jekyll-paginate
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - '='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 1.1.0
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - '='
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 1.1.0
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: jekyll-coffeescript
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - '='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 1.1.1
|
202
|
+
type: :runtime
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - '='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 1.1.1
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: jekyll-seo-tag
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - '='
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 2.8.0
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - '='
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 2.8.0
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: jekyll-github-metadata
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - '='
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 2.13.0
|
230
|
+
type: :runtime
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - '='
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 2.13.0
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: jekyll-avatar
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - '='
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: 0.7.0
|
244
|
+
type: :runtime
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - '='
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: 0.7.0
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: jekyll-remote-theme
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - '='
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: 0.4.3
|
258
|
+
type: :runtime
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - '='
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: 0.4.3
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: jekyll-include-cache
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - '='
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: 0.2.1
|
272
|
+
type: :runtime
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - '='
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: 0.2.1
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: jemoji
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - '='
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: 0.12.0
|
286
|
+
type: :runtime
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - '='
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: 0.12.0
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: jekyll-mentions
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - '='
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: 1.6.0
|
300
|
+
type: :runtime
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - '='
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: 1.6.0
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: jekyll-relative-links
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - '='
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: 0.6.1
|
314
|
+
type: :runtime
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - '='
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: 0.6.1
|
321
|
+
- !ruby/object:Gem::Dependency
|
322
|
+
name: jekyll-optional-front-matter
|
323
|
+
requirement: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - '='
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: 0.3.2
|
328
|
+
type: :runtime
|
329
|
+
prerelease: false
|
330
|
+
version_requirements: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - '='
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: 0.3.2
|
335
|
+
- !ruby/object:Gem::Dependency
|
336
|
+
name: jekyll-readme-index
|
337
|
+
requirement: !ruby/object:Gem::Requirement
|
338
|
+
requirements:
|
339
|
+
- - '='
|
340
|
+
- !ruby/object:Gem::Version
|
341
|
+
version: 0.3.0
|
342
|
+
type: :runtime
|
343
|
+
prerelease: false
|
344
|
+
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
requirements:
|
346
|
+
- - '='
|
347
|
+
- !ruby/object:Gem::Version
|
348
|
+
version: 0.3.0
|
349
|
+
- !ruby/object:Gem::Dependency
|
350
|
+
name: jekyll-default-layout
|
351
|
+
requirement: !ruby/object:Gem::Requirement
|
352
|
+
requirements:
|
353
|
+
- - '='
|
354
|
+
- !ruby/object:Gem::Version
|
355
|
+
version: 0.1.4
|
356
|
+
type: :runtime
|
357
|
+
prerelease: false
|
358
|
+
version_requirements: !ruby/object:Gem::Requirement
|
359
|
+
requirements:
|
360
|
+
- - '='
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: 0.1.4
|
363
|
+
- !ruby/object:Gem::Dependency
|
364
|
+
name: jekyll-titles-from-headings
|
365
|
+
requirement: !ruby/object:Gem::Requirement
|
366
|
+
requirements:
|
367
|
+
- - '='
|
368
|
+
- !ruby/object:Gem::Version
|
369
|
+
version: 0.5.3
|
370
|
+
type: :runtime
|
371
|
+
prerelease: false
|
372
|
+
version_requirements: !ruby/object:Gem::Requirement
|
373
|
+
requirements:
|
374
|
+
- - '='
|
375
|
+
- !ruby/object:Gem::Version
|
376
|
+
version: 0.5.3
|
377
|
+
- !ruby/object:Gem::Dependency
|
378
|
+
name: jekyll-autolink_email
|
379
|
+
requirement: !ruby/object:Gem::Requirement
|
380
|
+
requirements:
|
381
|
+
- - '='
|
382
|
+
- !ruby/object:Gem::Version
|
383
|
+
version: 0.1.0
|
384
|
+
type: :runtime
|
385
|
+
prerelease: false
|
386
|
+
version_requirements: !ruby/object:Gem::Requirement
|
387
|
+
requirements:
|
388
|
+
- - '='
|
389
|
+
- !ruby/object:Gem::Version
|
390
|
+
version: 0.1.0
|
391
|
+
- !ruby/object:Gem::Dependency
|
392
|
+
name: jekyll-last-modified-at
|
393
|
+
requirement: !ruby/object:Gem::Requirement
|
394
|
+
requirements:
|
395
|
+
- - '='
|
396
|
+
- !ruby/object:Gem::Version
|
397
|
+
version: 1.3.0
|
398
|
+
type: :runtime
|
399
|
+
prerelease: false
|
400
|
+
version_requirements: !ruby/object:Gem::Requirement
|
401
|
+
requirements:
|
402
|
+
- - '='
|
403
|
+
- !ruby/object:Gem::Version
|
404
|
+
version: 1.3.0
|
405
|
+
- !ruby/object:Gem::Dependency
|
406
|
+
name: minima
|
407
|
+
requirement: !ruby/object:Gem::Requirement
|
408
|
+
requirements:
|
409
|
+
- - '='
|
410
|
+
- !ruby/object:Gem::Version
|
411
|
+
version: 2.5.1
|
412
|
+
type: :runtime
|
413
|
+
prerelease: false
|
414
|
+
version_requirements: !ruby/object:Gem::Requirement
|
415
|
+
requirements:
|
416
|
+
- - '='
|
417
|
+
- !ruby/object:Gem::Version
|
418
|
+
version: 2.5.1
|
419
|
+
- !ruby/object:Gem::Dependency
|
420
|
+
name: jekyll-swiss
|
421
|
+
requirement: !ruby/object:Gem::Requirement
|
422
|
+
requirements:
|
423
|
+
- - '='
|
424
|
+
- !ruby/object:Gem::Version
|
425
|
+
version: 1.0.0
|
426
|
+
type: :runtime
|
427
|
+
prerelease: false
|
428
|
+
version_requirements: !ruby/object:Gem::Requirement
|
429
|
+
requirements:
|
430
|
+
- - '='
|
431
|
+
- !ruby/object:Gem::Version
|
432
|
+
version: 1.0.0
|
433
|
+
- !ruby/object:Gem::Dependency
|
434
|
+
name: jekyll-theme-primer
|
435
|
+
requirement: !ruby/object:Gem::Requirement
|
436
|
+
requirements:
|
437
|
+
- - '='
|
438
|
+
- !ruby/object:Gem::Version
|
439
|
+
version: 0.6.0
|
440
|
+
type: :runtime
|
441
|
+
prerelease: false
|
442
|
+
version_requirements: !ruby/object:Gem::Requirement
|
443
|
+
requirements:
|
444
|
+
- - '='
|
445
|
+
- !ruby/object:Gem::Version
|
446
|
+
version: 0.6.0
|
447
|
+
- !ruby/object:Gem::Dependency
|
448
|
+
name: jekyll-theme-architect
|
449
|
+
requirement: !ruby/object:Gem::Requirement
|
450
|
+
requirements:
|
451
|
+
- - '='
|
452
|
+
- !ruby/object:Gem::Version
|
453
|
+
version: 0.2.0
|
454
|
+
type: :runtime
|
455
|
+
prerelease: false
|
456
|
+
version_requirements: !ruby/object:Gem::Requirement
|
457
|
+
requirements:
|
458
|
+
- - '='
|
459
|
+
- !ruby/object:Gem::Version
|
460
|
+
version: 0.2.0
|
461
|
+
- !ruby/object:Gem::Dependency
|
462
|
+
name: jekyll-theme-cayman
|
463
|
+
requirement: !ruby/object:Gem::Requirement
|
464
|
+
requirements:
|
465
|
+
- - '='
|
466
|
+
- !ruby/object:Gem::Version
|
467
|
+
version: 0.2.0
|
468
|
+
type: :runtime
|
469
|
+
prerelease: false
|
470
|
+
version_requirements: !ruby/object:Gem::Requirement
|
471
|
+
requirements:
|
472
|
+
- - '='
|
473
|
+
- !ruby/object:Gem::Version
|
474
|
+
version: 0.2.0
|
475
|
+
- !ruby/object:Gem::Dependency
|
476
|
+
name: jekyll-theme-dinky
|
477
|
+
requirement: !ruby/object:Gem::Requirement
|
478
|
+
requirements:
|
479
|
+
- - '='
|
480
|
+
- !ruby/object:Gem::Version
|
481
|
+
version: 0.2.0
|
482
|
+
type: :runtime
|
483
|
+
prerelease: false
|
484
|
+
version_requirements: !ruby/object:Gem::Requirement
|
485
|
+
requirements:
|
486
|
+
- - '='
|
487
|
+
- !ruby/object:Gem::Version
|
488
|
+
version: 0.2.0
|
489
|
+
- !ruby/object:Gem::Dependency
|
490
|
+
name: jekyll-theme-hacker
|
491
|
+
requirement: !ruby/object:Gem::Requirement
|
492
|
+
requirements:
|
493
|
+
- - '='
|
494
|
+
- !ruby/object:Gem::Version
|
495
|
+
version: 0.2.0
|
496
|
+
type: :runtime
|
497
|
+
prerelease: false
|
498
|
+
version_requirements: !ruby/object:Gem::Requirement
|
499
|
+
requirements:
|
500
|
+
- - '='
|
501
|
+
- !ruby/object:Gem::Version
|
502
|
+
version: 0.2.0
|
503
|
+
- !ruby/object:Gem::Dependency
|
504
|
+
name: jekyll-theme-leap-day
|
505
|
+
requirement: !ruby/object:Gem::Requirement
|
506
|
+
requirements:
|
507
|
+
- - '='
|
508
|
+
- !ruby/object:Gem::Version
|
509
|
+
version: 0.2.0
|
510
|
+
type: :runtime
|
511
|
+
prerelease: false
|
512
|
+
version_requirements: !ruby/object:Gem::Requirement
|
513
|
+
requirements:
|
514
|
+
- - '='
|
515
|
+
- !ruby/object:Gem::Version
|
516
|
+
version: 0.2.0
|
517
|
+
- !ruby/object:Gem::Dependency
|
518
|
+
name: jekyll-theme-merlot
|
519
|
+
requirement: !ruby/object:Gem::Requirement
|
520
|
+
requirements:
|
521
|
+
- - '='
|
522
|
+
- !ruby/object:Gem::Version
|
523
|
+
version: 0.2.0
|
524
|
+
type: :runtime
|
525
|
+
prerelease: false
|
526
|
+
version_requirements: !ruby/object:Gem::Requirement
|
527
|
+
requirements:
|
528
|
+
- - '='
|
529
|
+
- !ruby/object:Gem::Version
|
530
|
+
version: 0.2.0
|
531
|
+
- !ruby/object:Gem::Dependency
|
532
|
+
name: jekyll-theme-midnight
|
533
|
+
requirement: !ruby/object:Gem::Requirement
|
534
|
+
requirements:
|
535
|
+
- - '='
|
536
|
+
- !ruby/object:Gem::Version
|
537
|
+
version: 0.2.0
|
538
|
+
type: :runtime
|
539
|
+
prerelease: false
|
540
|
+
version_requirements: !ruby/object:Gem::Requirement
|
541
|
+
requirements:
|
542
|
+
- - '='
|
543
|
+
- !ruby/object:Gem::Version
|
544
|
+
version: 0.2.0
|
545
|
+
- !ruby/object:Gem::Dependency
|
546
|
+
name: jekyll-theme-minimal
|
547
|
+
requirement: !ruby/object:Gem::Requirement
|
548
|
+
requirements:
|
549
|
+
- - '='
|
550
|
+
- !ruby/object:Gem::Version
|
551
|
+
version: 0.2.0
|
552
|
+
type: :runtime
|
553
|
+
prerelease: false
|
554
|
+
version_requirements: !ruby/object:Gem::Requirement
|
555
|
+
requirements:
|
556
|
+
- - '='
|
557
|
+
- !ruby/object:Gem::Version
|
558
|
+
version: 0.2.0
|
559
|
+
- !ruby/object:Gem::Dependency
|
560
|
+
name: jekyll-theme-modernist
|
561
|
+
requirement: !ruby/object:Gem::Requirement
|
562
|
+
requirements:
|
563
|
+
- - '='
|
564
|
+
- !ruby/object:Gem::Version
|
565
|
+
version: 0.2.0
|
566
|
+
type: :runtime
|
567
|
+
prerelease: false
|
568
|
+
version_requirements: !ruby/object:Gem::Requirement
|
569
|
+
requirements:
|
570
|
+
- - '='
|
571
|
+
- !ruby/object:Gem::Version
|
572
|
+
version: 0.2.0
|
573
|
+
- !ruby/object:Gem::Dependency
|
574
|
+
name: jekyll-theme-slate
|
575
|
+
requirement: !ruby/object:Gem::Requirement
|
576
|
+
requirements:
|
577
|
+
- - '='
|
578
|
+
- !ruby/object:Gem::Version
|
579
|
+
version: 0.2.0
|
580
|
+
type: :runtime
|
581
|
+
prerelease: false
|
582
|
+
version_requirements: !ruby/object:Gem::Requirement
|
583
|
+
requirements:
|
584
|
+
- - '='
|
585
|
+
- !ruby/object:Gem::Version
|
586
|
+
version: 0.2.0
|
587
|
+
- !ruby/object:Gem::Dependency
|
588
|
+
name: jekyll-theme-tactile
|
589
|
+
requirement: !ruby/object:Gem::Requirement
|
590
|
+
requirements:
|
591
|
+
- - '='
|
592
|
+
- !ruby/object:Gem::Version
|
593
|
+
version: 0.2.0
|
594
|
+
type: :runtime
|
595
|
+
prerelease: false
|
596
|
+
version_requirements: !ruby/object:Gem::Requirement
|
597
|
+
requirements:
|
598
|
+
- - '='
|
599
|
+
- !ruby/object:Gem::Version
|
600
|
+
version: 0.2.0
|
601
|
+
- !ruby/object:Gem::Dependency
|
602
|
+
name: jekyll-theme-time-machine
|
603
|
+
requirement: !ruby/object:Gem::Requirement
|
604
|
+
requirements:
|
605
|
+
- - '='
|
606
|
+
- !ruby/object:Gem::Version
|
607
|
+
version: 0.2.0
|
608
|
+
type: :runtime
|
609
|
+
prerelease: false
|
610
|
+
version_requirements: !ruby/object:Gem::Requirement
|
611
|
+
requirements:
|
612
|
+
- - '='
|
613
|
+
- !ruby/object:Gem::Version
|
614
|
+
version: 0.2.0
|
615
|
+
- !ruby/object:Gem::Dependency
|
616
|
+
name: mercenary
|
617
|
+
requirement: !ruby/object:Gem::Requirement
|
618
|
+
requirements:
|
619
|
+
- - "~>"
|
620
|
+
- !ruby/object:Gem::Version
|
621
|
+
version: '0.3'
|
622
|
+
type: :runtime
|
623
|
+
prerelease: false
|
624
|
+
version_requirements: !ruby/object:Gem::Requirement
|
625
|
+
requirements:
|
626
|
+
- - "~>"
|
627
|
+
- !ruby/object:Gem::Version
|
628
|
+
version: '0.3'
|
629
|
+
- !ruby/object:Gem::Dependency
|
630
|
+
name: nokogiri
|
631
|
+
requirement: !ruby/object:Gem::Requirement
|
632
|
+
requirements:
|
633
|
+
- - ">="
|
634
|
+
- !ruby/object:Gem::Version
|
635
|
+
version: 1.13.6
|
636
|
+
- - "<"
|
637
|
+
- !ruby/object:Gem::Version
|
638
|
+
version: '2.0'
|
639
|
+
type: :runtime
|
640
|
+
prerelease: false
|
641
|
+
version_requirements: !ruby/object:Gem::Requirement
|
642
|
+
requirements:
|
643
|
+
- - ">="
|
644
|
+
- !ruby/object:Gem::Version
|
645
|
+
version: 1.13.6
|
646
|
+
- - "<"
|
647
|
+
- !ruby/object:Gem::Version
|
648
|
+
version: '2.0'
|
649
|
+
- !ruby/object:Gem::Dependency
|
650
|
+
name: terminal-table
|
651
|
+
requirement: !ruby/object:Gem::Requirement
|
652
|
+
requirements:
|
653
|
+
- - "~>"
|
654
|
+
- !ruby/object:Gem::Version
|
655
|
+
version: '1.4'
|
656
|
+
type: :runtime
|
657
|
+
prerelease: false
|
658
|
+
version_requirements: !ruby/object:Gem::Requirement
|
659
|
+
requirements:
|
660
|
+
- - "~>"
|
661
|
+
- !ruby/object:Gem::Version
|
662
|
+
version: '1.4'
|
663
|
+
- !ruby/object:Gem::Dependency
|
664
|
+
name: jekyll_test_plugin_malicious
|
665
|
+
requirement: !ruby/object:Gem::Requirement
|
666
|
+
requirements:
|
667
|
+
- - "~>"
|
668
|
+
- !ruby/object:Gem::Version
|
669
|
+
version: '0.2'
|
670
|
+
type: :development
|
671
|
+
prerelease: false
|
672
|
+
version_requirements: !ruby/object:Gem::Requirement
|
673
|
+
requirements:
|
674
|
+
- - "~>"
|
675
|
+
- !ruby/object:Gem::Version
|
676
|
+
version: '0.2'
|
677
|
+
- !ruby/object:Gem::Dependency
|
678
|
+
name: pry
|
679
|
+
requirement: !ruby/object:Gem::Requirement
|
680
|
+
requirements:
|
681
|
+
- - "~>"
|
682
|
+
- !ruby/object:Gem::Version
|
683
|
+
version: '0.10'
|
684
|
+
type: :development
|
685
|
+
prerelease: false
|
686
|
+
version_requirements: !ruby/object:Gem::Requirement
|
687
|
+
requirements:
|
688
|
+
- - "~>"
|
689
|
+
- !ruby/object:Gem::Version
|
690
|
+
version: '0.10'
|
691
|
+
- !ruby/object:Gem::Dependency
|
692
|
+
name: rspec
|
693
|
+
requirement: !ruby/object:Gem::Requirement
|
694
|
+
requirements:
|
695
|
+
- - "~>"
|
696
|
+
- !ruby/object:Gem::Version
|
697
|
+
version: '3.3'
|
698
|
+
type: :development
|
699
|
+
prerelease: false
|
700
|
+
version_requirements: !ruby/object:Gem::Requirement
|
701
|
+
requirements:
|
702
|
+
- - "~>"
|
703
|
+
- !ruby/object:Gem::Version
|
704
|
+
version: '3.3'
|
705
|
+
- !ruby/object:Gem::Dependency
|
706
|
+
name: rubocop-github
|
707
|
+
requirement: !ruby/object:Gem::Requirement
|
708
|
+
requirements:
|
709
|
+
- - '='
|
710
|
+
- !ruby/object:Gem::Version
|
711
|
+
version: 0.16.0
|
712
|
+
type: :development
|
713
|
+
prerelease: false
|
714
|
+
version_requirements: !ruby/object:Gem::Requirement
|
715
|
+
requirements:
|
716
|
+
- - '='
|
717
|
+
- !ruby/object:Gem::Version
|
718
|
+
version: 0.16.0
|
719
|
+
description: Bootstrap the GitHub Pages Jekyll environment locally.
|
720
|
+
email: adoyle.h@gmail.com
|
721
|
+
executables:
|
722
|
+
- github-pages
|
723
|
+
extensions: []
|
724
|
+
extra_rdoc_files: []
|
725
|
+
files:
|
726
|
+
- ".rubocop.yml"
|
727
|
+
- bin/github-pages
|
728
|
+
- lib/github-pages.rb
|
729
|
+
- lib/github-pages/configuration.rb
|
730
|
+
- lib/github-pages/dependencies.rb
|
731
|
+
- lib/github-pages/plugins.rb
|
732
|
+
- lib/github-pages/version.rb
|
733
|
+
homepage: https://github.com/adoyle-h/pages-gem
|
734
|
+
licenses:
|
735
|
+
- MIT
|
736
|
+
metadata: {}
|
737
|
+
post_install_message:
|
738
|
+
rdoc_options: []
|
739
|
+
require_paths:
|
740
|
+
- lib
|
741
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
742
|
+
requirements:
|
743
|
+
- - ">="
|
744
|
+
- !ruby/object:Gem::Version
|
745
|
+
version: 2.3.0
|
746
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
747
|
+
requirements:
|
748
|
+
- - ">="
|
749
|
+
- !ruby/object:Gem::Version
|
750
|
+
version: '0'
|
751
|
+
requirements: []
|
752
|
+
rubygems_version: 3.0.3.1
|
753
|
+
signing_key:
|
754
|
+
specification_version: 4
|
755
|
+
summary: Track GitHub Pages dependencies.
|
756
|
+
test_files: []
|