lib/nanoc/cli/commands/show-rules.rb in nanoc-4.9.0 vs lib/nanoc/cli/commands/show-rules.rb in nanoc-4.9.1

- old
+ new

@@ -13,10 +13,10 @@ site = load_site res = Nanoc::Int::Compiler.new_for(site).run_until_reps_built reps = res.fetch(:reps) - action_provider = Nanoc::Int::ActionProvider.named(:rule_dsl).for(site) + action_provider = Nanoc::Int::ActionProvider.named(site.config.action_provider).for(site) rules = action_provider.rules_collection items = site.items.sort_by(&:identifier) layouts = site.layouts.sort_by(&:identifier)