Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Rename collect-example-metadata -> collect-all-metadata
This is because it collects metadata for all examples
  • Loading branch information
Paul Cochrane committed Mar 30, 2015
1 parent 355906b commit 83a3a67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/Pod/Htmlify.pm6
Expand Up @@ -13,7 +13,7 @@ class Website is export {

method build {
self.write-index;
self.collect-example-metadata;
self.collect-all-metadata;
self.write-category-indices;
self.create-category-dirs;
self.write-example-files;
Expand Down Expand Up @@ -67,7 +67,7 @@ class Website is export {
}
}

method collect-example-metadata {
method collect-all-metadata {
for $!categories.categories-list -> $category, {
my $subcategory = "";
my $category-key = $category.key;
Expand Down
4 changes: 2 additions & 2 deletions t/004-website-basic.t
Expand Up @@ -221,7 +221,7 @@ subtest {
}
}

$website.collect-example-metadata;
$website.collect-all-metadata;
my %example-metadata = $website.examples-metadata;
ok(%example-metadata, "Non-null examples metadata structure set");

Expand All @@ -231,7 +231,7 @@ subtest {
"title text in example");

recursive-rmdir($base-dir) if $base-dir.IO.d;
}, "collect-example-metadata functionality";
}, "collect-all-metadata functionality";

subtest {
plan 4;
Expand Down

0 comments on commit 83a3a67

Please sign in to comment.