r50569 - in /trunk/liborlite-migrate-perl: Changes MANIFEST META.yml Makefile.PL README debian/changelog lib/ORLite/Migrate.pm lib/ORLite/Migrate/Patch.pm lib/ORLite/Migrate/Perl.pm t/01_compile.t t/lib/Test.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sat Jan 9 17:55:19 UTC 2010


Author: jawnsy-guest
Date: Sat Jan  9 17:55:06 2010
New Revision: 50569

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=50569
Log:
New upstream release

Added:
    trunk/liborlite-migrate-perl/lib/ORLite/Migrate/Perl.pm
      - copied unchanged from r50567, branches/upstream/liborlite-migrate-perl/current/lib/ORLite/Migrate/Perl.pm
Modified:
    trunk/liborlite-migrate-perl/Changes
    trunk/liborlite-migrate-perl/MANIFEST
    trunk/liborlite-migrate-perl/META.yml
    trunk/liborlite-migrate-perl/Makefile.PL
    trunk/liborlite-migrate-perl/README
    trunk/liborlite-migrate-perl/debian/changelog
    trunk/liborlite-migrate-perl/lib/ORLite/Migrate.pm
    trunk/liborlite-migrate-perl/lib/ORLite/Migrate/Patch.pm
    trunk/liborlite-migrate-perl/t/01_compile.t
    trunk/liborlite-migrate-perl/t/lib/Test.pm

Modified: trunk/liborlite-migrate-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liborlite-migrate-perl/Changes?rev=50569&op=diff
==============================================================================
--- trunk/liborlite-migrate-perl/Changes (original)
+++ trunk/liborlite-migrate-perl/Changes Sat Jan  9 17:55:06 2010
@@ -1,5 +1,9 @@
 Changes for Perl extension ORLite-Migrate
 
+1.06 Sat  9 Jan 2010
+	- Cloned in a copy of Padre::Perl as ORLite::Migrate::Perl
+	- Switch to using cperl
+	
 1.05 Sat 26 Sep 2009
 	- Some additional tweaks to the prune support
 

Modified: trunk/liborlite-migrate-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liborlite-migrate-perl/MANIFEST?rev=50569&op=diff
==============================================================================
--- trunk/liborlite-migrate-perl/MANIFEST (original)
+++ trunk/liborlite-migrate-perl/MANIFEST Sat Jan  9 17:55:06 2010
@@ -10,6 +10,7 @@
 inc/Module/Install/WriteAll.pm
 lib/ORLite/Migrate.pm
 lib/ORLite/Migrate/Patch.pm
+lib/ORLite/Migrate/Perl.pm
 LICENSE
 Makefile.PL
 MANIFEST			This list of files

Modified: trunk/liborlite-migrate-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liborlite-migrate-perl/META.yml?rev=50569&op=diff
==============================================================================
--- trunk/liborlite-migrate-perl/META.yml (original)
+++ trunk/liborlite-migrate-perl/META.yml Sat Jan  9 17:55:06 2010
@@ -24,6 +24,7 @@
   DBI: 1.58
   File::Path: 2.04
   File::Spec: 3.2701
+  File::Which: 1.07
   File::pushd: 1.00
   IPC::Run3: 0.042
   ORLite: 1.28
@@ -34,4 +35,4 @@
   ChangeLog: http://fisheye2.atlassian.com/changelog/cpan/trunk/ORLite-Migrate
   license: http://dev.perl.org/licenses/
   repository: http://svn.ali.as/cpan/trunk/ORLite-Migrate
-version: 1.05
+version: 1.06

Modified: trunk/liborlite-migrate-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liborlite-migrate-perl/Makefile.PL?rev=50569&op=diff
==============================================================================
--- trunk/liborlite-migrate-perl/Makefile.PL (original)
+++ trunk/liborlite-migrate-perl/Makefile.PL Sat Jan  9 17:55:06 2010
@@ -5,5 +5,6 @@
 requires      File::pushd  1.00
 requires      IPC::Run3    0.042
 requires      Probe::Perl  0.01
+requires      File::Which  1.07
 requires      Params::Util 0.37
 test_requires Test::More   0.47

Modified: trunk/liborlite-migrate-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liborlite-migrate-perl/README?rev=50569&op=diff
==============================================================================
--- trunk/liborlite-migrate-perl/README (original)
+++ trunk/liborlite-migrate-perl/README Sat Jan  9 17:55:06 2010
@@ -109,7 +109,7 @@
     Adam Kennedy <adamk at cpan.org>
 
 COPYRIGHT
-    Copyright 2009 Adam Kennedy.
+    Copyright 2009 - 2010 Adam Kennedy.
 
     This program is free software; you can redistribute it and/or modify it
     under the same terms as Perl itself.

Modified: trunk/liborlite-migrate-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liborlite-migrate-perl/debian/changelog?rev=50569&op=diff
==============================================================================
--- trunk/liborlite-migrate-perl/debian/changelog (original)
+++ trunk/liborlite-migrate-perl/debian/changelog Sat Jan  9 17:55:06 2010
@@ -1,3 +1,9 @@
+liborlite-migrate-perl (1.06-1) UNRELEASED; urgency=low
+
+  * New upstream release
+
+ -- Jonathan Yu <jawnsy at cpan.org>  Sat, 09 Jan 2010 12:57:30 -0500
+
 liborlite-migrate-perl (1.05-1) unstable; urgency=low
 
   [ Jonathan Yu ]

