Port to Moo
[dbsrgits/DBIx-Class-DeploymentHandler.git] / lib / DBIx / Class / DeploymentHandler / HandlesVersioning.pm
index 77895d5..5ca2974 100644 (file)
@@ -1,7 +1,8 @@
 package DBIx::Class::DeploymentHandler::HandlesVersioning;
-use Moose::Role;
+use Moo::Role;
+
+# ABSTRACT: Interface for version methods
 
-# note: the sets returned need to match!
 requires 'next_version_set';
 requires 'previous_version_set';
 
@@ -66,15 +67,15 @@ the L</previous_version_set> iterator to yeild the following:
 
 
  db_version = 5, to_version=1
- [4, 5]
- [3, 4]
- [2, 3]
- [1, 2]
+ [5, 4]
+ [4, 3]
+ [3, 2]
+ [2, 1]
  undef
 
 or maybe just
 
- [1, 5]
+ [5, 1]
  undef
 
 Note that we do not swap the version number order.  This allows us to remain