Extension -> Plugin

This commit is contained in:
Tom Preston-Werner 2010-06-18 15:47:01 -07:00
parent 5335debfb2
commit 31c65c56f4
5 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,6 @@
== Edge
* Major Enhancements
* Proper plugin system (#19, #100)
* Minor Enhancements
* Inclusion/exclusion of future dated posts (#59)
* Generation for a specific time (#59)

View File

@ -36,7 +36,7 @@ require 'jekyll/albino'
require 'jekyll/static_file'
# extensions
require 'jekyll/extension'
require 'jekyll/plugin'
require 'jekyll/converter'
require 'jekyll/generator'
require_all 'jekyll/converters'

View File

@ -1,6 +1,6 @@
module Jekyll
class Converter < Extension
class Converter < Plugin
# Public: Get or set the pygments prefix. When an argument is specified,
# the prefix will be set. If no argument is specified, the current prefix
# will be returned.

View File

@ -1,6 +1,6 @@
module Jekyll
class Generator < Extension
class Generator < Plugin
end

View File

@ -1,6 +1,6 @@
module Jekyll
class Extension
class Plugin
PRIORITIES = { :lowest => -100,
:low => -10,
:normal => 0,
@ -49,7 +49,7 @@ module Jekyll
PRIORITIES[other.priority] <=> PRIORITIES[self.priority]
end
# Initialize a new extension. This should be overridden by the subclass.
# Initialize a new plugin. This should be overridden by the subclass.
#
# config - The Hash of configuration options.
#