Permalink
Browse files

Checking in changes prior to tagging of version 0.03.

Changelog diff is:

diff --git a/Changes b/Changes
index 68763c8..acc6fbb 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Perl extension Plack::App::DAV

+0.03    Sat Dec 10 21:30:00 2011
+        - fix pod
+
 0.02    Fri Dec 09 07:23:00 2011
         - support dbojb option (thanks to iakuf)
  • Loading branch information...
1 parent 7a2f4f2 commit c1ef4f3ffd09f591987ef78d66c13e6e62673551 @lopnor committed Dec 10, 2011
Showing with 7 additions and 4 deletions.
  1. +3 −0 Changes
  2. +4 −4 lib/Plack/App/DAV.pm
View
@@ -1,5 +1,8 @@
Revision history for Perl extension Plack::App::DAV
+0.03 Sat Dec 10 21:30:00 2011
+ - fix pod
+
0.02 Fri Dec 09 07:23:00 2011
- support dbojb option (thanks to iakuf)
View
@@ -9,7 +9,7 @@ use Filesys::Virtual::Plain;
use Plack::Util::Accessor qw(root dbobj);
-our $VERSION = '0.02';
+our $VERSION = '0.03';
sub prepare_app {
my $self = shift;
@@ -72,17 +72,17 @@ Document root directory. Defaults to the current directory.
class specification and instanciate arguments for Net::DAV::LockManager.
Defaults to 'Simple', makes Net::DAV::LockManager::Simple instance.
- my $app = Plack::App::DAV->new;
+ my $app = Plack::App::DAV->new->to_app;
is identical to the below.
- my $app = Plack::App::DAV->new(dbobj => 'Simple');
+ my $app = Plack::App::DAV->new(dbobj => 'Simple')->to_app;
To make LockManager with sqlite DB, write
my $app = Plack::App::DAV->new(
dbobj => [DB => 'dbi:sqlite:lockdb.sqlite3']
- );
+ )->to_app;
=back

0 comments on commit c1ef4f3

Please sign in to comment.