lib/nanoc/base/views/item_rep_view.rb in nanoc-4.4.0 vs lib/nanoc/base/views/item_rep_view.rb in nanoc-4.4.1

- old
+ new

@@ -40,11 +40,11 @@ # will be the content compiled right before the first layout call (if # any). # # @return [String] The content at the given snapshot. def compiled_content(snapshot: nil) - @context.dependency_tracker.bounce(unwrap.item) + @context.dependency_tracker.bounce(unwrap.item, compiled_content: true) @item_rep.compiled_content(snapshot: snapshot) end # Returns the item rep’s path, as used when being linked to. It starts # with a slash and it is relative to the output directory. It does not @@ -54,11 +54,11 @@ # @param [Symbol] snapshot The snapshot for which the path should be # returned. # # @return [String] The item rep’s path. def path(snapshot: :last) - @context.dependency_tracker.bounce(unwrap.item) + @context.dependency_tracker.bounce(unwrap.item, path: true) @item_rep.path(snapshot: snapshot) end # Returns the item that this item rep belongs to. # @@ -67,10 +67,10 @@ Nanoc::ItemWithRepsView.new(@item_rep.item, @context) end # @api private def raw_path(snapshot: :last) - @context.dependency_tracker.bounce(unwrap.item) + @context.dependency_tracker.bounce(unwrap.item, path: true) @item_rep.raw_path(snapshot: snapshot) end # @api private def binary?