Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For Jekyll versions 3.0 or greater, use the new Jekyll hooks functionality rather than relying on monkey-patching Jekyll rendering internals. This fixes the incompatibilities with the changes introduced in Jekyll 3.1.
- Loading branch information
Rusty Geldmacher
committed
Feb 25, 2016
1 parent
4f82361
commit 5d9f075
Showing
10 changed files
with
50 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,3 +49,7 @@ end | |
appraise "jekyll-3.0.3" do | ||
gem "jekyll", "3.0.3" | ||
end | ||
|
||
appraise "jekyll-3.1.2" do | ||
gem "jekyll", "3.1.2" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'jekyll', '> 1.0.0' | ||
gem 'jekyll', '3.1.2' | ||
gem 'appraisal', '1.0.2' | ||
|
||
gem 'pry' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "jekyll", "3.1.2" | ||
gem "appraisal", "1.0.2" | ||
gem "pry" | ||
gem "pry-byebug" | ||
gem "rspec", "~> 3.3.0" | ||
gem "nokogiri", "~> 1.6.6.0" | ||
|
||
gemspec :path => "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module Jekyll | ||
module ContentBlocks | ||
class PreRenderHook | ||
def self.call(document, payload) | ||
payload['converters'] = document.site.converters.select do |converter| | ||
file_extension = File.extname(document.path) | ||
converter.matches(file_extension) | ||
end | ||
payload['contentblocks'] = {} | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module Jekyll | ||
module ContentBlocks | ||
VERSION = "1.1.0" | ||
VERSION = "1.2.0" | ||
end | ||
end | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
require 'jekyll-contentblocks' | ||
|