Skip to content

Commit 93e7480

Browse files
authored
Merge pull request github#360 from github/offline-packaging
Offline packaging
2 parents 5dece15 + 0b548de commit 93e7480

File tree

100 files changed

+120
-94
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+120
-94
lines changed

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ gem 'github-pages'
44
gem 'html-proofer'
55
gem 'rack-contrib', '~> 1.1.0'
66
gem 'rake'
7-
gem 'rdiscount'

Gemfile.lock

Lines changed: 106 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -2,131 +2,143 @@ GEM
22
remote: https://rubygems.org/
33
specs:
44
RedCloth (4.2.9)
5-
activesupport (4.1.6)
6-
i18n (~> 0.6, >= 0.6.9)
5+
activesupport (4.2.6)
6+
i18n (~> 0.7)
77
json (~> 1.7, >= 1.7.7)
88
minitest (~> 5.1)
9-
thread_safe (~> 0.1)
9+
thread_safe (~> 0.3, >= 0.3.4)
1010
tzinfo (~> 1.1)
11-
blankslate (2.1.2.4)
12-
celluloid (0.16.0)
13-
timers (~> 4.0.0)
14-
classifier-reborn (2.0.1)
15-
fast-stemmer (~> 1.0)
16-
coffee-script (2.3.0)
11+
addressable (2.4.0)
12+
coffee-script (2.4.1)
1713
coffee-script-source
1814
execjs
19-
coffee-script-source (1.8.0)
15+
coffee-script-source (1.10.0)
2016
colorator (0.1)
2117
colored (1.2)
22-
ethon (0.7.1)
18+
ethon (0.9.0)
2319
ffi (>= 1.3.0)
24-
execjs (2.2.2)
25-
fast-stemmer (1.0.2)
26-
ffi (1.9.6)
20+
execjs (2.6.0)
21+
faraday (0.9.2)
22+
multipart-post (>= 1.2, < 3)
23+
ffi (1.9.10)
2724
gemoji (2.1.0)
28-
github-pages (28)
25+
github-pages (77)
2926
RedCloth (= 4.2.9)
30-
jekyll (= 2.4.0)
31-
jekyll-coffeescript (= 1.0.0)
32-
jekyll-mentions (= 0.1.3)
33-
jekyll-redirect-from (= 0.6.2)
34-
jekyll-sass-converter (= 1.2.0)
35-
jekyll-sitemap (= 0.6.0)
36-
jemoji (= 0.3.0)
37-
kramdown (= 1.3.1)
38-
liquid (= 2.6.1)
39-
maruku (= 0.7.0)
40-
pygments.rb (= 0.6.0)
41-
rdiscount (= 2.1.7)
42-
redcarpet (= 3.1.2)
43-
hitimes (1.2.2)
44-
html-pipeline (1.9.0)
45-
activesupport (>= 2)
46-
nokogiri (~> 1.4)
47-
html-proofer (1.4.0)
27+
github-pages-health-check (= 1.1.0)
28+
jekyll (= 3.0.5)
29+
jekyll-coffeescript (= 1.0.1)
30+
jekyll-feed (= 0.5.1)
31+
jekyll-gist (= 1.4.0)
32+
jekyll-github-metadata (= 1.11.1)
33+
jekyll-mentions (= 1.1.2)
34+
jekyll-paginate (= 1.1.0)
35+
jekyll-redirect-from (= 0.10.0)
36+
jekyll-sass-converter (= 1.3.0)
37+
jekyll-seo-tag (= 1.4.0)
38+
jekyll-sitemap (= 0.10.0)
39+
jekyll-textile-converter (= 0.1.0)
40+
jemoji (= 0.6.2)
41+
kramdown (= 1.10.0)
42+
liquid (= 3.0.6)
43+
listen (= 3.0.6)
44+
mercenary (~> 0.3)
45+
rdiscount (= 2.1.8)
46+
redcarpet (= 3.3.3)
47+
rouge (= 1.10.1)
48+
terminal-table (~> 1.4)
49+
github-pages-health-check (1.1.0)
50+
addressable (~> 2.3)
51+
net-dns (~> 0.8)
52+
octokit (~> 4.0)
53+
public_suffix (~> 1.4)
54+
typhoeus (~> 0.7)
55+
html-pipeline (2.4.0)
56+
activesupport (>= 2, < 5)
57+
nokogiri (>= 1.4)
58+
html-proofer (3.0.5)
59+
activesupport (~> 4.2)
60+
addressable (~> 2.3)
4861
colored (~> 1.2)
4962
mercenary (~> 0.3.2)
5063
nokogiri (~> 1.5)
5164
parallel (~> 1.3)
52-
typhoeus (~> 0.6.7)
65+
typhoeus (~> 0.7)
5366
yell (~> 2.0)
54-
i18n (0.6.11)
55-
jekyll (2.4.0)
56-
classifier-reborn (~> 2.0)
67+
i18n (0.7.0)
68+
jekyll (3.0.5)
5769
colorator (~> 0.1)
58-
jekyll-coffeescript (~> 1.0)
59-
jekyll-gist (~> 1.0)
60-
jekyll-paginate (~> 1.0)
6170
jekyll-sass-converter (~> 1.0)
6271
jekyll-watch (~> 1.1)
6372
kramdown (~> 1.3)
64-
liquid (~> 2.6.1)
73+
liquid (~> 3.0)
6574
mercenary (~> 0.3.3)
66-
pygments.rb (~> 0.6.0)
67-
redcarpet (~> 3.1)
75+
rouge (~> 1.7)
6876
safe_yaml (~> 1.0)
69-
toml (~> 0.1.0)
70-
jekyll-coffeescript (1.0.0)
77+
jekyll-coffeescript (1.0.1)
7178
coffee-script (~> 2.2)
72-
jekyll-gist (1.1.0)
73-
jekyll-mentions (0.1.3)
74-
html-pipeline (~> 1.9.0)
75-
jekyll (~> 2.0)
79+
jekyll-feed (0.5.1)
80+
jekyll-gist (1.4.0)
81+
octokit (~> 4.2)
82+
jekyll-github-metadata (1.11.1)
83+
octokit (~> 4.0)
84+
jekyll-mentions (1.1.2)
85+
html-pipeline (~> 2.3)
86+
jekyll (~> 3.0)
7687
jekyll-paginate (1.1.0)
77-
jekyll-redirect-from (0.6.2)
78-
jekyll (~> 2.0)
79-
jekyll-sass-converter (1.2.0)
88+
jekyll-redirect-from (0.10.0)
89+
jekyll (>= 2.0)
90+
jekyll-sass-converter (1.3.0)
8091
sass (~> 3.2)
81-
jekyll-sitemap (0.6.0)
82-
jekyll-watch (1.1.1)
83-
listen (~> 2.7)
84-
jemoji (0.3.0)
92+
jekyll-seo-tag (1.4.0)
93+
jekyll (~> 3.0)
94+
jekyll-sitemap (0.10.0)
95+
jekyll-textile-converter (0.1.0)
96+
RedCloth (~> 4.0)
97+
jekyll-watch (1.4.0)
98+
listen (~> 3.0, < 3.1)
99+
jemoji (0.6.2)
85100
gemoji (~> 2.0)
86-
html-pipeline (~> 1.9)
87-
jekyll (~> 2.0)
88-
json (1.8.1)
89-
kramdown (1.3.1)
90-
liquid (2.6.1)
91-
listen (2.7.11)
92-
celluloid (>= 0.15.2)
101+
html-pipeline (~> 2.2)
102+
jekyll (>= 3.0)
103+
json (1.8.3)
104+
kramdown (1.10.0)
105+
liquid (3.0.6)
106+
listen (3.0.6)
93107
rb-fsevent (>= 0.9.3)
94-
rb-inotify (>= 0.9)
95-
maruku (0.7.0)
96-
mercenary (0.3.4)
97-
mini_portile (0.6.0)
98-
minitest (5.4.2)
99-
nokogiri (1.6.3.1)
100-
mini_portile (= 0.6.0)
101-
parallel (1.3.3)
102-
parslet (1.5.0)
103-
blankslate (~> 2.0)
104-
posix-spawn (0.3.9)
105-
pygments.rb (0.6.0)
106-
posix-spawn (~> 0.3.6)
107-
yajl-ruby (~> 1.1.0)
108+
rb-inotify (>= 0.9.7)
109+
mercenary (0.3.6)
110+
mini_portile2 (2.0.0)
111+
minitest (5.8.4)
112+
multipart-post (2.0.0)
113+
net-dns (0.8.0)
114+
nokogiri (1.6.7.2)
115+
mini_portile2 (~> 2.0.0.rc2)
116+
octokit (4.3.0)
117+
sawyer (~> 0.7.0, >= 0.5.3)
118+
parallel (1.8.0)
119+
public_suffix (1.5.3)
108120
rack (1.5.2)
109121
rack-contrib (1.1.0)
110122
rack (>= 0.9.1)
111123
rake (10.3.2)
112-
rb-fsevent (0.9.4)
113-
rb-inotify (0.9.5)
124+
rb-fsevent (0.9.7)
125+
rb-inotify (0.9.7)
114126
ffi (>= 0.5.0)
115-
rdiscount (2.1.7)
116-
redcarpet (3.1.2)
127+
rdiscount (2.1.8)
128+
redcarpet (3.3.3)
129+
rouge (1.10.1)
117130
safe_yaml (1.0.4)
118-
sass (3.4.6)
119-
thread_safe (0.3.4)
120-
timers (4.0.1)
121-
hitimes
122-
toml (0.1.2)
123-
parslet (~> 1.5.0)
124-
typhoeus (0.6.9)
125-
ethon (>= 0.7.1)
131+
sass (3.4.22)
132+
sawyer (0.7.0)
133+
addressable (>= 2.3.5, < 2.5)
134+
faraday (~> 0.8, < 0.10)
135+
terminal-table (1.5.2)
136+
thread_safe (0.3.5)
137+
typhoeus (0.8.0)
138+
ethon (>= 0.8.0)
126139
tzinfo (1.2.2)
127140
thread_safe (~> 0.1)
128-
yajl-ruby (1.1.0)
129-
yell (2.0.5)
141+
yell (2.0.6)
130142

