projects
/
dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
63420f8
)
Add version dep on SQLT, put back original BEGIN blocks on helper routines
Amiri Barksdale at Home [Thu, 6 Oct 2011 01:20:10 +0000 (18:20 -0700)]
.gitignore
patch
|
blob
|
blame
|
history
Makefile.PL
patch
|
blob
|
blame
|
history
lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm
patch
|
blob
|
blame
|
history
diff --git
a/.gitignore
b/.gitignore
index
3382ecb
..
16ae664
100644
(file)
--- a/
.gitignore
+++ b/
.gitignore
@@
-11,3
+11,4
@@
src
t/sql
t/var
tags
+MYMETA.*
diff --git
a/Makefile.PL
b/Makefile.PL
index
34e8291
..
6f3556f
100644
(file)
--- a/
Makefile.PL
+++ b/
Makefile.PL
@@
-30,9
+30,9
@@
requires 'String::TT';
requires 'aliased';
requires 'namespace::autoclean';
requires 'parent';
+requires 'SQL::Translator' => '0.11010';
test_requires 'Module::Find';
-test_requires 'SQL::Translator';
auto_install;
WriteAll;
diff --git
a/lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm
b/lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm
index
dbe0f75
..
1b0dea0
100644
(file)
--- a/
lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm
+++ b/
lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm
@@
-250,7
+250,9
@@
method add_relationship ($name, $f_source, $cond, $attrs) {
}
BEGIN {
- # Helper methods
+
+ # helper routines
+
sub argify {
my @names = @_;
map '_' . $_, @names;
@@
-294,6
+296,9
@@
BEGIN {
$function$ LANGUAGE plpgsql;
};
}
+}
+
+BEGIN {
sub arg_hash {
my $source = shift;