jekyll_ext 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. data/bin/ejekyll +5 -6
  2. metadata +4 -4
@@ -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: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
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: 2010-09-27 00:00:00 +01:00
18
+ date: 2011-01-26 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency