github-pages 60 → 61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/github-pages +2 -2
- data/lib/github-pages.rb +10 -56
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 947979e5fe5eabfdfa234fd3f042b1a40b94fab6
|
4
|
+
data.tar.gz: ed1fcd0afb78520c9c957ae83e4a78aba8fbb2f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0cba9eaa7e7fd9287335cf8663a289feff67a2b599fb34b0fd292218d9d25df1b65b01620306d54a1d9c5d2516af8824cbe2e05cace5c8aaea78eb50675b8e5
|
7
|
+
data.tar.gz: c6e6d5f4b04d6116863c931ee1fc9f44c0f85ef7675f07731e978082534156979240c6355512e622be7fc78972fc4f644928987d379d0d1c7d3957d6dd734abe
|
data/bin/github-pages
CHANGED
@@ -15,10 +15,10 @@ Mercenary.program(:"github-pages") do |p|
|
|
15
15
|
c.option "gemfile", "--gemfile", "use Gemfile formatting"
|
16
16
|
c.action do |args, options|
|
17
17
|
if options["gemfile"]
|
18
|
-
GitHubPages.gems.each { |g,v| puts "gem '#{g}', '#{v}'" }
|
18
|
+
GitHubPages::Dependencies.gems.each { |g,v| puts "gem '#{g}', '#{v}'" }
|
19
19
|
else
|
20
20
|
require 'terminal-table'
|
21
|
-
versions = options['all'] ? GitHubPages.versions : GitHubPages.gems
|
21
|
+
versions = options['all'] ? GitHubPages::Dependencies.versions : GitHubPages::Dependencies.gems
|
22
22
|
puts Terminal::Table.new :rows => versions, :headings => ["Gem", "Version"]
|
23
23
|
end
|
24
24
|
end
|
data/lib/github-pages.rb
CHANGED
@@ -1,62 +1,16 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
# https://help.github.com/articles/using-jekyll-with-pages
|
4
|
-
module GitHubPages
|
5
|
-
VERSION = 60
|
6
|
-
|
7
|
-
def self.gems
|
8
|
-
{
|
9
|
-
# Jekyll
|
10
|
-
"jekyll" => "3.0.3",
|
11
|
-
"jekyll-sass-converter" => "1.3.0",
|
12
|
-
"jekyll-textile-converter" => "0.1.0",
|
13
|
-
|
14
|
-
# Converters
|
15
|
-
"kramdown" => "1.10.0",
|
16
|
-
"rdiscount" => "2.1.8",
|
17
|
-
"redcarpet" => "3.3.3",
|
18
|
-
"RedCloth" => "4.2.9",
|
1
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
2
|
+
require "jekyll"
|
19
3
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
"rouge" => "1.10.1",
|
25
|
-
|
26
|
-
# Plugins
|
27
|
-
"jemoji" => "0.5.1",
|
28
|
-
"jekyll-mentions" => "1.0.1",
|
29
|
-
"jekyll-redirect-from" => "0.9.1",
|
30
|
-
"jekyll-sitemap" => "0.10.0",
|
31
|
-
"jekyll-feed" => "0.4.0",
|
32
|
-
"jekyll-gist" => "1.4.0",
|
33
|
-
"jekyll-paginate" => "1.1.0",
|
34
|
-
"github-pages-health-check" => "1.1.0",
|
35
|
-
"jekyll-coffeescript" => "1.0.1",
|
36
|
-
"jekyll-seo-tag" => "1.3.2",
|
37
|
-
"jekyll-github-metadata" => "1.9.0"
|
38
|
-
}
|
39
|
-
end
|
4
|
+
# Top-level namespace for all GitHub Pages-related concerns.
|
5
|
+
module GitHubPages
|
6
|
+
autoload :Configuration, "github-pages/configuration"
|
7
|
+
autoload :Dependencies, "github-pages/dependencies"
|
40
8
|
|
41
|
-
# Versions used by GitHub Pages, including github-pages gem and ruby version
|
42
|
-
# Useful for programmatically querying for the current-running version
|
43
9
|
def self.versions
|
44
|
-
|
10
|
+
Dependencies.versions
|
45
11
|
end
|
12
|
+
end
|
46
13
|
|
47
|
-
|
48
|
-
|
49
|
-
require "sass/version"
|
50
|
-
require "safe_yaml/version"
|
51
|
-
|
52
|
-
{
|
53
|
-
"ruby" => RUBY_VERSION,
|
54
|
-
|
55
|
-
# Gem versions we're curious about
|
56
|
-
"github-pages" => VERSION.to_s,
|
57
|
-
"html-pipeline" => HTML::Pipeline::VERSION,
|
58
|
-
"sass" => Sass.version[:number],
|
59
|
-
"safe_yaml" => SafeYAML::VERSION
|
60
|
-
}
|
61
|
-
end
|
14
|
+
Jekyll::Hooks.register :site, :after_reset do |site|
|
15
|
+
GitHubPages::Configuration.set(site)
|
62
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '
|
4
|
+
version: '61'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|