jekyll_ext 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/ejekyll +5 -6
- metadata +4 -4
data/bin/ejekyll
CHANGED
@@ -4,7 +4,6 @@
|
|
4
4
|
|
5
5
|
require 'rubygems'
|
6
6
|
require 'jekyll'
|
7
|
-
require 'ftools'
|
8
7
|
|
9
8
|
require File.join(File.dirname(__FILE__), '..', 'lib', 'aop.rb')
|
10
9
|
|
@@ -28,15 +27,15 @@ module Jekyll
|
|
28
27
|
class << self
|
29
28
|
alias_method :configuration_without_extensions, :configuration
|
30
29
|
def configuration_with_extensions(options)
|
31
|
-
options = configuration_without_extensions(options)
|
30
|
+
options = configuration_without_extensions(options)
|
32
31
|
Dir[File.join(options['source'], "_extensions", "*.rb"), File.join(options['source'], "_extensions", "*", "*.rb")].each do |f|
|
33
32
|
puts "Loading Extension: #{File.basename(f)}"
|
34
33
|
load f
|
35
34
|
end
|
36
35
|
options
|
37
36
|
end
|
38
|
-
alias_method :configuration, :configuration_with_extensions
|
39
|
-
|
37
|
+
alias_method :configuration, :configuration_with_extensions
|
38
|
+
|
40
39
|
# For jekyll versions below 0.6.2 (exclusive)
|
41
40
|
if method_defined? :version
|
42
41
|
alias_method :original_version, :version
|
@@ -44,10 +43,10 @@ module Jekyll
|
|
44
43
|
original_version + " (Extended)"
|
45
44
|
end
|
46
45
|
end
|
47
|
-
|
46
|
+
|
48
47
|
end
|
49
48
|
|
50
49
|
end
|
51
50
|
|
52
51
|
original_jekyll = ENV['PATH'].split(File::PATH_SEPARATOR).collect { |d| "#{d}/jekyll" }.find{ |p| File.exists?(p) }
|
53
|
-
load original_jekyll
|
52
|
+
load original_jekyll
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll_ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Raoul Felix
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-01-26 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|