Skip to content

Commit

Permalink
Final cleanup for v1.41
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacdotorg committed Sep 17, 2016
1 parent 3f9e77c commit f25a014
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
6 changes: 6 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
1.41 2016-09-17

- Fixing a bug that would sometimes cause existing posts' "older_post" and "newer_post" methods to return incorrect values after new the publication of new posts.

- Removing support for the Plerd object's "publish" method and "files_to_publish" attribute. (The former now just calls the "publish_all" method.)

1.4 2016-08-17

- Adding support for user-defined post attributes.
Expand Down
12 changes: 7 additions & 5 deletions lib/Plerd.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Plerd;

our $VERSION = '1.4';
our $VERSION = '1.41';

use Moose;
use Template;
Expand Down Expand Up @@ -392,6 +392,12 @@ sub generates_post_guids {
. "anyway.)";
}

sub publish {
my $self = shift;

return $self->publish_all;
}

1;

=head1 NAME
Expand Down Expand Up @@ -543,10 +549,6 @@ the blog's docroot -- in other words, the place Plerd will write HTML and XML fi
=back
=head2 Read-write attributes
=over
=head1 OBJECT METHODS
=over
Expand Down

0 comments on commit f25a014

Please sign in to comment.