restructure namespace
Arthur Axel 'fREW' Schmidt [Sat, 20 Mar 2010 20:15:14 +0000 (15:15 -0500)]
lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/Component.pm [moved from lib/DBIx/Class/DeploymentHandler/Component.pm with 75% similarity]
lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/VersionResult.pm [moved from lib/DBIx/Class/DeploymentHandler/VersionResult.pm with 85% similarity]
lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/VersionResultSet.pm [moved from lib/DBIx/Class/DeploymentHandler/VersionResultSet.pm with 80% similarity]
t/01-load.t [deleted file]
t/lib/DBICVersion_v1.pm
t/lib/DBICVersion_v2.pm
t/lib/DBICVersion_v3.pm

@@ -1,16 +1,16 @@
-package DBIx::Class::DeploymentHandler::Component;
+package DBIx::Class::DeploymentHandler::VersionStorage::Standard::Component;
 
 use strict;
 use warnings;
 
 use Carp 'carp';
-use DBIx::Class::DeploymentHandler::VersionResult;
+use DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResult;
 
 sub set_us_up_the_bomb {
        my $self = shift;
 
        $self->register_class(
-               __VERSION => 'DBIx::Class::DeploymentHandler::VersionResult'
+               __VERSION => 'DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResult'
        );
 }
 
@@ -1,4 +1,4 @@
-package DBIx::Class::DeploymentHandler::VersionResult;
+package DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResult;
 
 use strict;
 use warnings;
@@ -30,6 +30,6 @@ __PACKAGE__->add_columns (
 
 __PACKAGE__->set_primary_key('installed');
 __PACKAGE__->add_unique_constraint(['version']);
-__PACKAGE__->resultset_class('DBIx::Class::DeploymentHandler::VersionResultSet');
+__PACKAGE__->resultset_class('DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResultSet');
 
 1;
@@ -1,4 +1,4 @@
-package DBIx::Class::DeploymentHandler::VersionResultSet;
+package DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResultSet;
 
 use strict;
 use warnings;
diff --git a/t/01-load.t b/t/01-load.t
deleted file mode 100644 (file)
index cccff7d..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!perl
-
-use Test::More;
-use lib 't/lib';
-
-use_ok 'DBIx::Class::DeploymentHandler';
-use_ok 'DBIx::Class::DeploymentHandler::VersionResult';
-use_ok 'DBIx::Class::DeploymentHandler::VersionResultSet';
-use_ok 'DBIx::Class::DeploymentHandler::Component';
-
-done_testing;
index 9063d26..2eee7af 100644 (file)
@@ -27,6 +27,6 @@ use warnings;
 our $VERSION = '1.0';
 
 __PACKAGE__->register_class('Foo', 'DBICVersion::Foo');
-__PACKAGE__->load_components('DeploymentHandler::Component');
+__PACKAGE__->load_components('DeploymentHandler::VersionStorage::Standard::Component');
 
 1;
index 659e3b6..602a1c3 100644 (file)
@@ -32,6 +32,6 @@ use warnings;
 our $VERSION = '2.0';
 
 __PACKAGE__->register_class('Foo', 'DBICVersion::Foo');
-__PACKAGE__->load_components('DeploymentHandler::Component');
+__PACKAGE__->load_components('DeploymentHandler::VersionStorage::Standard::Component');
 
 1;
index 3d614db..e7a94ea 100644 (file)
@@ -37,6 +37,6 @@ use warnings;
 our $VERSION = '3.0';
 
 __PACKAGE__->register_class('Foo', 'DBICVersion::Foo');
-__PACKAGE__->load_components('DeploymentHandler::Component');
+__PACKAGE__->load_components('DeploymentHandler::VersionStorage::Standard::Component');
 
 1;