lib/nanoc/base/compilation/compiler.rb in nanoc-4.1.0rc1 vs lib/nanoc/base/compilation/compiler.rb in nanoc-4.1.0rc2

- old
+ new

@@ -156,13 +156,13 @@ view_context = create_view_context # TODO: Do not expose @site (necessary for captures store though…) content_or_filename_assigns.merge( - item: Nanoc::ItemView.new(rep.item, view_context), + item: Nanoc::ItemWithRepsView.new(rep.item, view_context), rep: Nanoc::ItemRepView.new(rep, view_context), item_rep: Nanoc::ItemRepView.new(rep, view_context), - items: Nanoc::ItemCollectionView.new(site.items, view_context), + items: Nanoc::ItemCollectionWithRepsView.new(site.items, view_context), layouts: Nanoc::LayoutCollectionView.new(site.layouts, view_context), config: Nanoc::ConfigView.new(site.config, view_context), site: Nanoc::SiteView.new(site, view_context), ) end