git rid of some useless roles
Arthur Axel 'fREW' Schmidt [Thu, 6 May 2010 04:56:15 +0000 (23:56 -0500)]
lib/DBIx/Class/DeploymentHandler/WithMonotonicVersions.pm [deleted file]
lib/DBIx/Class/DeploymentHandler/WithStandardVersionStorage.pm [deleted file]

diff --git a/lib/DBIx/Class/DeploymentHandler/WithMonotonicVersions.pm b/lib/DBIx/Class/DeploymentHandler/WithMonotonicVersions.pm
deleted file mode 100644 (file)
index f94988e..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-package DBIx::Class::DeploymentHandler::WithMonotonicVersions;
-use Moose::Role;
-
-# ABSTRACT: Delegate/Role for DBIx::Class::DeploymentHandler::VersionHandler::Monotonic
-
-use DBIx::Class::DeploymentHandler::VersionHandler::Monotonic;
-
-has version_handler => (
-  is         => 'ro',
-  lazy_build => 1,
-  does       => 'DBIx::Class::DeploymentHandler::HandlesVersioning',
-  handles    => 'DBIx::Class::DeploymentHandler::HandlesVersioning',
-);
-
-sub _build_version_handler {
-  my $self = shift;
-
-  my $args = {
-    database_version => $self->database_version,
-    schema_version   => $self->schema_version,
-  };
-
-  $args->{to_version} = $self->to_version if $self->has_to_version;
-  DBIx::Class::DeploymentHandler::VersionHandler::Monotonic->new($args);
-}
-
-1;
-
-# vim: ts=2 sw=2 expandtab
-
-__END__
-
-=head1 DELEGATION ROLE
-
-This role is entirely for making delegation look like a role.  The actual
-docs for the methods and attributes are at
-L<DBIx::Class::DeploymentHandler::VersionHandler::Monotonic>
diff --git a/lib/DBIx/Class/DeploymentHandler/WithStandardVersionStorage.pm b/lib/DBIx/Class/DeploymentHandler/WithStandardVersionStorage.pm
deleted file mode 100644 (file)
index 499dde9..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-package DBIx::Class::DeploymentHandler::WithStandardVersionStorage;
-use Moose::Role;
-
-# ABSTRACT: Delegate/Role for DBIx::Class::DeploymentHandler::VersionStorage::Standard
-
-use DBIx::Class::DeploymentHandler::VersionStorage::Standard;
-
-has version_storage => (
-  does => 'DBIx::Class::DeploymentHandler::HandlesVersionStorage',
-  is  => 'ro',
-  builder => '_build_version_storage',
-  handles =>  'DBIx::Class::DeploymentHandler::HandlesVersionStorage',
-);
-
-sub _build_version_storage {
-  DBIx::Class::DeploymentHandler::VersionStorage::Standard
-    ->new({ schema => $_[0]->schema });
-}
-
-1;
-
-# vim: ts=2 sw=2 expandtab
-
-__END__
-
-=head1 DELEGATION ROLE
-
-This role is entirely for making delegation look like a role.  The actual
-docs for the methods and attributes are at
-L<DBIx::Class::DeploymentHandler::VersionStorage::Standard>