Skip to content

Commit

Permalink
Add server config opt
Browse files Browse the repository at this point in the history
  • Loading branch information
ambs committed Apr 1, 2014
1 parent 74f4eae commit 82d73e9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
10 changes: 9 additions & 1 deletion Shared/Changes
@@ -1,6 +1,14 @@
Revision history for Dancer-Plugin-Database-Core

0.05 2014-12-22
0.06 2014-04-01
[ ENHANCEMENTS ]
- New server config option (thanks Collin Seaton)

[ BUGFIXES ]
- Fix date for 0.05 release
- Fix version numbers on documentation

0.05 2013-12-22
[ ENHANCEMENTS ]
- New offset param

Expand Down
8 changes: 4 additions & 4 deletions Shared/lib/Dancer/Plugin/Database/Core.pm
Expand Up @@ -10,11 +10,11 @@ Dancer::Plugin::Database::Core - Shared core for D1 and D2 Database plugins
=head1 VERSION
Version 0.04
Version 0.06
=cut

our $VERSION = '0.05';
our $VERSION = '0.06';

my %handles;
# Hashref used as key for default handle, so we don't have a magic value that
Expand Down Expand Up @@ -217,7 +217,7 @@ sub _get_connection {
$settings->{dbname} = delete $settings->{database};
}

for (qw(database dbname host port sid)) {
for (qw(database dbname host port sid server)) {
if (exists $settings->{$_}) {
push @extra_args, $_ . "=" . $settings->{$_};
}
Expand Down Expand Up @@ -390,7 +390,7 @@ This license does not grant you the right to use any trademark, service
mark, tradename, or logo of the Copyright Holder.
This license includes the non-exclusive, worldwide, free-of-charge
patent license to make, have made, use, offer to sell, sell, import and
patent license to make, have made, use, er to sell, sell, import and
otherwise transfer the Package with respect to any patent claims
licensable by the Copyright Holder that are necessarily infringed by the
Package. If you institute patent litigation (including a cross-claim or
Expand Down

0 comments on commit 82d73e9

Please sign in to comment.