lib/nanoc/cli/commands/show-plugins.rb in nanoc-4.3.7 vs lib/nanoc/cli/commands/show-plugins.rb in nanoc-4.3.8
- old
+ new
@@ -70,17 +70,17 @@
private
PLUGIN_CLASS_ORDER = [
Nanoc::Filter,
Nanoc::DataSource,
- Nanoc::Extra::Deployer,
- ].freeze unless defined? PLUGIN_CLASS_ORDER
+ Nanoc::Deploying::Deployer,
+ ].freeze
PLUGIN_CLASSES = {
Nanoc::Filter => 'Filters',
Nanoc::DataSource => 'Data Sources',
- Nanoc::Extra::Deployer => 'Deployers',
- }.freeze unless defined? PLUGIN_CLASSES
+ Nanoc::Deploying::Deployer => 'Deployers',
+ }.freeze
def name_for_plugin_class(klass)
PLUGIN_CLASSES[klass]
end
end