lib/octopress-ink.rb in octopress-ink-1.0.0.alpha.36 vs lib/octopress-ink.rb in octopress-ink-1.0.0.alpha.37

- old
+ new

@@ -25,12 +25,12 @@ if defined? Octopress::Command require 'octopress-ink/commands/helpers' require 'octopress-ink/commands' end - def self.register_plugin(plugin, name, type='plugin', local=nil) - Plugins.register_plugin(plugin, name, type, local) + def self.register_plugin(plugin) + Plugins.register_plugin(plugin) end def self.version version = "Jekyll v#{Jekyll::VERSION}, " if defined? Octopress::VERSION @@ -60,11 +60,11 @@ Plugins.plugin(name) rescue return false end end - + # Prints a list of plugins and details # # options - a Hash of options from the Info command # # Note: if options are empty, this will display a @@ -154,8 +154,8 @@ Liquid::Template.register_tag('_', Octopress::Ink::Tags::LineCommentTag) require 'octopress-ink/plugins/ink' require 'octopress-ink/plugins/asset_pipeline' -Octopress::Ink.register_plugin(Ink, 'ink', 'plugin') -Octopress::Ink.register_plugin(Octopress::Ink::AssetPipelinePlugin, 'asset-pipeline', 'plugin', true) +Octopress::Ink.register_plugin(Ink) +Octopress::Ink.register_plugin(Octopress::Ink::AssetPipelinePlugin)