lib/nanoc/cli/commands/show-plugins.rb in nanoc-3.7.3 vs lib/nanoc/cli/commands/show-plugins.rb in nanoc-3.7.4

- old
+ new

@@ -1,10 +1,10 @@ # encoding: utf-8 -summary 'show all available plugins' -aliases :info -usage 'show-plugins [options]' +summary 'show all available plugins' +aliases :info +usage 'show-plugins [options]' description <<-EOS Show a list of available plugins, including filters, data sources and VCSes. If the current directory contains a nanoc web site, the plugins defined in this site will be shown as well. EOS @@ -43,11 +43,11 @@ kind = name_for_plugin_class(superclass) puts "#{kind}:" puts # Print plugins organised by subtype - [ :builtin, :custom ].each do |type| + [:builtin, :custom].each do |type| # Find relevant plugins relevant_plugins = plugins_with_this_superclass[type] # Print type puts " #{type}:" @@ -69,10 +69,10 @@ puts end end - private + private PLUGIN_CLASS_ORDER = [ Nanoc::Filter, Nanoc::Extra::VCS, Nanoc::DataSource,