[Jifty-commit] r2369 - in jifty/trunk: lib lib/Jifty/Upgrade
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sun Dec 10 21:20:13 EST 2006
Author: jesse
Date: Sun Dec 10 21:20:02 2006
New Revision: 2369
Modified:
jifty/trunk/ (props changed)
jifty/trunk/META.yml
jifty/trunk/Makefile.PL
jifty/trunk/lib/Jifty.pm
jifty/trunk/lib/Jifty/Upgrade/Internal.pm
Log:
r46079 at pinglin: jesse | 2006-12-10 21:02:44 +0000
* Support for the new IPC::PubSub, which should work properly on mysql
Modified: jifty/trunk/META.yml
==============================================================================
--- jifty/trunk/META.yml (original)
+++ jifty/trunk/META.yml Sun Dec 10 21:20:02 2006
@@ -70,7 +70,7 @@
HTTP::Server::Simple::Recorder: 0
Hash::Merge: 0
Hook::LexWrap: 0
- IPC::PubSub: 0.11
+ IPC::PubSub: 0.22
JSON::Syck: 0.15
Jifty::DBI: 0.29
LWP::UserAgent: 0
@@ -99,4 +99,4 @@
perl: 5.8.3
version: 0
tests: t/*.t t/*/t/*.t
-version: 0.61123_01
+version: 0.61210
Modified: jifty/trunk/Makefile.PL
==============================================================================
--- jifty/trunk/Makefile.PL (original)
+++ jifty/trunk/Makefile.PL Sun Dec 10 21:20:02 2006
@@ -40,7 +40,7 @@
requires('HTTP::Server::Simple::Recorder');
requires('Hash::Merge');
requires('Hook::LexWrap');
-requires('IPC::PubSub' => '0.11' );
+requires('IPC::PubSub' => '0.22' );
requires('Jifty::DBI' => '0.29' ); # Jifty::DBI::Collection Jifty::DBI::Handle Jifty::DBI::Record::Cachable Jifty::DBI::SchemaGenerator
requires('Locale::Maketext::Extract' => '0.20');
requires('Locale::Maketext::Lexicon' => '0.60');
Modified: jifty/trunk/lib/Jifty.pm
==============================================================================
--- jifty/trunk/lib/Jifty.pm (original)
+++ jifty/trunk/lib/Jifty.pm Sun Dec 10 21:20:02 2006
@@ -2,11 +2,11 @@
use strict;
package Jifty;
-use IPC::PubSub;
+use IPC::PubSub 0.22;
use encoding 'utf8';
# Work around the fact that Time::Local caches thing on first require
BEGIN { local $ENV{'TZ'} = "GMT"; require Time::Local;}
-$Jifty::VERSION = '0.61123_01';
+$Jifty::VERSION = '0.61210';
=head1 NAME
Modified: jifty/trunk/lib/Jifty/Upgrade/Internal.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Upgrade/Internal.pm (original)
+++ jifty/trunk/lib/Jifty/Upgrade/Internal.pm Sun Dec 10 21:20:02 2006
@@ -43,4 +43,17 @@
rename column => 'key', in => 'Jifty::Model::Metadata', to => 'data_key';
};
+since '0.61210' => sub {
+ Jifty::Util->require('IPC::PubSub');
+ IPC::PubSub->new(
+ JiftyDBI => (
+ db_config => Jifty->handle->{db_config},
+ table_prefix => '_jifty_pubsub_',
+ db_init => 0,
+ )
+ );
+
+ rename column => 'key', in => 'IPC::PubSub::Cache::JiftyDBI::Stash::Item', to => 'data_key';
+};
+
1;
More information about the Jifty-commit
mailing list