jekyll 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of jekyll might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.markdown +1 -1
- data/lib/jekyll.rb +0 -1
- data/lib/jekyll/collection.rb +18 -3
- data/lib/jekyll/command.rb +0 -25
- data/lib/jekyll/commands/build.rb +7 -2
- data/lib/jekyll/commands/help.rb +33 -0
- data/lib/jekyll/configuration.rb +36 -28
- data/lib/jekyll/converters/markdown/kramdown_parser.rb +1 -1
- data/lib/jekyll/convertible.rb +43 -20
- data/lib/jekyll/deprecator.rb +15 -8
- data/lib/jekyll/document.rb +21 -4
- data/lib/jekyll/filters.rb +27 -1
- data/lib/jekyll/frontmatter_defaults.rb +46 -12
- data/lib/jekyll/plugin.rb +10 -1
- data/lib/jekyll/post.rb +6 -13
- data/lib/jekyll/related_posts.rb +2 -2
- data/lib/jekyll/renderer.rb +7 -2
- data/lib/jekyll/site.rb +5 -7
- data/lib/jekyll/static_file.rb +24 -4
- data/lib/jekyll/tags/include.rb +3 -1
- data/lib/jekyll/tags/post_url.rb +2 -2
- data/lib/jekyll/utils.rb +88 -69
- data/lib/jekyll/version.rb +1 -1
- data/lib/site_template/_config.yml +6 -4
- data/lib/site_template/_includes/footer.html +43 -49
- data/lib/site_template/_includes/head.html +3 -4
- data/lib/site_template/_includes/header.html +9 -10
- data/lib/site_template/_layouts/default.html +6 -5
- data/lib/site_template/_layouts/page.html +3 -3
- data/lib/site_template/_layouts/post.html +4 -4
- data/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb +6 -5
- data/lib/site_template/_sass/_base.scss +203 -0
- data/lib/site_template/_sass/_layout.scss +236 -0
- data/lib/site_template/_sass/_syntax-highlighting.scss +67 -0
- data/lib/site_template/css/main.scss +49 -0
- data/lib/site_template/feed.xml +1 -1
- data/lib/site_template/index.html +7 -4
- metadata +24 -431
- data/.gitignore +0 -15
- data/.travis.yml +0 -27
- data/CONTRIBUTING.markdown +0 -91
- data/Gemfile +0 -2
- data/History.markdown +0 -1310
- data/Rakefile +0 -268
- data/cucumber.yml +0 -3
- data/docs/jp/CONTRIBUTING.jp.markdown +0 -93
- data/docs/jp/README.jp.markdown +0 -68
- data/features/collections.feature +0 -145
- data/features/create_sites.feature +0 -158
- data/features/data.feature +0 -105
- data/features/drafts.feature +0 -46
- data/features/embed_filters.feature +0 -107
- data/features/frontmatter_defaults.feature +0 -136
- data/features/include_tag.feature +0 -68
- data/features/markdown.feature +0 -67
- data/features/pagination.feature +0 -82
- data/features/permalinks.feature +0 -85
- data/features/post_data.feature +0 -261
- data/features/post_excerpts.feature +0 -50
- data/features/rendering.feature +0 -34
- data/features/site_configuration.feature +0 -283
- data/features/site_data.feature +0 -107
- data/features/step_definitions/jekyll_steps.rb +0 -201
- data/features/support/env.rb +0 -65
- data/jekyll.gemspec +0 -66
- data/lib/site_template/css/main.css +0 -410
- data/script/bootstrap +0 -4
- data/script/branding +0 -11
- data/script/cibuild +0 -7
- data/script/console +0 -38
- data/script/proof +0 -22
- data/script/rebund +0 -140
- data/script/test +0 -17
- data/site/.gitignore +0 -4
- data/site/CNAME +0 -1
- data/site/README +0 -1
- data/site/_config.yml +0 -9
- data/site/_data/docs.yml +0 -46
- data/site/_includes/analytics.html +0 -30
- data/site/_includes/anchor_links.html +0 -32
- data/site/_includes/css/font-awesome.css +0 -44
- data/site/_includes/css/gridism.css +0 -110
- data/site/_includes/css/normalize.css +0 -1
- data/site/_includes/css/pygments.css +0 -72
- data/site/_includes/css/style.css +0 -1045
- data/site/_includes/docs_contents.html +0 -8
- data/site/_includes/docs_contents_mobile.html +0 -10
- data/site/_includes/docs_option.html +0 -11
- data/site/_includes/docs_ul.html +0 -20
- data/site/_includes/footer.html +0 -15
- data/site/_includes/header.html +0 -18
- data/site/_includes/news_contents.html +0 -33
- data/site/_includes/news_contents_mobile.html +0 -11
- data/site/_includes/news_item.html +0 -24
- data/site/_includes/primary-nav-items.html +0 -17
- data/site/_includes/section_nav.html +0 -22
- data/site/_includes/top.html +0 -17
- data/site/_layouts/default.html +0 -13
- data/site/_layouts/docs.html +0 -23
- data/site/_layouts/news.html +0 -19
- data/site/_layouts/news_item.html +0 -27
- data/site/_posts/2013-05-06-jekyll-1-0-0-released.markdown +0 -23
- data/site/_posts/2013-05-08-jekyll-1-0-1-released.markdown +0 -27
- data/site/_posts/2013-05-12-jekyll-1-0-2-released.markdown +0 -28
- data/site/_posts/2013-06-07-jekyll-1-0-3-released.markdown +0 -25
- data/site/_posts/2013-07-14-jekyll-1-1-0-released.markdown +0 -27
- data/site/_posts/2013-07-24-jekyll-1-1-1-released.markdown +0 -31
- data/site/_posts/2013-07-25-jekyll-1-0-4-released.markdown +0 -20
- data/site/_posts/2013-07-25-jekyll-1-1-2-released.markdown +0 -20
- data/site/_posts/2013-09-06-jekyll-1-2-0-released.markdown +0 -23
- data/site/_posts/2013-09-14-jekyll-1-2-1-released.markdown +0 -19
- data/site/_posts/2013-10-28-jekyll-1-3-0-rc1-released.markdown +0 -19
- data/site/_posts/2013-11-04-jekyll-1-3-0-released.markdown +0 -43
- data/site/_posts/2013-11-26-jekyll-1-3-1-released.markdown +0 -21
- data/site/_posts/2013-12-07-jekyll-1-4-0-released.markdown +0 -30
- data/site/_posts/2013-12-09-jekyll-1-4-1-released.markdown +0 -20
- data/site/_posts/2013-12-16-jekyll-1-4-2-released.markdown +0 -18
- data/site/_posts/2014-01-13-jekyll-1-4-3-released.markdown +0 -26
- data/site/_posts/2014-03-24-jekyll-1-5-0-released.markdown +0 -19
- data/site/_posts/2014-03-27-jekyll-1-5-1-released.markdown +0 -26
- data/site/_posts/2014-05-06-jekyll-turns-2-0-0.markdown +0 -31
- data/site/_posts/2014-05-08-jekyll-2-0-3-released.markdown +0 -18
- data/site/_posts/2014-06-04-jekyll-stickers-1-dollar-stickermule.markdown +0 -19
- data/site/_posts/2014-06-28-jekyll-turns-21-i-mean-2-1-0.markdown +0 -31
- data/site/_posts/2014-07-01-jekyll-2-1-1-released.markdown +0 -30
- data/site/_posts/2014-07-29-jekyll-2-2-0-released.markdown +0 -19
- data/site/css/screen.css +0 -31
- data/site/docs/assets.md +0 -66
- data/site/docs/collections.md +0 -259
- data/site/docs/configuration.md +0 -536
- data/site/docs/continuous-integration.md +0 -177
- data/site/docs/contributing.md +0 -133
- data/site/docs/datafiles.md +0 -108
- data/site/docs/deployment-methods.md +0 -127
- data/site/docs/drafts.md +0 -21
- data/site/docs/extras.md +0 -18
- data/site/docs/frontmatter.md +0 -191
- data/site/docs/github-pages.md +0 -91
- data/site/docs/history.md +0 -1514
- data/site/docs/index.md +0 -58
- data/site/docs/installation.md +0 -106
- data/site/docs/migrations.md +0 -11
- data/site/docs/pages.md +0 -86
- data/site/docs/pagination.md +0 -212
- data/site/docs/permalinks.md +0 -188
- data/site/docs/plugins.md +0 -561
- data/site/docs/posts.md +0 -211
- data/site/docs/quickstart.md +0 -26
- data/site/docs/resources.md +0 -43
- data/site/docs/sites.md +0 -29
- data/site/docs/structure.md +0 -190
- data/site/docs/templates.md +0 -376
- data/site/docs/troubleshooting.md +0 -147
- data/site/docs/upgrading.md +0 -146
- data/site/docs/usage.md +0 -74
- data/site/docs/variables.md +0 -382
- data/site/docs/windows.md +0 -44
- data/site/favicon.ico +0 -0
- data/site/feed.xml +0 -48
- data/site/fonts/FontAwesome.otf +0 -0
- data/site/fonts/fontawesome-webfont.eot +0 -0
- data/site/fonts/fontawesome-webfont.svg +0 -504
- data/site/fonts/fontawesome-webfont.ttf +0 -0
- data/site/fonts/fontawesome-webfont.woff +0 -0
- data/site/freenode.txt +0 -1
- data/site/img/article-footer.png +0 -0
- data/site/img/footer-arrow.png +0 -0
- data/site/img/footer-logo.png +0 -0
- data/site/img/jekyll-sticker.jpg +0 -0
- data/site/img/logo-2x.png +0 -0
- data/site/img/logo-rss.png +0 -0
- data/site/img/octojekyll.png +0 -0
- data/site/index.html +0 -90
- data/site/js/html5shiv.min.js +0 -4
- data/site/js/respond.min.js +0 -5
- data/site/news/index.html +0 -10
- data/site/news/releases/index.html +0 -10
- data/test/fixtures/broken_front_matter1.erb +0 -5
- data/test/fixtures/broken_front_matter2.erb +0 -4
- data/test/fixtures/broken_front_matter3.erb +0 -7
- data/test/fixtures/exploit_front_matter.erb +0 -4
- data/test/fixtures/front_matter.erb +0 -4
- data/test/helper.rb +0 -80
- data/test/source/+/%# +.md +0 -6
- data/test/source/+/foo.md +0 -7
- data/test/source/.htaccess +0 -8
- data/test/source/_config.dev.toml +0 -2
- data/test/source/_data/categories/dairy.yaml +0 -6
- data/test/source/_data/languages.yml +0 -2
- data/test/source/_data/members.json +0 -12
- data/test/source/_data/members.yaml +0 -7
- data/test/source/_data/products.yml +0 -4
- data/test/source/_drafts/draft-properties.text +0 -11
- data/test/source/_includes/include.html +0 -1
- data/test/source/_includes/params.html +0 -7
- data/test/source/_includes/sig.markdown +0 -3
- data/test/source/_layouts/default.html +0 -27
- data/test/source/_layouts/post/simple.html +0 -1
- data/test/source/_layouts/simple.html +0 -1
- data/test/source/_methods/_do_not_read_me.md +0 -5
- data/test/source/_methods/configuration.md +0 -8
- data/test/source/_methods/sanitized_path.md +0 -5
- data/test/source/_methods/site/_dont_include_me_either.md +0 -5
- data/test/source/_methods/site/generate.md +0 -6
- data/test/source/_methods/site/initialize.md +0 -4
- data/test/source/_methods/um_hi.md +0 -6
- data/test/source/_plugins/dummy.rb +0 -8
- data/test/source/_posts/2008-02-02-not-published.textile +0 -8
- data/test/source/_posts/2008-02-02-published.textile +0 -8
- data/test/source/_posts/2008-10-18-foo-bar.textile +0 -8
- data/test/source/_posts/2008-11-21-complex.textile +0 -8
- data/test/source/_posts/2008-12-03-permalinked-post.textile +0 -9
- data/test/source/_posts/2008-12-13-include.markdown +0 -8
- data/test/source/_posts/2009-01-27-array-categories.textile +0 -10
- data/test/source/_posts/2009-01-27-categories.textile +0 -7
- data/test/source/_posts/2009-01-27-category.textile +0 -7
- data/test/source/_posts/2009-01-27-empty-categories.textile +0 -7
- data/test/source/_posts/2009-01-27-empty-category.textile +0 -7
- data/test/source/_posts/2009-01-27-no-category.textile +0 -6
- data/test/source/_posts/2009-03-12-hash-#1.markdown +0 -6
- data/test/source/_posts/2009-05-18-empty-tag.textile +0 -6
- data/test/source/_posts/2009-05-18-empty-tags.textile +0 -6
- data/test/source/_posts/2009-05-18-tag.textile +0 -6
- data/test/source/_posts/2009-05-18-tags.textile +0 -9
- data/test/source/_posts/2009-06-22-empty-yaml.textile +0 -3
- data/test/source/_posts/2009-06-22-no-yaml.textile +0 -1
- data/test/source/_posts/2010-01-08-triple-dash.markdown +0 -5
- data/test/source/_posts/2010-01-09-date-override.textile +0 -7
- data/test/source/_posts/2010-01-09-time-override.textile +0 -7
- data/test/source/_posts/2010-01-09-timezone-override.textile +0 -7
- data/test/source/_posts/2010-01-16-override-data.textile +0 -4
- data/test/source/_posts/2011-04-12-md-extension.md +0 -7
- data/test/source/_posts/2011-04-12-text-extension.text +0 -0
- data/test/source/_posts/2013-01-02-post-excerpt.markdown +0 -14
- data/test/source/_posts/2013-01-12-nil-layout.textile +0 -6
- data/test/source/_posts/2013-01-12-no-layout.textile +0 -5
- data/test/source/_posts/2013-03-19-not-a-post.markdown/.gitkeep +0 -0
- data/test/source/_posts/2013-04-11-custom-excerpt.markdown +0 -10
- data/test/source/_posts/2013-05-10-number-category.textile +0 -7
- data/test/source/_posts/2013-07-22-post-excerpt-with-layout.markdown +0 -23
- data/test/source/_posts/2013-08-01-mkdn-extension.mkdn +0 -0
- data/test/source/_posts/2013-12-17-include-variable-filters.markdown +0 -21
- data/test/source/_posts/2013-12-20-properties.text +0 -11
- data/test/source/_posts/2014-01-06-permalink-traversal.md +0 -5
- data/test/source/_posts/2014-03-03-yaml-with-dots.md +0 -5
- data/test/source/_posts/2014-03-22-escape-+ %20[].markdown +0 -6
- data/test/source/_posts/es/2008-11-21-nested.textile +0 -8
- data/test/source/_sass/_grid.scss +0 -1
- data/test/source/_slides/example-slide-1.html +0 -4
- data/test/source/_slides/example-slide-2.html +0 -7
- data/test/source/_slides/example-slide-3.html +0 -5
- data/test/source/_with.dots/all.dots/2.4.0.md +0 -5
- data/test/source/_with.dots/file.with.dots.md +0 -0
- data/test/source/about.html +0 -6
- data/test/source/category/_posts/2008-9-23-categories.textile +0 -6
- data/test/source/contacts.html +0 -5
- data/test/source/contacts/bar.html +0 -5
- data/test/source/contacts/index.html +0 -5
- data/test/source/css/main.scss +0 -4
- data/test/source/css/screen.css +0 -76
- data/test/source/deal.with.dots.html +0 -7
- data/test/source/environment.html +0 -5
- data/test/source/exploit.md +0 -5
- data/test/source/foo/_posts/bar/2008-12-12-topical-post.textile +0 -8
- data/test/source/index.html +0 -22
- data/test/source/js/coffeescript.coffee +0 -10
- data/test/source/pgp.key +0 -2
- data/test/source/products.yml +0 -4
- data/test/source/properties.html +0 -8
- data/test/source/sitemap.xml +0 -32
- data/test/source/static_files.html +0 -4
- data/test/source/symlink-test/symlinked-file +0 -22
- data/test/source/unpublished.html +0 -7
- data/test/source/win/_posts/2009-05-24-yaml-linebreak.markdown +0 -7
- data/test/source/z_category/_posts/2008-9-23-categories.textile +0 -6
- data/test/suite.rb +0 -11
- data/test/test_cleaner.rb +0 -77
- data/test/test_coffeescript.rb +0 -49
- data/test/test_collections.rb +0 -224
- data/test/test_command.rb +0 -53
- data/test/test_configuration.rb +0 -201
- data/test/test_convertible.rb +0 -49
- data/test/test_document.rb +0 -193
- data/test/test_draft.rb +0 -56
- data/test/test_entry_filter.rb +0 -124
- data/test/test_excerpt.rb +0 -131
- data/test/test_filters.rb +0 -207
- data/test/test_generated_site.rb +0 -97
- data/test/test_kramdown.rb +0 -62
- data/test/test_layout_reader.rb +0 -34
- data/test/test_liquid_extensions.rb +0 -31
- data/test/test_log_adapter.rb +0 -59
- data/test/test_new_command.rb +0 -104
- data/test/test_page.rb +0 -254
- data/test/test_path_sanitization.rb +0 -18
- data/test/test_post.rb +0 -741
- data/test/test_rdiscount.rb +0 -22
- data/test/test_redcarpet.rb +0 -77
- data/test/test_redcloth.rb +0 -86
- data/test/test_related_posts.rb +0 -47
- data/test/test_sass.rb +0 -26
- data/test/test_site.rb +0 -452
- data/test/test_tags.rb +0 -509
- data/test/test_url.rb +0 -28
- data/test/test_utils.rb +0 -67
data/script/bootstrap
DELETED
data/script/branding
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
#! /bin/bash
|
2
|
-
|
3
|
-
echo " ---------------------------------------------------------- "
|
4
|
-
echo " _ ______ _ __ __ __ _ _ "
|
5
|
-
echo " | | | ____| | |/ / \ \ / / | | | | "
|
6
|
-
echo " | | | |__ | ' / \ \_/ / | | | | "
|
7
|
-
echo " _ | | | __| | < \ / | | | | "
|
8
|
-
echo " | |__| | | |____ | . \ | | | |____ | |____ "
|
9
|
-
echo " \____/ |______| |_|\_\ |_| |______| |______| "
|
10
|
-
echo " "
|
11
|
-
echo " ---------------------------------------------------------- "
|
data/script/cibuild
DELETED
data/script/console
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'pry'
|
4
|
-
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), *%w{ .. lib })
|
5
|
-
require 'jekyll'
|
6
|
-
|
7
|
-
TEST_DIR = File.expand_path(File.join(File.dirname(__FILE__), *%w{ .. test }))
|
8
|
-
|
9
|
-
def fixture_site(overrides = {})
|
10
|
-
Jekyll::Site.new(site_configuration(overrides))
|
11
|
-
end
|
12
|
-
|
13
|
-
def build_configs(overrides, base_hash = Jekyll::Configuration::DEFAULTS)
|
14
|
-
Jekyll::Utils.deep_merge_hashes(base_hash, overrides)
|
15
|
-
end
|
16
|
-
|
17
|
-
def site_configuration(overrides = {})
|
18
|
-
build_configs({
|
19
|
-
"source" => source_dir,
|
20
|
-
"destination" => dest_dir
|
21
|
-
}, build_configs(overrides))
|
22
|
-
end
|
23
|
-
|
24
|
-
def dest_dir(*subdirs)
|
25
|
-
test_dir('dest', *subdirs)
|
26
|
-
end
|
27
|
-
|
28
|
-
def source_dir(*subdirs)
|
29
|
-
test_dir('source', *subdirs)
|
30
|
-
end
|
31
|
-
|
32
|
-
def test_dir(*subdirs)
|
33
|
-
File.join(TEST_DIR, *subdirs)
|
34
|
-
end
|
35
|
-
|
36
|
-
module Jekyll
|
37
|
-
binding.pry
|
38
|
-
end
|
data/script/proof
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
#! /bin/bash
|
2
|
-
#
|
3
|
-
# Usage:
|
4
|
-
# script/proof
|
5
|
-
|
6
|
-
set -e
|
7
|
-
|
8
|
-
git diff --name-only origin $(git log --pretty=format:"%h" -2 | tail -1) | grep '^site/' || {
|
9
|
-
echo "No site files changed. We'll skip proofing."
|
10
|
-
exit 0
|
11
|
-
}
|
12
|
-
|
13
|
-
echo "Some site files have been changed! Proofing..."
|
14
|
-
|
15
|
-
command -v htmlproof || {
|
16
|
-
echo "Installing HTML::Proofer!"
|
17
|
-
gem install html-proofer -- --use-system-libraries
|
18
|
-
}
|
19
|
-
|
20
|
-
bundle exec jekyll build -s site -d _site --trace
|
21
|
-
printf "\e[0;36mProofing begins now!\e[0m\n"
|
22
|
-
htmlproof ./_site
|
data/script/rebund
DELETED
@@ -1,140 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
#
|
3
|
-
# rebund(1)
|
4
|
-
#
|
5
|
-
# Author: Julien Letessier
|
6
|
-
# Homepage: https://github.com/mezis/rebund
|
7
|
-
# License:
|
8
|
-
#
|
9
|
-
# Copyright (c) 2014 HouseTrip Ltd
|
10
|
-
#
|
11
|
-
# MIT License
|
12
|
-
#
|
13
|
-
# Permission is hereby granted, free of charge, to any person obtaining
|
14
|
-
# a copy of this software and associated documentation files (the
|
15
|
-
# "Software"), to deal in the Software without restriction, including
|
16
|
-
# without limitation the rights to use, copy, modify, merge, publish,
|
17
|
-
# distribute, sublicense, and/or sell copies of the Software, and to
|
18
|
-
# permit persons to whom the Software is furnished to do so, subject to
|
19
|
-
# the following conditions:
|
20
|
-
#
|
21
|
-
# The above copyright notice and this permission notice shall be
|
22
|
-
# included in all copies or substantial portions of the Software.
|
23
|
-
#
|
24
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
25
|
-
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
26
|
-
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
27
|
-
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
28
|
-
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
29
|
-
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
30
|
-
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
31
|
-
|
32
|
-
|
33
|
-
# Configuration
|
34
|
-
: ${REBUND_CREDENTIALS:=user:secret}
|
35
|
-
: ${REBUND_ENDPOINT=http://keyfile-production.herokuapp.com}
|
36
|
-
: ${REBUND_TARBALL:=bundle.tbz}
|
37
|
-
: ${REBUND_BUNDLE_DIR:=vendor/bundle}
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
log() {
|
42
|
-
echo "rebund: $*" > /dev/stderr
|
43
|
-
}
|
44
|
-
|
45
|
-
die() {
|
46
|
-
echo "fatal: $*" > /dev/stderr
|
47
|
-
exit 1
|
48
|
-
}
|
49
|
-
|
50
|
-
success() {
|
51
|
-
log "$*"
|
52
|
-
exit 0
|
53
|
-
}
|
54
|
-
|
55
|
-
on_error() {
|
56
|
-
die 'unknown error.'
|
57
|
-
}
|
58
|
-
|
59
|
-
get_ruby_version() {
|
60
|
-
bundle exec ruby --version
|
61
|
-
}
|
62
|
-
|
63
|
-
get_gemfile() {
|
64
|
-
bundle exec sh -c 'echo $BUNDLE_GEMFILE'
|
65
|
-
}
|
66
|
-
|
67
|
-
calculate_hash() {
|
68
|
-
(get_ruby_version ; cat $(get_gemfile)) | openssl sha256 | sed -e 's/.* //'
|
69
|
-
}
|
70
|
-
|
71
|
-
build_tarball() {
|
72
|
-
test -e $REBUND_BUNDLE_DIR || die "cannot find bundle directory in ${REBUND_BUNDLE_DIR}"
|
73
|
-
test -e $REBUND_TARBALL && success 'bundle already uploaded'
|
74
|
-
tar jcf $REBUND_TARBALL $REBUND_BUNDLE_DIR
|
75
|
-
}
|
76
|
-
|
77
|
-
upload_tarball() {
|
78
|
-
curl --fail \
|
79
|
-
-F filedata=@${REBUND_TARBALL} \
|
80
|
-
--digest --user $REBUND_CREDENTIALS \
|
81
|
-
${REBUND_ENDPOINT}/$(calculate_hash) \
|
82
|
-
|| success "could not upload bundle"
|
83
|
-
}
|
84
|
-
|
85
|
-
expand_tarball() {
|
86
|
-
test -e $REBUND_TARBALL || success "no tarball"
|
87
|
-
tar jxf $REBUND_TARBALL
|
88
|
-
}
|
89
|
-
|
90
|
-
download_tarball() {
|
91
|
-
curl --fail \
|
92
|
-
--location \
|
93
|
-
-o ${REBUND_TARBALL} \
|
94
|
-
--digest --user $REBUND_CREDENTIALS \
|
95
|
-
${REBUND_ENDPOINT}/$(calculate_hash) \
|
96
|
-
|| success "could not download bundle"
|
97
|
-
}
|
98
|
-
|
99
|
-
rebund_upload() {
|
100
|
-
build_tarball
|
101
|
-
upload_tarball
|
102
|
-
}
|
103
|
-
|
104
|
-
rebund_download() {
|
105
|
-
download_tarball
|
106
|
-
expand_tarball
|
107
|
-
}
|
108
|
-
|
109
|
-
rebund_usage() {
|
110
|
-
success "usage: $0 [-v] [upload|download]"
|
111
|
-
}
|
112
|
-
|
113
|
-
# cath errors
|
114
|
-
trap on_error ERR
|
115
|
-
|
116
|
-
# inherit the ERR trap in subprocesses
|
117
|
-
set -E
|
118
|
-
|
119
|
-
while test $# -gt 0 ; do
|
120
|
-
case $1 in
|
121
|
-
-v)
|
122
|
-
set -x
|
123
|
-
;;
|
124
|
-
upload)
|
125
|
-
rebund_upload
|
126
|
-
exit 0
|
127
|
-
;;
|
128
|
-
download)
|
129
|
-
rebund_download
|
130
|
-
exit 0
|
131
|
-
;;
|
132
|
-
*)
|
133
|
-
rebund_usage
|
134
|
-
exit 1
|
135
|
-
;;
|
136
|
-
esac
|
137
|
-
shift
|
138
|
-
done
|
139
|
-
|
140
|
-
rebund_usage
|
data/script/test
DELETED
data/site/.gitignore
DELETED
data/site/CNAME
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
jekyllrb.com
|
data/site/README
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Jekyll's awesome website.
|
data/site/_config.yml
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
markdown: kramdown
|
2
|
-
highlighter: pygments
|
3
|
-
relative_permalinks: false
|
4
|
-
gauges_id: 503c5af6613f5d0f19000027
|
5
|
-
permalink: /news/:year/:month/:day/:title/
|
6
|
-
excerpt_separator: noifniof3nioaniof3nioafafinoafnoif
|
7
|
-
repository: https://github.com/jekyll/jekyll
|
8
|
-
help_url: https://github.com/jekyll/jekyll-help
|
9
|
-
google_analytics_id: UA-50755011-1
|
data/site/_data/docs.yml
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
- title: Getting Started
|
2
|
-
docs:
|
3
|
-
- home
|
4
|
-
- quickstart
|
5
|
-
- installation
|
6
|
-
- usage
|
7
|
-
- structure
|
8
|
-
- configuration
|
9
|
-
|
10
|
-
- title: Your Content
|
11
|
-
docs:
|
12
|
-
- frontmatter
|
13
|
-
- posts
|
14
|
-
- drafts
|
15
|
-
- pages
|
16
|
-
- variables
|
17
|
-
- collections
|
18
|
-
- datafiles
|
19
|
-
- assets
|
20
|
-
- migrations
|
21
|
-
|
22
|
-
- title: Customization
|
23
|
-
docs:
|
24
|
-
- templates
|
25
|
-
- permalinks
|
26
|
-
- pagination
|
27
|
-
- plugins
|
28
|
-
- extras
|
29
|
-
|
30
|
-
- title: Deployment
|
31
|
-
docs:
|
32
|
-
- github-pages
|
33
|
-
- deployment-methods
|
34
|
-
- continuous-integration
|
35
|
-
|
36
|
-
- title: Miscellaneous
|
37
|
-
docs:
|
38
|
-
- troubleshooting
|
39
|
-
- sites
|
40
|
-
- resources
|
41
|
-
- upgrading
|
42
|
-
|
43
|
-
- title: Meta
|
44
|
-
docs:
|
45
|
-
- contributing
|
46
|
-
- history
|
@@ -1,30 +0,0 @@
|
|
1
|
-
{% if site.gauges_id %}
|
2
|
-
<!-- Gauges (http://gaug.es/) -->
|
3
|
-
<script>
|
4
|
-
var _gauges = _gauges || [];
|
5
|
-
(function() {
|
6
|
-
var t = document.createElement('script');
|
7
|
-
t.type = 'text/javascript';
|
8
|
-
t.async = true;
|
9
|
-
t.id = 'gauges-tracker';
|
10
|
-
t.setAttribute('data-site-id', '{{ site.gauges_id }}');
|
11
|
-
t.src = '//secure.gaug.es/track.js';
|
12
|
-
var s = document.getElementsByTagName('script')[0];
|
13
|
-
s.parentNode.insertBefore(t, s);
|
14
|
-
})();
|
15
|
-
</script>
|
16
|
-
{% endif %}
|
17
|
-
|
18
|
-
{% if site.google_analytics_id %}
|
19
|
-
<!-- Google Analytics (http://google.com/analytics) -->
|
20
|
-
<script>
|
21
|
-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
22
|
-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
23
|
-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
24
|
-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
25
|
-
|
26
|
-
ga('create', '{{ site.google_analytics_id }}', 'jekyllrb.com');
|
27
|
-
ga('send', 'pageview');
|
28
|
-
|
29
|
-
</script>
|
30
|
-
{% endif %}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
<script>
|
2
|
-
var anchorForId = function (id) {
|
3
|
-
var anchor = document.createElement("a");
|
4
|
-
anchor.className = "header-link";
|
5
|
-
anchor.href = "#" + id;
|
6
|
-
anchor.innerHTML = "<i class=\"fa fa-link\"></i>";
|
7
|
-
return anchor;
|
8
|
-
};
|
9
|
-
|
10
|
-
var linkifyAnchors = function (level, containingElement) {
|
11
|
-
var headers = containingElement.getElementsByTagName("h" + level);
|
12
|
-
for (var h = 0; h < headers.length; h++) {
|
13
|
-
var header = headers[h];
|
14
|
-
|
15
|
-
if (typeof header.id !== "undefined" && header.id !== "") {
|
16
|
-
header.appendChild(anchorForId(header.id));
|
17
|
-
}
|
18
|
-
}
|
19
|
-
};
|
20
|
-
|
21
|
-
document.onreadystatechange = function () {
|
22
|
-
if (this.readyState === "complete") {
|
23
|
-
var contentBlock = document.getElementsByClassName("docs")[0] || document.getElementsByClassName("news")[0];
|
24
|
-
if (!contentBlock) {
|
25
|
-
return;
|
26
|
-
}
|
27
|
-
for (var level = 1; level <= 6; level++) {
|
28
|
-
linkifyAnchors(level, contentBlock);
|
29
|
-
}
|
30
|
-
}
|
31
|
-
};
|
32
|
-
</script>
|
@@ -1,44 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome
|
3
|
-
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
4
|
-
*/
|
5
|
-
@font-face {
|
6
|
-
font-family: 'FontAwesome';
|
7
|
-
src: url('../fonts/fontawesome-webfont.eot?v=4.1.0');
|
8
|
-
src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');
|
9
|
-
font-weight: normal;
|
10
|
-
font-style: normal;
|
11
|
-
}
|
12
|
-
.fa {
|
13
|
-
display: inline-block;
|
14
|
-
font-family: FontAwesome;
|
15
|
-
font-style: normal;
|
16
|
-
font-weight: normal;
|
17
|
-
line-height: 1;
|
18
|
-
-webkit-font-smoothing: antialiased;
|
19
|
-
-moz-osx-font-smoothing: grayscale;
|
20
|
-
}
|
21
|
-
.fa-link:before {
|
22
|
-
content: "\f0c1";
|
23
|
-
}
|
24
|
-
/*
|
25
|
-
* This code is courtesy Ben Balter, modified by Parker Moore for jekyllrb.com
|
26
|
-
* http://ben.balter.com/2014/03/13/pages-anchor-links/
|
27
|
-
*/
|
28
|
-
.header-link {
|
29
|
-
position: relative;
|
30
|
-
left: 0.5em;
|
31
|
-
opacity: 0;
|
32
|
-
font-size: 0.8em;
|
33
|
-
|
34
|
-
-webkit-transition: opacity 0.2s ease-in-out 0.1s;
|
35
|
-
-moz-transition: opacity 0.2s ease-in-out 0.1s;
|
36
|
-
-ms-transition: opacity 0.2s ease-in-out 0.1s;
|
37
|
-
}
|
38
|
-
h2:hover .header-link,
|
39
|
-
h3:hover .header-link,
|
40
|
-
h4:hover .header-link,
|
41
|
-
h5:hover .header-link,
|
42
|
-
h6:hover .header-link {
|
43
|
-
opacity: 1;
|
44
|
-
}
|
@@ -1,110 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Gridism
|
3
|
-
* A simple, responsive, and handy CSS grid by @cobyism
|
4
|
-
* https://github.com/cobyism/gridism
|
5
|
-
*/
|
6
|
-
|
7
|
-
/* Preserve some sanity */
|
8
|
-
.grid,
|
9
|
-
.unit {
|
10
|
-
-webkit-box-sizing: border-box;
|
11
|
-
-moz-box-sizing: border-box;
|
12
|
-
box-sizing: border-box;
|
13
|
-
}
|
14
|
-
|
15
|
-
/* Set up some rules to govern the grid */
|
16
|
-
.grid {
|
17
|
-
display: block;
|
18
|
-
clear: both;
|
19
|
-
}
|
20
|
-
.grid .unit {
|
21
|
-
float: left;
|
22
|
-
width: 100%;
|
23
|
-
padding: 10px;
|
24
|
-
}
|
25
|
-
|
26
|
-
/* This ensures the outer gutters are equal to the (doubled) inner gutters. */
|
27
|
-
.grid .unit:first-child { padding-left: 20px; }
|
28
|
-
.grid .unit:last-child { padding-right: 20px; }
|
29
|
-
|
30
|
-
/* Nested grids already have padding though, so let’s nuke it */
|
31
|
-
.unit .unit:first-child { padding-left: 0; }
|
32
|
-
.unit .unit:last-child { padding-right: 0; }
|
33
|
-
.unit .grid:first-child > .unit { padding-top: 0; }
|
34
|
-
.unit .grid:last-child > .unit { padding-bottom: 0; }
|
35
|
-
|
36
|
-
/* Let people nuke the gutters/padding completely in a couple of ways */
|
37
|
-
.no-gutters .unit,
|
38
|
-
.unit.no-gutters {
|
39
|
-
padding: 0 !important;
|
40
|
-
}
|
41
|
-
|
42
|
-
/* Wrapping at a maximum width is optional */
|
43
|
-
.wrap .grid,
|
44
|
-
.grid.wrap {
|
45
|
-
max-width: 978px;
|
46
|
-
margin: 0 auto;
|
47
|
-
}
|
48
|
-
|
49
|
-
/* Width classes also have shorthand versions numbered as fractions
|
50
|
-
* For example: for a grid unit 1/3 (one third) of the parent width,
|
51
|
-
* simply apply class="w-1-3" to the element. */
|
52
|
-
.grid .whole, .grid .w-1-1 { width: 100%; }
|
53
|
-
.grid .half, .grid .w-1-2 { width: 50%; }
|
54
|
-
.grid .one-third, .grid .w-1-3 { width: 33.3332%; }
|
55
|
-
.grid .two-thirds, .grid .w-2-3 { width: 66.6665%; }
|
56
|
-
.grid .one-quarter, .grid .w-1-4 { width: 25%; }
|
57
|
-
.grid .three-quarters, .grid .w-3-4 { width: 75%; }
|
58
|
-
.grid .one-fifth, .grid .w-1-5 { width: 20%; }
|
59
|
-
.grid .two-fifths, .grid .w-2-5 { width: 40%; }
|
60
|
-
.grid .three-fifths, .grid .w-3-5 { width: 60%; }
|
61
|
-
.grid .four-fifths, .grid .w-4-5 { width: 80%; }
|
62
|
-
.grid .golden-small, .grid .w-g-s { width: 38.2716%; } /* Golden section: smaller piece */
|
63
|
-
.grid .golden-large, .grid .w-g-l { width: 61.7283%; } /* Golden section: larger piece */
|
64
|
-
|
65
|
-
/* Utility classes */
|
66
|
-
.align-center { text-align: center; }
|
67
|
-
.align-left { text-align: left; }
|
68
|
-
.align-right { text-align: right; }
|
69
|
-
.pull-left { float: left; }
|
70
|
-
.pull-right { float: right; }
|
71
|
-
|
72
|
-
.show-on-mobiles {
|
73
|
-
display: none;
|
74
|
-
}
|
75
|
-
|
76
|
-
/* Responsive Stuff */
|
77
|
-
@media screen and (max-width: 568px) {
|
78
|
-
/* Stack anything that isn’t full-width on smaller screens */
|
79
|
-
.grid .unit {
|
80
|
-
width: 100% !important;
|
81
|
-
padding-left: 20px;
|
82
|
-
padding-right: 20px;
|
83
|
-
}
|
84
|
-
.unit .grid .unit {
|
85
|
-
padding-left: 0px;
|
86
|
-
padding-right: 0px;
|
87
|
-
}
|
88
|
-
|
89
|
-
/* Sometimes, you just want to be different on small screens */
|
90
|
-
.center-on-mobiles {
|
91
|
-
text-align: center !important;
|
92
|
-
}
|
93
|
-
.hide-on-mobiles {
|
94
|
-
display: none !important;
|
95
|
-
}
|
96
|
-
.show-on-mobiles {
|
97
|
-
display: block !important;
|
98
|
-
}
|
99
|
-
a .show-on-mobiles {
|
100
|
-
display: inline !important;
|
101
|
-
}
|
102
|
-
}
|
103
|
-
|
104
|
-
/* Expand the wrap a bit further on larger screens */
|
105
|
-
/*@media screen and (min-width: 1180px) {
|
106
|
-
.wrap .grid {
|
107
|
-
max-width: 1180px;
|
108
|
-
margin: 0 auto;
|
109
|
-
}
|
110
|
-
}*/
|