projects
/
dbsrgits/DBIx-Class-DeploymentHandler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
80dcc09
)
Remove isa check on schema attributes
Arthur Axel 'fREW' Schmidt [Sat, 5 May 2012 04:59:30 +0000 (23:59 -0500)]
Changes
patch
|
blob
|
blame
|
history
lib/DBIx/Class/DeploymentHandler/Dad.pm
patch
|
blob
|
blame
|
history
lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm
patch
|
blob
|
blame
|
history
lib/DBIx/Class/DeploymentHandler/VersionStorage/Deprecated.pm
patch
|
blob
|
blame
|
history
lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard.pm
patch
|
blob
|
blame
|
history
diff --git
a/Changes
b/Changes
index
c2c4d18
..
0edb2c2
100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-1,6
+1,8
@@
Revision history for {{$dist->name}}
{{$NEXT}}
+ - Remove isa check on schema attributes so that you may pass the schema
+ class instead of the schema object
0.002112 2012-04-03 21:11:19 America/Chicago
- Handle errors in Perl Scripts better
diff --git
a/lib/DBIx/Class/DeploymentHandler/Dad.pm
b/lib/DBIx/Class/DeploymentHandler/Dad.pm
index
7b6247b
..
d9e4b27
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler/Dad.pm
+++ b/
lib/DBIx/Class/DeploymentHandler/Dad.pm
@@
-13,7
+13,6
@@
use Log::Contextual ':log', -package_logger =>
});
has schema => (
- isa => 'DBIx::Class::Schema',
is => 'ro',
required => 1,
);
diff --git
a/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm
b/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm
index
e328b5c
..
7a0d7e9
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm
+++ b/
lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm
@@
-38,7
+38,6
@@
has force_overwrite => (
);
has schema => (
- isa => 'DBIx::Class::Schema',
is => 'ro',
required => 1,
);
diff --git
a/lib/DBIx/Class/DeploymentHandler/VersionStorage/Deprecated.pm
b/lib/DBIx/Class/DeploymentHandler/VersionStorage/Deprecated.pm
index
9fd2b89
..
2e0a9f6
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler/VersionStorage/Deprecated.pm
+++ b/
lib/DBIx/Class/DeploymentHandler/VersionStorage/Deprecated.pm
@@
-10,7
+10,6
@@
use Log::Contextual ':log', -package_logger =>
# ABSTRACT: (DEPRECATED) Use this if you are stuck in the past
has schema => (
- isa => 'DBIx::Class::Schema',
is => 'ro',
required => 1,
);
diff --git
a/lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard.pm
b/lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard.pm
index
8a14b9e
..
a428534
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard.pm
+++ b/
lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard.pm
@@
-11,7
+11,6
@@
use Log::Contextual ':log', -package_logger =>
use DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResult;
has schema => (
- isa => 'DBIx::Class::Schema',
is => 'ro',
required => 1,
);