- Timestamp:
- 02/13/14 15:19:43 (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 2 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/app.psgi
r65 r70 7 7 use Router::Resource; 8 8 9 use Bookmark Controller;9 use Bookmarks::Controller; 10 10 11 11 #TODO: allow individual options to be set via environment vars, too … … 19 19 my $req = Plack::Request->new($env); 20 20 21 return Bookmark Controller->new({21 return Bookmarks::Controller->new({ 22 22 request => $req, 23 23 dbname => $config->{dbname}, -
trunk/lib/Bookmarks.pm
r68 r70 5 5 use URI; 6 6 use Bookmark; 7 use Bookmarks List;7 use Bookmarks::List; 8 8 9 9 has dbh => ( is => 'rw' ); … … 117 117 }); 118 118 } 119 return Bookmarks List->new({119 return Bookmarks::List->new({ 120 120 bookmarks => $self, 121 121 tags => $tags, -
trunk/lib/Bookmarks/Controller.pm
r68 r70 1 package BookmarkController; 1 package Bookmarks::Controller; 2 2 3 use Moose; 3 4 4 5 use Encode; 5 use HTTP::Date qw{time2 isoz time2iso time2str str2time};6 use HTTP::Date qw{time2str str2time}; 6 7 use JSON; 7 8 use Bookmarks; -
trunk/lib/Bookmarks/List.pm
r69 r70 1 package Bookmarks List;1 package Bookmarks::List; 2 2 3 3 use Moose; -
trunk/start
r65 r70 1 1 #!/bin/sh 2 2 3 export PERL5LIB=./lib 3 4 export CONFIG_FILE=${1:-"conf.yml"} 4 5
Note: See TracChangeset
for help on using the changeset viewer.