131143
PLATFORMS
132144
ruby
@@ -136,4 +148,6 @@ DEPENDENCIES
136148
html-proofer
137149
rack-contrib (~> 1.1.0)
138150
rake
139-
rdiscount
151+
152+
BUNDLED WITH
153+
1.12.0

_buildscripts/build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
echo "==> Building the site…"
3+
bundle exec jekyll build $@

_buildscripts/package

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
3+
set -e
4+
5+
version=$(git rev-parse --short HEAD)
6+
7+
sed -i '' -e"s/google_tracking_id:.*/google_tracking_id:/" _config.yml
8+
_buildscripts/build -d $(pwd)/_site
9+
(cd _site; tar -zcvf ../release-${version}.tgz .)
10+
## we modify the config to remove the google tracker id, lets get it back.
11+
git checkout -- _config.yml

_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ title: GitHub Training
88

99
baseurl: /kit
1010
permalink: /articles/:title
11-
highlighter: pygments
1211
exclude:
1312
- bin
1413
- config.rb

vendor/cache/activesupport-4.1.6.gem

-309 KB
Binary file not shown.

vendor/cache/activesupport-4.2.6.gem

323 KB
Binary file not shown.

vendor/cache/addressable-2.4.0.gem

100 KB
Binary file not shown.

vendor/cache/blankslate-2.1.2.4.gem

-6 KB
Binary file not shown.

vendor/cache/celluloid-0.16.0.gem

-51.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)