sixones-jekyll 0.5.2 → 0.5.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +1 -1
- data/jekyll.gemspec +2 -1
- data/lib/jekyll/custom_filters.rb +25 -0
- metadata +2 -1
data/VERSION.yml
CHANGED
data/jekyll.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{jekyll}
|
|
5
|
-
s.version = "0.5.2"
|
|
5
|
+
s.version = "0.5.2.2"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Tom Preston-Werner"]
|
|
@@ -41,6 +41,7 @@ Gem::Specification.new do |s|
|
|
|
41
41
|
"lib/jekyll/converters/wordpress.rb",
|
|
42
42
|
"lib/jekyll/convertible.rb",
|
|
43
43
|
"lib/jekyll/core_ext.rb",
|
|
44
|
+
"lib/jekyll/custom_filters.rb",
|
|
44
45
|
"lib/jekyll/filters.rb",
|
|
45
46
|
"lib/jekyll/layout.rb",
|
|
46
47
|
"lib/jekyll/page.rb",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module Jekyll
|
|
2
|
+
module Filters
|
|
3
|
+
module Custom
|
|
4
|
+
def self.extensions; @@extensions; end
|
|
5
|
+
|
|
6
|
+
@@extensions = [ ]
|
|
7
|
+
|
|
8
|
+
def self.included(base)
|
|
9
|
+
@@extensions << base
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def self.invoke_filter(name, params)
|
|
13
|
+
self.send(name, params)
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
module Basic
|
|
18
|
+
include Jekyll::Filters::Custom
|
|
19
|
+
|
|
20
|
+
def hello_world(input)
|
|
21
|
+
"Hello World!"
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sixones-jekyll
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.2
|
|
4
|
+
version: 0.5.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tom Preston-Werner
|
|
@@ -107,6 +107,7 @@ files:
|
|
|
107
107
|
- lib/jekyll/converters/wordpress.rb
|
|
108
108
|
- lib/jekyll/convertible.rb
|
|
109
109
|
- lib/jekyll/core_ext.rb
|
|
110
|
+
- lib/jekyll/custom_filters.rb
|
|
110
111
|
- lib/jekyll/filters.rb
|
|
111
112
|
- lib/jekyll/layout.rb
|
|
112
113
|
- lib/jekyll/page.rb
|