[Jifty-commit] jifty branch, master, updated. 45c298995b6088b3ec69f4a8486c4a56e9e664e5
Jifty commits
jifty-commit at lists.jifty.org
Wed Dec 8 18:09:20 EST 2010
The branch, master has been updated
via 45c298995b6088b3ec69f4a8486c4a56e9e664e5 (commit)
via ab54c595c55e674ab427779a993ec78868c83af5 (commit)
from b86a692e2037efe24ebe29c7ff2f3aad95484ce8 (commit)
Summary of changes:
Makefile.PL | 2 +-
lib/Jifty/DateTime.pm | 2 +-
lib/Jifty/Test.pm | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit ab54c595c55e674ab427779a993ec78868c83af5
Author: Thomas Sibley <trs at bestpractical.com>
Date: Wed Dec 8 17:44:05 2010 -0500
It seems like newer Date::Manips (6.01+) want a different ForceDate format
diff --git a/Makefile.PL b/Makefile.PL
index c23a145..5a8bbad 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -26,7 +26,7 @@ requires('Data::Page');
requires('Data::UUID');
requires('DateTime');
requires('DateTime::Locale');
-requires('Date::Manip');
+requires('Date::Manip' => '6.01');
requires('Email::Folder');
requires('Email::LocalDelivery' => 0.217 );
requires('Email::MIME' => 1.900 );
diff --git a/lib/Jifty/DateTime.pm b/lib/Jifty/DateTime.pm
index ec25dd3..8184b28 100644
--- a/lib/Jifty/DateTime.pm
+++ b/lib/Jifty/DateTime.pm
@@ -291,7 +291,7 @@ sub new_from_string {
);
my $dt_now = $class->now;
- my $now = $dt_now->ymd . ' ' . $dt_now->hms;
+ my $now = $dt_now->ymd . '-' . $dt_now->hms;
require Date::Manip;
commit 45c298995b6088b3ec69f4a8486c4a56e9e664e5
Author: Thomas Sibley <trs at bestpractical.com>
Date: Wed Dec 8 17:56:50 2010 -0500
Default to a test loglevel of FATAL so expected errors don't confuse users
This is also now overridable by setting the JIFTY_TEST_LOGLEVEL
environment variable.
diff --git a/lib/Jifty/Test.pm b/lib/Jifty/Test.pm
index 0b94389..29283f7 100644
--- a/lib/Jifty/Test.pm
+++ b/lib/Jifty/Test.pm
@@ -444,7 +444,7 @@ sub test_config {
],
Mailer => 'Jifty::Test',
MailerArgs => [],
- LogLevel => 'WARN',
+ LogLevel => $ENV{JIFTY_TEST_LOGLEVEL} || 'FATAL',
TestMode => 1,
}
};
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list