Modified: trunk/liborlite-migrate-perl/lib/ORLite/Migrate.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liborlite-migrate-perl/lib/ORLite/Migrate.pm?rev=50569&op=diff
==============================================================================
--- trunk/liborlite-migrate-perl/lib/ORLite/Migrate.pm (original)
+++ trunk/liborlite-migrate-perl/lib/ORLite/Migrate.pm Sat Jan  9 17:55:06 2010
@@ -8,14 +8,14 @@
 use File::Spec 3.2701 ();
 use File::Path   2.04 ();
 use File::Basename    ();
-use Params::Util 0.37 qw{ _STRING _CLASS _HASH };
+use Params::Util 0.37 ();
 use DBI          1.58 ();
 use DBD::SQLite  1.21 ();
 use ORLite       1.28 ();
 
 use vars qw{$VERSION @ISA};
 BEGIN {
-	$VERSION = '1.05';
+	$VERSION = '1.06';
 	@ISA     = 'ORLite';
 }
 
@@ -24,24 +24,24 @@
 
 	# Check for debug mode
 	my $DEBUG = 0;
-	if ( defined _STRING($_[-1]) and $_[-1] eq '-DEBUG' ) {
+	if ( defined Params::Util::_STRING($_[-1]) and $_[-1] eq '-DEBUG' ) {
 		$DEBUG = 1;
 		pop @_;
 	}
 
 	# Check params and apply defaults
 	my %params;
-	if ( defined _STRING($_[1]) ) {
+	if ( defined Params::Util::_STRING($_[1]) ) {
 		# Migrate needs at least two params
 		Carp::croak("ORLite::Migrate must be invoked in HASH form");
-	} elsif ( _HASH($_[1]) ) {
+	} elsif ( Params::Util::_HASH($_[1]) ) {
 		%params = %{ $_[1] };
 	} else {
 		Carp::croak("Missing, empty or invalid params HASH");
 	}
 	$params{create} = $params{create} ? 1 : 0;
 	unless (
-		defined _STRING($params{file})
+		defined Params::Util::_STRING($params{file})
 		and (
 			$params{create}
 			or
@@ -59,7 +59,7 @@
 	unless ( defined $params{package} ) {
 		$params{package} = scalar caller;
 	}
-	unless ( _CLASS($params{package}) ) {
+	unless ( Params::Util::_CLASS($params{package}) ) {
 		Carp::croak("Missing or invalid package class");
 	}
 	unless ( $params{timeline} and -d $params{timeline} and -r $params{timeline} ) {
@@ -108,12 +108,12 @@
 		}
 
 		# Load the modules needed for the migration
-		require Probe::Perl;
+		require ORLite::Migrate::Perl;
 		require File::pushd;
 		require IPC::Run3;
 
 		# Execute each script
-		my $perl  = Probe::Perl->find_perl_interpreter;
+		my $perl  = ORLite::Migrate::Perl::cperl();
 		my $pushd = File::pushd::pushd($timeline);
 		foreach my $patch ( @plan ) {
 			my $stdin = "$file\n";
@@ -302,7 +302,7 @@
 
 =head1 COPYRIGHT
 
-Copyright 2009 Adam Kennedy.
+Copyright 2009 - 2010 Adam Kennedy.
 
 This program is free software; you can redistribute
 it and/or modify it under the same terms as Perl itself.

Modified: trunk/liborlite-migrate-perl/lib/ORLite/Migrate/Patch.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liborlite-migrate-perl/lib/ORLite/Migrate/Patch.pm?rev=50569&op=diff
==============================================================================
--- trunk/liborlite-migrate-perl/lib/ORLite/Migrate/Patch.pm (original)
+++ trunk/liborlite-migrate-perl/lib/ORLite/Migrate/Patch.pm Sat Jan  9 17:55:06 2010
@@ -11,7 +11,7 @@
 
 use vars qw{$VERSION @ISA @EXPORT $FILE};
 BEGIN {
-	$VERSION = '1.05';
+	$VERSION = '1.06';
 	@ISA     = 'Exporter';
 	@EXPORT  = qw{
 		file

Modified: trunk/liborlite-migrate-perl/t/01_compile.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liborlite-migrate-perl/t/01_compile.t?rev=50569&op=diff
==============================================================================
--- trunk/liborlite-migrate-perl/t/01_compile.t (original)
+++ trunk/liborlite-migrate-perl/t/01_compile.t Sat Jan  9 17:55:06 2010
@@ -6,6 +6,8 @@
 	$^W = 1;
 }
 
-use Test::More tests => 1;
+use Test::More tests => 3;
 
-require_ok( 'ORLite::Migrate' );
+require_ok( 'ORLite::Migrate'        );
+require_ok( 'ORLite::Migrate::Perl'  );
+require_ok( 'ORLite::Migrate::Patch' );

Modified: trunk/liborlite-migrate-perl/t/lib/Test.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liborlite-migrate-perl/t/lib/Test.pm?rev=50569&op=diff
==============================================================================
--- trunk/liborlite-migrate-perl/t/lib/Test.pm (original)
+++ trunk/liborlite-migrate-perl/t/lib/Test.pm Sat Jan  9 17:55:06 2010
@@ -9,7 +9,7 @@
 
 use vars qw{$VERSION @ISA @EXPORT};
 BEGIN {
-        $VERSION = '1.05';
+        $VERSION = '1.06';
 	@ISA     = 'Exporter';
 	@EXPORT  = qw{ test_db connect_ok create_ok };
 }




More information about the Pkg-perl-cvs-commits mailing list