+
+ The next post relative to the position of the current post in
+ site.posts. Returns nil for the last entry.
+
+
+
+
+
page.previous
+
+
+ The previous post relative to the position of the current post in
+ site.posts. Returns nil for the first entry.
+
+
+
From f05da3db03c50d8b5b357d3fa3e9452f5654fb61 Mon Sep 17 00:00:00 2001
From: 4ensicLog
Date: Sun, 19 Jan 2014 19:51:51 -0600
Subject: [PATCH 33/70] Update structure.md
This is my first attempted edit, so forgive any mistakes in decorum or process. I tried to make improvements on word choice which I think will be much clearer to people who are new to Jekyll and how the post filenames work.
---
site/docs/structure.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site/docs/structure.md b/site/docs/structure.md
index d03baee0..c178a65f 100644
--- a/site/docs/structure.md
+++ b/site/docs/structure.md
@@ -113,7 +113,7 @@ An overview of what each of these does:
- Your dynamic content, so to speak. The format of these files is
+ Your dynamic content, so to speak. The naming convention of these files is
important, and must follow the format:
YEAR-MONTH-DAY-title.MARKUP.
The permalinks can be customized for each
From a859c4509a808f4be0958b8482dfd0fb8cda1132 Mon Sep 17 00:00:00 2001
From: Matt Rogers
Date: Sun, 19 Jan 2014 22:06:00 -0600
Subject: [PATCH 34/70] Update history to reflect merge of #1971
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index a2a116c6..3237b0d6 100644
--- a/History.markdown
+++ b/History.markdown
@@ -79,6 +79,7 @@
* Update `docs/sites.md` link to GitHub Training materials (#1949)
* Update `master` with the release info from 1.4.3 (#1947)
* Define docs nav in datafile (#1953)
+ * Clarify the docs around the naming convention for posts (#1971)
## 1.4.3 / 2014-01-13
From d37ea10cf8e61054bcd03c137497fb8ccd044706 Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Sun, 19 Jan 2014 23:18:59 -0500
Subject: [PATCH 35/70] Update history to reflect merge of #1970 [ci skip]
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index 3237b0d6..81f2f1c5 100644
--- a/History.markdown
+++ b/History.markdown
@@ -80,6 +80,7 @@
* Update `master` with the release info from 1.4.3 (#1947)
* Define docs nav in datafile (#1953)
* Clarify the docs around the naming convention for posts (#1971)
+ * Add missing `next` and `previous` docs for post layouts and templates (#1970)
## 1.4.3 / 2014-01-13
From e2258403ee261c1593abc5eef138933f27818a9f Mon Sep 17 00:00:00 2001
From: Ben Balter
Date: Mon, 20 Jan 2014 21:42:12 -0500
Subject: [PATCH 36/70] language tweaks
---
README.markdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.markdown b/README.markdown
index 2e5af42e..228881db 100644
--- a/README.markdown
+++ b/README.markdown
@@ -9,7 +9,7 @@
By Tom Preston-Werner, Nick Quaranto, and many [awesome contributors](https://github.com/jekyll/jekyll/graphs/contributors)!
-Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. Think of it like a file-based CMS, sans all the complexity. Jekyll takes your content, renders Markdown and Liquid templates, and spits out a complete, static website ready to be served with Apache, Nginx or your favorite web server. Jekyll is the engine behind [GitHub Pages](http://pages.github.com), which you can use to host sites right from your GitHub repositories.
+Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. Think of it like a file-based CMS, without all the complexity. Jekyll takes your content, renders Markdown and Liquid templates, and spits out a complete, static website ready to be served by Apache, Nginx or another web server. Jekyll is the engine behind [GitHub Pages](http://pages.github.com), which you can use to host sites right from your GitHub repositories.
## Philosophy
From 9210d4ebd8e0fc79eb6f18a9e4cbc6c785eb03a7 Mon Sep 17 00:00:00 2001
From: Matt Rogers
Date: Tue, 21 Jan 2014 07:50:12 -0600
Subject: [PATCH 37/70] Update history to reflect merge of #1935
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index 81f2f1c5..8056c82b 100644
--- a/History.markdown
+++ b/History.markdown
@@ -53,6 +53,7 @@
* Rename `read_things` to `read_content` (#1928)
* Add `script/branding` script for ASCII art lovin' (#1936)
* Update the README to reflect the repo move (#1943)
+ * Add the project vision to the README (#1935)
### Site Enhancements
* Document Kramdown's GFM parser option (#1791)
From f2fadd656238658db174d8442251efa32b8b3191 Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Tue, 21 Jan 2014 23:05:46 -0500
Subject: [PATCH 38/70] Update history to reflect merge of #1962 [ci skip]
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index 8056c82b..5477417f 100644
--- a/History.markdown
+++ b/History.markdown
@@ -82,6 +82,7 @@
* Define docs nav in datafile (#1953)
* Clarify the docs around the naming convention for posts (#1971)
* Add missing `next` and `previous` docs for post layouts and templates (#1970)
+ * Add note to `Writing posts` page about how to strip html from excerpt (#1962)
## 1.4.3 / 2014-01-13
From 30d8743853d4ee0d7db047929f3e812a76d8fb9a Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Tue, 21 Jan 2014 23:07:28 -0500
Subject: [PATCH 39/70] Update history to reflect merge of #1951 [ci skip]
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index 5477417f..fe27a924 100644
--- a/History.markdown
+++ b/History.markdown
@@ -39,6 +39,7 @@
other subcommands (#1877)
* Fix typos (#1910)
* Lock Maruku at 0.7.0 to prevent bugs caused by Maruku 0.7.1 (#1958)
+ * Fixes full path leak to source directory when using include tag (#1951)
### Development Fixes
* Add a link to the site in the README.md file (#1795)
From 8114ae65526a3c272f71ff7f94f1fa5359ebb222 Mon Sep 17 00:00:00 2001
From: Matt Rogers
Date: Wed, 22 Jan 2014 07:38:04 -0600
Subject: [PATCH 40/70] Update history to reflect merge of #1931
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index fe27a924..adfc825a 100644
--- a/History.markdown
+++ b/History.markdown
@@ -40,6 +40,7 @@
* Fix typos (#1910)
* Lock Maruku at 0.7.0 to prevent bugs caused by Maruku 0.7.1 (#1958)
* Fixes full path leak to source directory when using include tag (#1951)
+ * Don't generate pages that aren't being published (#1931)
### Development Fixes
* Add a link to the site in the README.md file (#1795)
From 4f0b1bdf6d71f1aa80eaa0cb0bed0094c795ac34 Mon Sep 17 00:00:00 2001
From: Dan Tao
Date: Thu, 23 Jan 2014 17:25:17 -0800
Subject: [PATCH 41/70] switched from YAML.safe_load* to SafeYAML.load*
---
lib/jekyll.rb | 2 +-
lib/jekyll/configuration.rb | 2 +-
lib/jekyll/convertible.rb | 2 +-
lib/jekyll/site.rb | 2 +-
test/test_configuration.rb | 22 +++++++++++-----------
test/test_site.rb | 6 +++---
6 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/lib/jekyll.rb b/lib/jekyll.rb
index 4b45e2ba..6a85cf08 100644
--- a/lib/jekyll.rb
+++ b/lib/jekyll.rb
@@ -18,7 +18,7 @@ require 'rubygems'
# stdlib
require 'fileutils'
require 'time'
-require 'safe_yaml'
+require 'safe_yaml/load'
require 'English'
require 'pathname'
diff --git a/lib/jekyll/configuration.rb b/lib/jekyll/configuration.rb
index f5e10fe0..afa43d30 100644
--- a/lib/jekyll/configuration.rb
+++ b/lib/jekyll/configuration.rb
@@ -105,7 +105,7 @@ module Jekyll
when '.toml'
TOML.load_file(filename)
when /\.y(a)?ml/
- YAML.safe_load_file(filename)
+ SafeYAML.load_file(filename)
else
raise ArgumentError, "No parser for '#{filename}' is available. Use a .toml or .y(a)ml file instead."
end
diff --git a/lib/jekyll/convertible.rb b/lib/jekyll/convertible.rb
index ea0bcbbf..941312f3 100644
--- a/lib/jekyll/convertible.rb
+++ b/lib/jekyll/convertible.rb
@@ -45,7 +45,7 @@ module Jekyll
merged_file_read_opts(opts))
if self.content =~ /\A(---\s*\n.*?\n?)^(---\s*$\n?)/m
self.content = $POSTMATCH
- self.data = YAML.safe_load($1)
+ self.data = SafeYAML.load($1)
end
rescue SyntaxError => e
puts "YAML Exception reading #{File.join(base, name)}: #{e.message}"
diff --git a/lib/jekyll/site.rb b/lib/jekyll/site.rb
index d201f025..7457ca6d 100644
--- a/lib/jekyll/site.rb
+++ b/lib/jekyll/site.rb
@@ -233,7 +233,7 @@ module Jekyll
next if File.symlink?(path) && self.safe
key = sanitize_filename(File.basename(entry, '.*'))
- self.data[key] = YAML.safe_load_file(path)
+ self.data[key] = SafeYAML.load_file(path)
end
end
diff --git a/test/test_configuration.rb b/test/test_configuration.rb
index 36e6cb1d..d8fec5a5 100644
--- a/test/test_configuration.rb
+++ b/test/test_configuration.rb
@@ -106,26 +106,26 @@ class TestConfiguration < Test::Unit::TestCase
end
should "fire warning with no _config.yml" do
- mock(YAML).safe_load_file(@path) { raise SystemCallError, "No such file or directory - #{@path}" }
+ mock(SafeYAML).load_file(@path) { raise SystemCallError, "No such file or directory - #{@path}" }
mock($stderr).puts("Configuration file: none".yellow)
assert_equal Jekyll::Configuration::DEFAULTS, Jekyll.configuration({})
end
should "load configuration as hash" do
- mock(YAML).safe_load_file(@path) { Hash.new }
+ mock(SafeYAML).load_file(@path) { Hash.new }
mock($stdout).puts("Configuration file: #{@path}")
assert_equal Jekyll::Configuration::DEFAULTS, Jekyll.configuration({})
end
should "fire warning with bad config" do
- mock(YAML).safe_load_file(@path) { Array.new }
+ mock(SafeYAML).load_file(@path) { Array.new }
mock($stderr).puts(("WARNING: ".rjust(20) + "Error reading configuration. Using defaults (and options).").yellow)
mock($stderr).puts("Configuration file: (INVALID) #{@path}".yellow)
assert_equal Jekyll::Configuration::DEFAULTS, Jekyll.configuration({})
end
should "fire warning when user-specified config file isn't there" do
- mock(YAML).safe_load_file(@user_config) { raise SystemCallError, "No such file or directory - #{@user_config}" }
+ mock(SafeYAML).load_file(@user_config) { raise SystemCallError, "No such file or directory - #{@user_config}" }
mock($stderr).puts(("Fatal: ".rjust(20) + "The configuration file '#{@user_config}' could not be found.").red)
assert_raises LoadError do
Jekyll.configuration({'config' => [@user_config]})
@@ -143,19 +143,19 @@ class TestConfiguration < Test::Unit::TestCase
end
should "load default config if no config_file is set" do
- mock(YAML).safe_load_file(@paths[:default]) { Hash.new }
+ mock(SafeYAML).load_file(@paths[:default]) { Hash.new }
mock($stdout).puts("Configuration file: #{@paths[:default]}")
assert_equal Jekyll::Configuration::DEFAULTS, Jekyll.configuration({})
end
should "load different config if specified" do
- mock(YAML).safe_load_file(@paths[:other]) { {"baseurl" => "http://wahoo.dev"} }
+ mock(SafeYAML).load_file(@paths[:other]) { {"baseurl" => "http://wahoo.dev"} }
mock($stdout).puts("Configuration file: #{@paths[:other]}")
assert_equal Jekyll::Configuration::DEFAULTS.deep_merge({ "baseurl" => "http://wahoo.dev" }), Jekyll.configuration({ "config" => @paths[:other] })
end
should "load default config if path passed is empty" do
- mock(YAML).safe_load_file(@paths[:default]) { Hash.new }
+ mock(SafeYAML).load_file(@paths[:default]) { Hash.new }
mock($stdout).puts("Configuration file: #{@paths[:default]}")
assert_equal Jekyll::Configuration::DEFAULTS, Jekyll.configuration({ "config" => @paths[:empty] })
end
@@ -167,8 +167,8 @@ class TestConfiguration < Test::Unit::TestCase
end
should "load multiple config files" do
- mock(YAML).safe_load_file(@paths[:default]) { Hash.new }
- mock(YAML).safe_load_file(@paths[:other]) { Hash.new }
+ mock(SafeYAML).load_file(@paths[:default]) { Hash.new }
+ mock(SafeYAML).load_file(@paths[:other]) { Hash.new }
mock(TOML).load_file(@paths[:toml]) { Hash.new }
mock($stdout).puts("Configuration file: #{@paths[:default]}")
mock($stdout).puts("Configuration file: #{@paths[:other]}")
@@ -177,8 +177,8 @@ class TestConfiguration < Test::Unit::TestCase
end
should "load multiple config files and last config should win" do
- mock(YAML).safe_load_file(@paths[:default]) { {"baseurl" => "http://example.dev"} }
- mock(YAML).safe_load_file(@paths[:other]) { {"baseurl" => "http://wahoo.dev"} }
+ mock(SafeYAML).load_file(@paths[:default]) { {"baseurl" => "http://example.dev"} }
+ mock(SafeYAML).load_file(@paths[:other]) { {"baseurl" => "http://wahoo.dev"} }
mock($stdout).puts("Configuration file: #{@paths[:default]}")
mock($stdout).puts("Configuration file: #{@paths[:other]}")
assert_equal Jekyll::Configuration::DEFAULTS.deep_merge({ "baseurl" => "http://wahoo.dev" }), Jekyll.configuration({ "config" => [@paths[:default], @paths[:other]] })
diff --git a/test/test_site.rb b/test/test_site.rb
index 2d45ea7c..ba5622f9 100644
--- a/test/test_site.rb
+++ b/test/test_site.rb
@@ -330,7 +330,7 @@ class TestSite < Test::Unit::TestCase
site = Site.new(Jekyll.configuration)
site.process
- file_content = YAML.safe_load_file(File.join(source_dir, '_data', 'members.yaml'))
+ file_content = SafeYAML.load_file(File.join(source_dir, '_data', 'members.yaml'))
assert_equal site.data['members'], file_content
assert_equal site.site_payload['site']['data']['members'], file_content
@@ -340,7 +340,7 @@ class TestSite < Test::Unit::TestCase
site = Site.new(Jekyll.configuration)
site.process
- file_content = YAML.safe_load_file(File.join(source_dir, '_data', 'languages.yml'))
+ file_content = SafeYAML.load_file(File.join(source_dir, '_data', 'languages.yml'))
assert_equal site.data['languages'], file_content
assert_equal site.site_payload['site']['data']['languages'], file_content
@@ -350,7 +350,7 @@ class TestSite < Test::Unit::TestCase
site = Site.new(Jekyll.configuration.merge({'safe' => false}))
site.process
- file_content = YAML.safe_load_file(File.join(source_dir, '_data', 'products.yml'))
+ file_content = SafeYAML.load_file(File.join(source_dir, '_data', 'products.yml'))
assert_equal site.data['products'], file_content
assert_equal site.site_payload['site']['data']['products'], file_content
From fafacef0a070ec4831f3f537f0069dfcbd798ba2 Mon Sep 17 00:00:00 2001
From: Dan Tao
Date: Thu, 23 Jan 2014 17:42:14 -0800
Subject: [PATCH 42/70] added a test that YAML.load doesn't get clobbered
I THINK this is a good idea? I considered multiple approaches to testing this;
what I like about this dumb way (just try to deserialize a symbol) is that it's
nice and simple.
---
test/test_configuration.rb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/test_configuration.rb b/test/test_configuration.rb
index d8fec5a5..a96141fa 100644
--- a/test/test_configuration.rb
+++ b/test/test_configuration.rb
@@ -131,6 +131,11 @@ class TestConfiguration < Test::Unit::TestCase
Jekyll.configuration({'config' => [@user_config]})
end
end
+
+ should "not clobber YAML.load to the dismay of other libraries" do
+ assert_equal :foo, YAML.load(':foo')
+ # as opposed to: assert_equal ':foo', SafeYAML.load(':foo')
+ end
end
context "loading config from external file" do
setup do
From c9a3c40f8392638fddb6f4b68875dea0ad89d163 Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Fri, 24 Jan 2014 12:19:19 -0500
Subject: [PATCH 43/70] fixes based on @mattr-'s notes
---
lib/jekyll/converters/sass.rb | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lib/jekyll/converters/sass.rb b/lib/jekyll/converters/sass.rb
index 0401ffb3..0c36eb65 100644
--- a/lib/jekyll/converters/sass.rb
+++ b/lib/jekyll/converters/sass.rb
@@ -11,12 +11,12 @@ module Jekyll
".css"
end
- def user_sass_configs
+ def jekyll_sass_configuration
@config["sass"] || {}
end
def sass_build_configuration_options(overrides)
- user_sass_configs.deep_merge(overrides).symbolize_keys
+ jekyll_sass_configuration.deep_merge(overrides).symbolize_keys
end
def syntax_type_of_content(content)
@@ -28,13 +28,14 @@ module Jekyll
end
def sass_dir
- user_sass_configs["sass_dir"] || "_sass"
+ return "_sass" if jekyll_sass_configuration["sass_dir"].to_s.empty?
+ jekyll_sass_configuration["sass_dir"]
end
def sass_dir_relative_to_site_source
File.join(
@config["source"],
- File.expand_path(sass_dir, "/")
+ File.expand_path(sass_dir, "/") # FIXME: Not windows-compatible
)
end
From b2c45aafdc445ec96dcb3d8f23eede2cafc0974e Mon Sep 17 00:00:00 2001
From: Matt Rogers
Date: Fri, 24 Jan 2014 17:17:52 -0600
Subject: [PATCH 44/70] Update history to reflect merge of #1932
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index adfc825a..3ed3a5ca 100644
--- a/History.markdown
+++ b/History.markdown
@@ -8,6 +8,7 @@
* Move to jekyll/jekyll from mojombo/jekyll (#1817)
* Allow custom markdown processors (#1872)
* Provide support for the Rouge syntax highlighter (#1859)
+ * Provide support for Sass (#1932)
### Minor Enhancements
* Move the EntryFilter class into the Jekyll module to avoid polluting the
From 4a769dbf5f683924a8ee3915701d7b96a4086007 Mon Sep 17 00:00:00 2001
From: John Firebaugh
Date: Fri, 24 Jan 2014 17:17:41 -0800
Subject: [PATCH 45/70] Optimize Post#{next,previous}
Use object equality for comparisons rather than Comparable#==,
which in turn uses Post#<=>, which is slow.
This yielded a 3x performance improvement for `jekyll build`
on a large site (1m6.467s -> 0m19.532s).
---
lib/jekyll/post.rb | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/jekyll/post.rb b/lib/jekyll/post.rb
index 49214615..edc5caae 100644
--- a/lib/jekyll/post.rb
+++ b/lib/jekyll/post.rb
@@ -271,8 +271,7 @@ module Jekyll
end
def next
- pos = self.site.posts.index(self)
-
+ pos = self.site.posts.index {|post| post.equal?(self) }
if pos && pos < self.site.posts.length-1
self.site.posts[pos+1]
else
@@ -281,7 +280,7 @@ module Jekyll
end
def previous
- pos = self.site.posts.index(self)
+ pos = self.site.posts.index {|post| post.equal?(self) }
if pos && pos > 0
self.site.posts[pos-1]
else
From 2e1ab7e6feac347293f39f016944d9795dfe2967 Mon Sep 17 00:00:00 2001
From: Matt Rogers
Date: Fri, 24 Jan 2014 21:10:45 -0600
Subject: [PATCH 46/70] Update history to reflect merge of #1983
---
History.markdown | 2 ++
1 file changed, 2 insertions(+)
diff --git a/History.markdown b/History.markdown
index 3ed3a5ca..16292429 100644
--- a/History.markdown
+++ b/History.markdown
@@ -9,6 +9,8 @@
* Allow custom markdown processors (#1872)
* Provide support for the Rouge syntax highlighter (#1859)
* Provide support for Sass (#1932)
+ * Provide a 300% improvement when generating sites that use
+ `Post#next` or `Post#previous` (#1983)
### Minor Enhancements
* Move the EntryFilter class into the Jekyll module to avoid polluting the
From d2e22eda28b153a6b06f7d53049f24427d811b6f Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Fri, 24 Jan 2014 22:23:55 -0500
Subject: [PATCH 47/70] Add some rebund :heart: to speed up TravisCI builds.
---
.travis.yml | 27 ++++++----
script/rebund | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 157 insertions(+), 10 deletions(-)
create mode 100755 script/rebund
diff --git a/.travis.yml b/.travis.yml
index 17ded23a..bc70f050 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,23 +1,30 @@
language: ruby
cache: bundler
before_install:
- - gem install bundler
+- gem install bundler
+install:
+- script/rebund download
+- bundle install --path vendor/bundle
rvm:
- - 2.1.0
- - 2.0.0
- - 1.9.3
- - 1.9.2
-script: bundle exec rake
+- 2.1.0
+- 2.0.0
+- 1.9.3
+- 1.9.2
+script: script/cibuild
+after_script:
+- script/rebund upload
notifications:
irc:
on_success: change
on_failure: change
channels:
- - "irc.freenode.org#jekyll"
- #on_success: change
- #on_failure: change
+ - irc.freenode.org#jekyll
template:
- - "%{repository}#%{build_number} (%{branch}) %{message} %{build_url}"
+ - '%{repository}#%{build_number} (%{branch}) %{message} %{build_url}'
email:
on_success: never
on_failure: never
+env:
+ global:
+ - secure: DQ8RKNaeErucKnmOWKxWHQ76GBr50wNf2ywz/kQtriXpvXEhD3zVJus0jC34ykCK4CqW2WBha8nO4NtmPJRVII5qHyJB2+pxheMK++UZ2+mJ+8CVbqtcjpMZMkfRJj0C9rktG7Onk9QANZGIBf79HPnhZXjKqX9XFwI1tbyl3kw=
+ - secure: gG7GIWmdzbAv/qt9RyE96M/BNGMWhrVkQIL5cKZ0N4rwuAZzfqays9EE+jF9Nu1IwG6bfTUu7C75vzQnJkL8zBq5ddsQCJ+DIhh4o4QqsTwh4/0uiRMG87EBa2ASKn4afx181fXOUoGZtcbMqfEW0Eaidl4Z+8qEx4KxVghRlx8=
diff --git a/script/rebund b/script/rebund
new file mode 100755
index 00000000..7aa2db2c
--- /dev/null
+++ b/script/rebund
@@ -0,0 +1,140 @@
+#!/bin/bash
+#
+# rebund(1)
+#
+# Author: Julien Letessier
+# Homepage: https://github.com/mezis/rebund
+# License:
+#
+# Copyright (c) 2014 HouseTrip Ltd
+#
+# MIT License
+#
+# Permission is hereby granted, free of charge, to any person obtaining
+# a copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be
+# included in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+# Configuration
+: ${REBUND_CREDENTIALS:=user:secret}
+: ${REBUND_ENDPOINT=http://keyfile-production.herokuapp.com}
+: ${REBUND_TARBALL:=bundle.tbz}
+: ${REBUND_BUNDLE_DIR:=vendor/bundle}
+
+
+
+log() {
+ echo "rebund: $*" > /dev/stderr
+}
+
+die() {
+ echo "fatal: $*" > /dev/stderr
+ exit 1
+}
+
+success() {
+ log "$*"
+ exit 0
+}
+
+on_error() {
+ die 'unknown error.'
+}
+
+get_ruby_version() {
+ bundle exec ruby --version
+}
+
+get_gemfile() {
+ bundle exec sh -c 'echo $BUNDLE_GEMFILE'
+}
+
+calculate_hash() {
+ (get_ruby_version ; cat $(get_gemfile)) | openssl sha256 | sed -e 's/.* //'
+}
+
+build_tarball() {
+ test -e $REBUND_BUNDLE_DIR || die "cannot find bundle directory in ${REBUND_BUNDLE_DIR}"
+ test -e $REBUND_TARBALL && success 'bundle already uploaded'
+ tar jcf $REBUND_TARBALL $REBUND_BUNDLE_DIR
+}
+
+upload_tarball() {
+ curl --fail \
+ -F filedata=@${REBUND_TARBALL} \
+ --digest --user $REBUND_CREDENTIALS \
+ ${REBUND_ENDPOINT}/$(calculate_hash) \
+ || success "could not upload bundle"
+}
+
+expand_tarball() {
+ test -e $REBUND_TARBALL || success "no tarball"
+ tar jxf $REBUND_TARBALL
+}
+
+download_tarball() {
+ curl --fail \
+ --location \
+ -o ${REBUND_TARBALL} \
+ --digest --user $REBUND_CREDENTIALS \
+ ${REBUND_ENDPOINT}/$(calculate_hash) \
+ || success "could not download bundle"
+}
+
+rebund_upload() {
+ build_tarball
+ upload_tarball
+}
+
+rebund_download() {
+ download_tarball
+ expand_tarball
+}
+
+rebund_usage() {
+ success "usage: $0 [-v] [upload|download]"
+}
+
+# cath errors
+trap on_error ERR
+
+# inherit the ERR trap in subprocesses
+set -E
+
+while test $# -gt 0 ; do
+ case $1 in
+ -v)
+ set -x
+ ;;
+ upload)
+ rebund_upload
+ exit 0
+ ;;
+ download)
+ rebund_download
+ exit 0
+ ;;
+ *)
+ rebund_usage
+ exit 1
+ ;;
+ esac
+ shift
+done
+
+rebund_usage
From 37b587168fa01ec6db3d5b282053c3ca414e184d Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Fri, 24 Jan 2014 22:31:44 -0500
Subject: [PATCH 48/70] Don't need to install bundler, right?
---
.travis.yml | 2 --
1 file changed, 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index bc70f050..42664eb3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,5 @@
language: ruby
cache: bundler
-before_install:
-- gem install bundler
install:
- script/rebund download
- bundle install --path vendor/bundle
From ecc05e57ae2e23a8b83dc3aa340f4c23f6949c64 Mon Sep 17 00:00:00 2001
From: Matt Rogers
Date: Fri, 24 Jan 2014 21:42:55 -0600
Subject: [PATCH 49/70] Update history to reflect merge of #1985
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index 16292429..fe78b7be 100644
--- a/History.markdown
+++ b/History.markdown
@@ -59,6 +59,7 @@
* Add `script/branding` script for ASCII art lovin' (#1936)
* Update the README to reflect the repo move (#1943)
* Add the project vision to the README (#1935)
+ * Speed up Travis CI builds by using Rebund (#1985)
### Site Enhancements
* Document Kramdown's GFM parser option (#1791)
From 710e0e5a3ce5e7daf2e9b279a250a0a01dd0eee9 Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Fri, 24 Jan 2014 21:26:34 -0500
Subject: [PATCH 50/70] Hm... I wonder if yarp can speed up our build process.
---
Gemfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index 851fabc2..20c99248 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,2 +1,2 @@
-source 'https://rubygems.org'
+source 'http://us.yarp.io'
gemspec
From ea397d09460137762e79e45c287933cc11c7836d Mon Sep 17 00:00:00 2001
From: Matt Rogers
Date: Fri, 24 Jan 2014 21:45:18 -0600
Subject: [PATCH 51/70] Update history to reflect merge of #1984
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index fe78b7be..aa6bcfc3 100644
--- a/History.markdown
+++ b/History.markdown
@@ -60,6 +60,7 @@
* Update the README to reflect the repo move (#1943)
* Add the project vision to the README (#1935)
* Speed up Travis CI builds by using Rebund (#1985)
+ * Use Yarp as a Gem proxy for Travis CI (#1984)
### Site Enhancements
* Document Kramdown's GFM parser option (#1791)
From fdbfd719cabb7cae126801742237209d2343faaa Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Sat, 25 Jan 2014 16:53:47 -0500
Subject: [PATCH 52/70] Add CoffeeScript converter.
---
.travis.yml | 4 +--
Gemfile | 1 +
jekyll.gemspec | 1 +
lib/jekyll.rb | 3 ++
test/source/js/coffeescript.coffee | 10 ++++++
test/test_coffeescript.rb | 49 ++++++++++++++++++++++++++++++
test/test_filters.rb | 2 +-
test/test_site.rb | 2 +-
8 files changed, 68 insertions(+), 4 deletions(-)
create mode 100644 test/source/js/coffeescript.coffee
create mode 100644 test/test_coffeescript.rb
diff --git a/.travis.yml b/.travis.yml
index 42664eb3..e193e371 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,5 +24,5 @@ notifications:
on_failure: never
env:
global:
- - secure: DQ8RKNaeErucKnmOWKxWHQ76GBr50wNf2ywz/kQtriXpvXEhD3zVJus0jC34ykCK4CqW2WBha8nO4NtmPJRVII5qHyJB2+pxheMK++UZ2+mJ+8CVbqtcjpMZMkfRJj0C9rktG7Onk9QANZGIBf79HPnhZXjKqX9XFwI1tbyl3kw=
- - secure: gG7GIWmdzbAv/qt9RyE96M/BNGMWhrVkQIL5cKZ0N4rwuAZzfqays9EE+jF9Nu1IwG6bfTUu7C75vzQnJkL8zBq5ddsQCJ+DIhh4o4QqsTwh4/0uiRMG87EBa2ASKn4afx181fXOUoGZtcbMqfEW0Eaidl4Z+8qEx4KxVghRlx8=
+ - secure: YFgVNymO2MvA7ieB3hJKQ9cF8zhi5uc3NnBx+ngs6+XF7lV7zYZGMYJ9ufEuPRkXFEI1sSNQJjOQwjmqC71xABrWw6B69XDdYgoTX+53GryVfsrDIPksQo89WAAMKqoPznWtj5fA3OTxUWjHVye2JsduPNuihpniI5j79IzDFQY=
+ - secure: YrDB4baCV00FPyRafR9UTAUsSgK/07Re+7T+blgX2gK/j54DJdof+EYbQPjc3HeWdfQgIzal2+KkwBItEu2lA8/j6qPwUngd9oRWJPLm19xFizECRY9SD1BxU53T3qmnoYqG0jFvKgYfnn9ggHRDEL31YDOA1monhFhq/8S3SdA=
diff --git a/Gemfile b/Gemfile
index 20c99248..c59f0b36 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,2 +1,3 @@
source 'http://us.yarp.io'
+source 'https://rubygems.org'
gemspec
diff --git a/jekyll.gemspec b/jekyll.gemspec
index f5011ba9..85b697e9 100644
--- a/jekyll.gemspec
+++ b/jekyll.gemspec
@@ -35,6 +35,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency('redcarpet', "~> 3.0")
s.add_runtime_dependency('toml', '~> 0.1.0')
s.add_runtime_dependency('sass', '~> 3.2')
+ s.add_runtime_dependency('jekyll-coffeescript', '~> 1.0')
s.add_development_dependency('rake', "~> 10.1")
s.add_development_dependency('rdoc', "~> 3.11")
diff --git a/lib/jekyll.rb b/lib/jekyll.rb
index 02509040..bf286f1e 100644
--- a/lib/jekyll.rb
+++ b/lib/jekyll.rb
@@ -61,6 +61,9 @@ require_all 'jekyll/converters/markdown'
require_all 'jekyll/generators'
require_all 'jekyll/tags'
+# plugins
+require 'jekyll-coffeescript'
+
SafeYAML::OPTIONS[:suppress_warnings] = true
module Jekyll
diff --git a/test/source/js/coffeescript.coffee b/test/source/js/coffeescript.coffee
new file mode 100644
index 00000000..e0e066b1
--- /dev/null
+++ b/test/source/js/coffeescript.coffee
@@ -0,0 +1,10 @@
+---
+---
+
+$ ->
+ list = [1, 2, 3, 4, 5]
+ square = (x) -> x * x
+ cube = (x) -> square(x) * x
+ cubes = (math.cube num for num in list)
+
+ alert "I knew it!" if elvis?
diff --git a/test/test_coffeescript.rb b/test/test_coffeescript.rb
new file mode 100644
index 00000000..cd052c05
--- /dev/null
+++ b/test/test_coffeescript.rb
@@ -0,0 +1,49 @@
+require 'helper'
+
+class TestCoffeeScript < Test::Unit::TestCase
+ context "converting CoffeeScript" do
+ setup do
+ @site = Jekyll::Site.new(Jekyll.configuration({
+ "source" => source_dir,
+ "destination" => dest_dir
+ }))
+ @site.process
+ @test_coffeescript_file = dest_dir("js/coffeescript.js")
+ @js_output = <<-JS
+(function() {
+ $(function() {
+ var cube, cubes, list, num, square;
+ list = [1, 2, 3, 4, 5];
+ square = function(x) {
+ return x * x;
+ };
+ cube = function(x) {
+ return square(x) * x;
+ };
+ cubes = (function() {
+ var _i, _len, _results;
+ _results = [];
+ for (_i = 0, _len = list.length; _i < _len; _i++) {
+ num = list[_i];
+ _results.push(math.cube(num));
+ }
+ return _results;
+ })();
+ if (typeof elvis !== \"undefined\" && elvis !== null) {
+ return alert(\"I knew it!\");
+ }
+ });
+
+}).call(this);
+JS
+ end
+
+ should "write a JS file in place" do
+ assert File.exists?(@test_coffeescript_file), "Can't find the converted CoffeeScript file in the dest_dir."
+ end
+
+ should "produce JS" do
+ assert_equal @js_output, File.read(@test_coffeescript_file)
+ end
+ end
+end
diff --git a/test/test_filters.rb b/test/test_filters.rb
index 0d1da02f..4b5c8212 100644
--- a/test/test_filters.rb
+++ b/test/test_filters.rb
@@ -131,7 +131,7 @@ class TestFilters < Test::Unit::TestCase
assert_equal 2, g["items"].size
when ""
assert g["items"].is_a?(Array), "The list of grouped items for '' is not an Array."
- assert_equal 5, g["items"].size
+ assert_equal 6, g["items"].size
end
end
end
diff --git a/test/test_site.rb b/test/test_site.rb
index 2d45ea7c..45921a7e 100644
--- a/test/test_site.rb
+++ b/test/test_site.rb
@@ -157,7 +157,7 @@ class TestSite < Test::Unit::TestCase
should "sort pages alphabetically" do
stub.proxy(Dir).entries { |entries| entries.reverse }
@site.process
- sorted_pages = %w(.htaccess about.html bar.html contacts.html deal.with.dots.html foo.md index.html index.html properties.html sitemap.xml symlinked-file)
+ sorted_pages = %w(.htaccess about.html bar.html coffeescript.coffee contacts.html deal.with.dots.html foo.md index.html index.html properties.html sitemap.xml symlinked-file)
assert_equal sorted_pages, @site.pages.map(&:name)
end
From 509e2181de58f63310fa55e84274977b960c53cf Mon Sep 17 00:00:00 2001
From: Aziz Shamim
Date: Sun, 26 Jan 2014 12:15:15 -0600
Subject: [PATCH 53/70] sync mime types to GitHub
---
lib/jekyll/mime.types | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/lib/jekyll/mime.types b/lib/jekyll/mime.types
index b926a009..ee7aa44c 100644
--- a/lib/jekyll/mime.types
+++ b/lib/jekyll/mime.types
@@ -1,12 +1,13 @@
-# These are the same MIME types that GitHub Pages uses as of 17 Mar 2013.
+-# These are the same MIME types that GitHub Pages uses as of 26 January 2014
text/html html htm shtml
text/css css
-text/xml xml rss xsl
+text/xml xml rss xsl xsd
image/gif gif
image/jpeg jpeg jpg
application/x-javascript js
application/atom+xml atom
+application/json json geojson topojson
text/mathml mml
text/plain txt
@@ -17,16 +18,22 @@ text/cache-manifest manifest appcache
text/coffeescript coffee
text/plain pde
text/plain md markdown
+text/vcard vcf vcard
image/png png
image/svg+xml svg
+image/svg+xml svgz
image/tiff tif tiff
image/vnd.wap.wbmp wbmp
image/x-icon ico
image/x-jng jng
image/x-ms-bmp bmp
-application/json json
+application/vnd.ms-fontobject eot
+application/x-font-ttf ttf
+application/x-font-woff woff
+font/opentype otf
+
application/java-archive jar ear
application/mac-binhex40 hqx
application/msword doc
@@ -34,18 +41,19 @@ application/pdf pdf
application/postscript ps eps ai
application/rdf+xml rdf
application/rtf rtf
-text/vcard vcf vcard
application/vnd.apple.pkpass pkpass
application/vnd.ms-excel xls
application/vnd.ms-powerpoint ppt
application/vnd.wap.wmlc wmlc
application/xhtml+xml xhtml
-application/x-chrome-extension crx
application/x-cocoa cco
-application/x-font-ttf ttf
+application/x-chrome-extension crx
application/x-java-archive-diff jardiff
application/x-java-jnlp-file jnlp
application/x-makeself run
+application/x-ms-application application
+application/x-ms-manifest manifest
+application/x-ms-vsto vsto
application/x-ns-proxy-autoconfig pac
application/x-perl pl pm
application/x-pilot prc pdb
@@ -63,8 +71,8 @@ application/zip zip
application/octet-stream bin exe dll
application/octet-stream deb
+application/octet-stream deploy
application/octet-stream dmg
-application/octet-stream eot
application/octet-stream iso img
application/octet-stream msi msp msm
@@ -74,12 +82,14 @@ audio/x-realaudio ra
audio/ogg ogg
video/3gpp 3gpp 3gp
+video/m4v m4v
+video/mp4 mp4
video/mpeg mpeg mpg
+video/ogg ogg ogv
video/quicktime mov
+video/webm webm
video/x-flv flv
video/x-mng mng
video/x-ms-asf asx asf
video/x-ms-wmv wmv
video/x-msvideo avi
-video/ogg ogv
-video/webm webm
From c9a732c4f9da15214d9d3b65268f0e7fc47cd01c Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Sun, 26 Jan 2014 13:39:31 -0500
Subject: [PATCH 54/70] Update history to reflect merge of #1993 [ci skip]
---
History.markdown | 2 ++
1 file changed, 2 insertions(+)
diff --git a/History.markdown b/History.markdown
index aa6bcfc3..bba40c54 100644
--- a/History.markdown
+++ b/History.markdown
@@ -31,6 +31,8 @@
(#1875)
* Route 404 errors to a custom 404 page in development (#1899)
* Excludes are now relative to the site source (#1916)
+ * Bring MIME Types file for `jekyll serve` to complete parity with GH Pages
+ servers (#1993)
### Bug Fixes
* Don't allow nil entries when loading posts (#1796)
From 2d6bd741d0d1fb34efd11c55850ee1b2a3806fde Mon Sep 17 00:00:00 2001
From: Ryan Morrissey <23maverick23@gmail.com>
Date: Tue, 28 Jan 2014 22:23:34 -0500
Subject: [PATCH 55/70] Adding jekyll-humanize plugin to site documentation.
---
site/docs/plugins.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/site/docs/plugins.md b/site/docs/plugins.md
index 2126ea7f..2b429a44 100644
--- a/site/docs/plugins.md
+++ b/site/docs/plugins.md
@@ -457,6 +457,7 @@ You can find a few useful plugins at the following locations:
- [pluralize](https://github.com/bdesham/pluralize): Easily combine a number and a word into a gramatically-correct amount like “1 minute” or “2 minute**s**”.
- [reading_time](https://github.com/bdesham/reading_time): Count words and estimate reading time for a piece of text, ignoring HTML elements that are unlikely to contain running text.
- [Table of Content Generator](https://github.com/dafi/jekyll-toc-generator): Generate the HTML code containing a table of content (TOC), the TOC can be customized in many way, for example you can decide which pages can be without TOC.
+- [jekyll-humanize](https://github.com/23maverick23/jekyll-humanize): This is a port of the Django app humanize which adds a "human touch" to data. Each method represents a Fluid type filter that can be used in your Jekyll site templates. Given that Jekyll produces static sites, some of the original methods do not make logical sense to port (e.g. naturaltime).
#### Tags
From a02123bee460ad375b903c64af64c05723b295ad Mon Sep 17 00:00:00 2001
From: Ryan Morrissey <23maverick23@gmail.com>
Date: Tue, 28 Jan 2014 22:32:12 -0500
Subject: [PATCH 56/70] Quickly and easily add Font Awesome icons to your
posts.
---
site/docs/plugins.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/site/docs/plugins.md b/site/docs/plugins.md
index 2126ea7f..b8f0bab0 100644
--- a/site/docs/plugins.md
+++ b/site/docs/plugins.md
@@ -496,6 +496,7 @@ You can find a few useful plugins at the following locations:
- [Jekyll Date Chart](https://github.com/GSI/jekyll_date_chart) by [GSI](https://github.com/GSI): Block that renders date line charts based on textile-formatted tables.
- [Jekyll Image Encode](https://github.com/GSI/jekyll_image_encode) by [GSI](https://github.com/GSI): Tag that renders base64 codes of images fetched from the web.
- [Jekyll Quick Man](https://github.com/GSI/jekyll_quick_man) by [GSI](https://github.com/GSI): Tag that renders pretty links to man page sources on the internet.
+- [jekyll-font-awesome](https://gist.github.com/23maverick23/8532525): Quickly and easily add Font Awesome icons to your posts.
#### Collections
From dbd3d15f29258c09d00f8a9d0772a720d6534a0f Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Tue, 28 Jan 2014 23:39:12 -0500
Subject: [PATCH 57/70] Update history to reflect merge of #1998 [ci skip]
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index bba40c54..0fb6cd15 100644
--- a/History.markdown
+++ b/History.markdown
@@ -92,6 +92,7 @@
* Clarify the docs around the naming convention for posts (#1971)
* Add missing `next` and `previous` docs for post layouts and templates (#1970)
* Add note to `Writing posts` page about how to strip html from excerpt (#1962)
+ * Add `jekyll-humanize` plugin to plugin list (#1998)
## 1.4.3 / 2014-01-13
From 1d014edca2abfa75b11ab66d1d954164936555b4 Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Tue, 28 Jan 2014 23:40:08 -0500
Subject: [PATCH 58/70] Update history to reflect merge of #1999 [ci skip]
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index 0fb6cd15..2d2578d4 100644
--- a/History.markdown
+++ b/History.markdown
@@ -93,6 +93,7 @@
* Add missing `next` and `previous` docs for post layouts and templates (#1970)
* Add note to `Writing posts` page about how to strip html from excerpt (#1962)
* Add `jekyll-humanize` plugin to plugin list (#1998)
+ * Add `jekyll-font-awesome` plugin to plugin list (#1999)
## 1.4.3 / 2014-01-13
From 9bd160dd8eb6162681bdaf8fcdda75d5c1a561ee Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Tue, 28 Jan 2014 23:40:55 -0500
Subject: [PATCH 59/70] Travis is seriously inbred.
---
Gemfile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Gemfile b/Gemfile
index 20c99248..c59f0b36 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,2 +1,3 @@
source 'http://us.yarp.io'
+source 'https://rubygems.org'
gemspec
From 645baf33534787631dbc510567501971952676d1 Mon Sep 17 00:00:00 2001
From: Ryan Morrissey <23maverick23@gmail.com>
Date: Wed, 29 Jan 2014 23:09:42 -0500
Subject: [PATCH 60/70] =?UTF-8?q?Added=20new=20=E2=80=9CEditors=E2=80=9D?=
=?UTF-8?q?=20section=20to=20`=5Fplugins`=20for=20=E2=80=9Csublime-jekyll?=
=?UTF-8?q?=E2=80=9D.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
site/docs/plugins.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/site/docs/plugins.md b/site/docs/plugins.md
index 2126ea7f..91bf4384 100644
--- a/site/docs/plugins.md
+++ b/site/docs/plugins.md
@@ -525,6 +525,10 @@ You can find a few useful plugins at the following locations:
- [grunt-jekyll](https://github.com/dannygarcia/grunt-jekyll): A straightforward [Grunt](http://gruntjs.com/) plugin for Jekyll.
- [jekyll-postfiles](https://github.com/indirect/jekyll-postfiles): Add `_postfiles` directory and {% raw %}`{{ postfile }}`{% endraw %} tag so the files a post refers to will always be right there inside your repo.
+#### Editors
+
+- [sublime-jekyll](https://github.com/23maverick23/sublime-jekyll): A Sublime Text package for Jekyll static sites. This package should help creating Jekyll sites and posts easier by providing access to key template tags and filters, as well as common completions and a current date/datetime command (for dating posts). You can install this package manually via GitHub, or via [Package Control](https://sublime.wbond.net/packages/Jekyll).
+
Jekyll Plugins Wanted
From 669cc496cd86c445d92bc2419952717e14a286d7 Mon Sep 17 00:00:00 2001
From: Matt Rogers
Date: Thu, 30 Jan 2014 20:39:44 -0600
Subject: [PATCH 61/70] Update history to reflect merge of #1991
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index 2d2578d4..4d6f177e 100644
--- a/History.markdown
+++ b/History.markdown
@@ -11,6 +11,7 @@
* Provide support for Sass (#1932)
* Provide a 300% improvement when generating sites that use
`Post#next` or `Post#previous` (#1983)
+ * Provide support for CoffeeScript (#1991)
### Minor Enhancements
* Move the EntryFilter class into the Jekyll module to avoid polluting the
From 49b7fdb62f499e0ae4eb6925bcb3c3ac4793259e Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Fri, 31 Jan 2014 00:22:21 -0500
Subject: [PATCH 62/70] Yarp seems to be eff'd.
---
Gemfile | 1 -
1 file changed, 1 deletion(-)
diff --git a/Gemfile b/Gemfile
index c59f0b36..851fabc2 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,3 +1,2 @@
-source 'http://us.yarp.io'
source 'https://rubygems.org'
gemspec
From 03ba5d8d181a9d2d6f9e578b6dad04e149e5d212 Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Fri, 31 Jan 2014 00:24:59 -0500
Subject: [PATCH 63/70] Update history to reflect merge of #2001 [ci skip]
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index 4d6f177e..8ac6ea04 100644
--- a/History.markdown
+++ b/History.markdown
@@ -95,6 +95,7 @@
* Add note to `Writing posts` page about how to strip html from excerpt (#1962)
* Add `jekyll-humanize` plugin to plugin list (#1998)
* Add `jekyll-font-awesome` plugin to plugin list (#1999)
+ * Add `sublime-jekyll` to list of Editor plugins (#2001)
## 1.4.3 / 2014-01-13
From e940afdf00c67ac8a268540f9ddb54ddf1801631 Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Fri, 31 Jan 2014 00:27:18 -0500
Subject: [PATCH 64/70] Add vim-jekyll to list of Editor plugins
---
site/docs/plugins.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/site/docs/plugins.md b/site/docs/plugins.md
index bfd4e63c..7370cd88 100644
--- a/site/docs/plugins.md
+++ b/site/docs/plugins.md
@@ -530,6 +530,8 @@ You can find a few useful plugins at the following locations:
#### Editors
- [sublime-jekyll](https://github.com/23maverick23/sublime-jekyll): A Sublime Text package for Jekyll static sites. This package should help creating Jekyll sites and posts easier by providing access to key template tags and filters, as well as common completions and a current date/datetime command (for dating posts). You can install this package manually via GitHub, or via [Package Control](https://sublime.wbond.net/packages/Jekyll).
+- [vim-jekyll](https://github.com/parkr/vim-jekyll): A vim plugin to generate
+ new posts and run `jekyll build` all without leaving vim.
Jekyll Plugins Wanted
From 1470a8a997647da1cfdc57eb1effd61ee8f63a2d Mon Sep 17 00:00:00 2001
From: Matt Rogers
Date: Fri, 31 Jan 2014 08:44:31 -0600
Subject: [PATCH 65/70] Update history to reflect merge of #2004
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index 8ac6ea04..ad0b0390 100644
--- a/History.markdown
+++ b/History.markdown
@@ -64,6 +64,7 @@
* Add the project vision to the README (#1935)
* Speed up Travis CI builds by using Rebund (#1985)
* Use Yarp as a Gem proxy for Travis CI (#1984)
+ * Remove Yarp as a Gem proxy for Travis CI (#2004)
### Site Enhancements
* Document Kramdown's GFM parser option (#1791)
From 37dbc646a1c901bbb101845bd56839aa450f92ea Mon Sep 17 00:00:00 2001
From: Matt Rogers
Date: Fri, 31 Jan 2014 08:45:14 -0600
Subject: [PATCH 66/70] Update history to reflect merge of #2005
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index ad0b0390..91e82fc5 100644
--- a/History.markdown
+++ b/History.markdown
@@ -97,6 +97,7 @@
* Add `jekyll-humanize` plugin to plugin list (#1998)
* Add `jekyll-font-awesome` plugin to plugin list (#1999)
* Add `sublime-jekyll` to list of Editor plugins (#2001)
+ * Add `vim-jekyll` to the list of Editor plugins (#2005)
## 1.4.3 / 2014-01-13
From 1e6847c43ff73667eaa4c4d1776240cf0597efc9 Mon Sep 17 00:00:00 2001
From: Matt Rogers
Date: Fri, 31 Jan 2014 08:48:16 -0600
Subject: [PATCH 67/70] Update history to reflect merge of #1982
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index 91e82fc5..b505f089 100644
--- a/History.markdown
+++ b/History.markdown
@@ -47,6 +47,7 @@
* Lock Maruku at 0.7.0 to prevent bugs caused by Maruku 0.7.1 (#1958)
* Fixes full path leak to source directory when using include tag (#1951)
* Don't generate pages that aren't being published (#1931)
+ * Use `SafeYAML.load` to avoid conflicts with other projects (#1982)
### Development Fixes
* Add a link to the site in the README.md file (#1795)
From f8d6ff42ff97c85bc7f25c267d0c26abd41c6701 Mon Sep 17 00:00:00 2001
From: Jashank Jeremy
Date: Tue, 4 Feb 2014 12:45:14 +1100
Subject: [PATCH 68/70] Update Jekyll gemspec.
The master gemspec has gotten a tad out of date; this updates the
manifest, notably, but also the version number, to bring it in line with
v1-stable. I'm not sure this is precisely the right way for the latter
to work; @parkr, would you like to comment on this?
---
jekyll.gemspec | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/jekyll.gemspec b/jekyll.gemspec
index 85b697e9..b78a6e13 100644
--- a/jekyll.gemspec
+++ b/jekyll.gemspec
@@ -5,9 +5,9 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 1.9.2'
s.name = 'jekyll'
- s.version = '1.4.0'
+ s.version = '1.4.3'
s.license = 'MIT'
- s.date = '2013-12-09'
+ s.date = '2014-01-13'
s.rubyforge_project = 'jekyll'
s.summary = "A simple, blog aware, static site generator."
@@ -96,6 +96,7 @@ Gem::Specification.new do |s|
lib/jekyll/converters/markdown/maruku_parser.rb
lib/jekyll/converters/markdown/rdiscount_parser.rb
lib/jekyll/converters/markdown/redcarpet_parser.rb
+ lib/jekyll/converters/sass.rb
lib/jekyll/converters/textile.rb
lib/jekyll/convertible.rb
lib/jekyll/core_ext.rb
@@ -132,10 +133,12 @@ Gem::Specification.new do |s|
script/bootstrap
script/branding
script/cibuild
+ script/rebund
site/.gitignore
site/CNAME
site/README
site/_config.yml
+ site/_data/docs.yml
site/_includes/analytics.html
site/_includes/css/gridism.css
site/_includes/css/normalize.css
@@ -175,6 +178,7 @@ Gem::Specification.new do |s|
site/_posts/2013-12-16-jekyll-1-4-2-released.markdown
site/_posts/2014-01-13-jekyll-1-4-3-released.markdown
site/css/screen.css
+ site/docs/assets.md
site/docs/configuration.md
site/docs/contributing.md
site/docs/datafiles.md
@@ -228,7 +232,6 @@ Gem::Specification.new do |s|
test/source/_config.dev.toml
test/source/_data/languages.yml
test/source/_data/members.yaml
- test/source/_data/products.yml
test/source/_includes/include.html
test/source/_includes/params.html
test/source/_includes/sig.markdown
@@ -281,15 +284,15 @@ Gem::Specification.new do |s|
test/source/deal.with.dots.html
test/source/foo/_posts/bar/2008-12-12-topical-post.textile
test/source/index.html
+ test/source/js/coffeescript.coffee
test/source/products.yml
test/source/properties.html
test/source/sitemap.xml
- test/source/symlink-test/_data
- test/source/symlink-test/symlinked-dir
- test/source/symlink-test/symlinked-file
+ test/source/unpublished.html
test/source/win/_posts/2009-05-24-yaml-linebreak.markdown
test/source/z_category/_posts/2008-9-23-categories.textile
test/suite.rb
+ test/test_coffeescript.rb
test/test_command.rb
test/test_configuration.rb
test/test_convertible.rb
@@ -307,6 +310,7 @@ Gem::Specification.new do |s|
test/test_redcarpet.rb
test/test_redcloth.rb
test/test_related_posts.rb
+ test/test_sass.rb
test/test_site.rb
test/test_tags.rb
test/test_url.rb
From ed12ad930a05f6c4140e750763617881880a358a Mon Sep 17 00:00:00 2001
From: Anatol Broder
Date: Tue, 4 Feb 2014 21:37:20 +0100
Subject: [PATCH 69/70] Fix wrong semantic
---
site/_layouts/news_item.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/site/_layouts/news_item.html b/site/_layouts/news_item.html
index d3955020..72927b9e 100644
--- a/site/_layouts/news_item.html
+++ b/site/_layouts/news_item.html
@@ -21,7 +21,7 @@ layout: news
{{ page.author }}
-
+
{{ content }}
-
+
From 182a49fcff1ab7c3ad59df34ad8877848c4ec890 Mon Sep 17 00:00:00 2001
From: Parker Moore
Date: Tue, 4 Feb 2014 17:04:01 -0500
Subject: [PATCH 70/70] Update history to reflect merge of #2013 [ci skip]
---
History.markdown | 1 +
1 file changed, 1 insertion(+)
diff --git a/History.markdown b/History.markdown
index b505f089..a6ffeeaf 100644
--- a/History.markdown
+++ b/History.markdown
@@ -99,6 +99,7 @@
* Add `jekyll-font-awesome` plugin to plugin list (#1999)
* Add `sublime-jekyll` to list of Editor plugins (#2001)
* Add `vim-jekyll` to the list of Editor plugins (#2005)
+ * Fix non-semantic nesting of `p` tags in `news_item` layout (#2013)
## 1.4.3 / 2014-01-13