Last change
on this file since 101 was
92,
checked in by peter, 9 years ago
|
issue #10: added basic test of the web app and the Bookmark class
To make the application testable, BookmarksApp now does not require a
config_file to be set, and can just be configured via a config hash in the
constructor. In addition, authentication and reverse proxy rewriting are now
conditionally enabled based on whether there is an auth and proxy_ip key in
the config, respecitvely.
Added Plack 1.0036 to the cpanfile dependencies, since that is the version that
contains Plack::Test.
Also fixed the Bookmarks::create_tables() method to load the
bookmarks.sql file from the correct location.
|
File size:
405 bytes
|
Line | |
---|
1 | # vim:ft=perl |
---|
2 | requires 'Moose'; |
---|
3 | requires 'HTTP::Date'; |
---|
4 | requires 'JSON'; |
---|
5 | requires 'SQL::Interp'; |
---|
6 | requires 'URI'; |
---|
7 | requires 'Template'; |
---|
8 | requires 'Encode'; |
---|
9 | |
---|
10 | # web application |
---|
11 | requires 'Plack', '1.0036'; |
---|
12 | |
---|
13 | # for opening the dbh handle |
---|
14 | requires 'DBI'; |
---|
15 | requires 'DBD::SQLite'; |
---|
16 | |
---|
17 | # TODO: should these be recommends? |
---|
18 | requires 'XML::XBEL'; |
---|
19 | requires 'XML::Atom'; |
---|
20 | requires 'Text::CSV::Encoded'; |
---|
21 | requires 'File::Slurp'; |
---|
Note: See
TracBrowser
for help on using the repository browser.