[Bps-public-commit] Prophet branch, master, updated. 822e2cdcd3374018c82dee18fdbd2c07f45d1c82
jesse
jesse at bestpractical.com
Tue Mar 17 12:04:42 EDT 2009
The branch, master has been updated
via 822e2cdcd3374018c82dee18fdbd2c07f45d1c82 (commit)
via 795dcded8aef545e690e5a883eb50e2b0e029531 (commit)
from 5b068003d8efa103af7fb086e461384c8fa10602 (commit)
Summary of changes:
Makefile.PL | 2 +-
lib/Prophet/ConflictingChange.pm | 2 +-
lib/Prophet/Replica/prophet.pm | 2 +-
lib/Prophet/Resolver/FromResolutionDB.pm | 2 +-
lib/Prophet/Server.pm | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit 795dcded8aef545e690e5a883eb50e2b0e029531
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Tue Mar 17 11:44:41 2009 -0400
Prophet::Server should only log to stderr in debug mode
diff --git a/lib/Prophet/Server.pm b/lib/Prophet/Server.pm
index 3bc2db7..e67f379 100644
--- a/lib/Prophet/Server.pm
+++ b/lib/Prophet/Server.pm
@@ -177,7 +177,7 @@ sub handle_request {
sub log_request {
my $self = shift;
my $cgi = $self->cgi;
- $self->app_handle->log( localtime()." [".$ENV{'REMOTE_ADDR'}."] ".$cgi->request_method . " ".$cgi->path_info);
+ $self->app_handle->log_debug( localtime()." [".$ENV{'REMOTE_ADDR'}."] ".$cgi->request_method . " ".$cgi->path_info);
}
sub update_record_prop {
commit 822e2cdcd3374018c82dee18fdbd2c07f45d1c82
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Tue Mar 17 12:04:27 2009 -0400
switch from Digest::SHA1 to Digest:SHA
diff --git a/Makefile.PL b/Makefile.PL
index 811ecd9..563bf74 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -8,7 +8,7 @@ requires('Exporter::Lite');
requires('Params::Validate');
requires('IPC::Run3');
requires('Data::UUID');
-requires('Digest::SHA1'); # Core in 5.10
+requires('Digest::SHA');
requires('LWP::Simple'); # Part of lib-www-perl
requires('URI');
requires('HTTP::Date');
diff --git a/lib/Prophet/ConflictingChange.pm b/lib/Prophet/ConflictingChange.pm
index 77ee672..8d9de36 100644
--- a/lib/Prophet/ConflictingChange.pm
+++ b/lib/Prophet/ConflictingChange.pm
@@ -3,7 +3,7 @@ use Any::Moose;
use Prophet::Meta::Types;
use Prophet::ConflictingPropChange;
use JSON 'to_json';
-use Digest::SHA1 'sha1_hex';
+use Digest::SHA 'sha1_hex';
has record_type => (
is => 'rw',
diff --git a/lib/Prophet/Replica/prophet.pm b/lib/Prophet/Replica/prophet.pm
index 8adbbde..a1708ba 100644
--- a/lib/Prophet/Replica/prophet.pm
+++ b/lib/Prophet/Replica/prophet.pm
@@ -6,7 +6,7 @@ use LWP::Simple ();
use File::Spec ();
use File::Path;
use Cwd ();
-use Digest::SHA1 qw(sha1_hex);
+use Digest::SHA qw(sha1_hex);
use File::Find;
use Data::UUID;
use Prophet::Util;
diff --git a/lib/Prophet/Resolver/FromResolutionDB.pm b/lib/Prophet/Resolver/FromResolutionDB.pm
index 3e3322c..507b990 100644
--- a/lib/Prophet/Resolver/FromResolutionDB.pm
+++ b/lib/Prophet/Resolver/FromResolutionDB.pm
@@ -3,7 +3,7 @@ use Any::Moose;
use Prophet::Change;
use Prophet::Collection;
use JSON;
-use Digest::SHA1 'sha1_hex';
+use Digest::SHA 'sha1_hex';
extends 'Prophet::Resolver';
sub run {
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list