X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader.pm;h=97050bce7ab1779c79cb840e42d5ba871dc7114d;hb=f3bed1f1082ac865772d577252a7c80af4504d4c;hp=baf73201fc75a3968952fc3222052cfe92e87a6b;hpb=48c1a6c5fea9f320f94d583f79936b43c6d38710;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader.pm b/lib/DBIx/Class/Schema/Loader.pm index baf7320..97050bc 100644 --- a/lib/DBIx/Class/Schema/Loader.pm +++ b/lib/DBIx/Class/Schema/Loader.pm @@ -11,12 +11,13 @@ use Sub::Util 'set_subname'; use DBIx::Class::Schema::Loader::Utils 'array_eq'; use Try::Tiny; use Hash::Merge 'merge'; +use curry; use namespace::clean; # Always remember to do all digits for the version even if they're 0 # i.e. first release of 0.XX *must* be 0.XX000. This avoids fBSD ports # brain damage and presumably various other packaging systems too -our $VERSION = '0.07042'; +our $VERSION = '0.07047'; __PACKAGE__->mk_group_accessors('inherited', qw/ _loader_args @@ -460,11 +461,11 @@ sub import { } elsif($opt eq 'naming') { no strict 'refs'; - *{"${cpkg}::naming"} = sub { $self->naming(@_) }; + *{"${cpkg}::naming"} = $self->curry::naming; } elsif($opt eq 'use_namespaces') { no strict 'refs'; - *{"${cpkg}::use_namespaces"} = sub { $self->use_namespaces(@_) }; + *{"${cpkg}::use_namespaces"} = $self->curry::use_namespaces, } } } @@ -611,86 +612,85 @@ Based on L by Sebastian Riedel Based upon the work of IKEBE Tomohiro -=head1 AUTHOR +=head1 AUTHORS -blblack: Brandon Black +Caelum: Rafael Kitover -=head1 CONTRIBUTORS +Dag-Erling Smørgrav -ilmari: Dagfinn Ilmari MannsEker +Matias E. Fernandez -arcanez: Justin Hunter +SineSwiper: Brendan Byrd -ash: Ash Berlin +TSUNODA Kazuya -btilly: Ben Tilly +acmoore: Andrew Moore -Caelum: Rafael Kitover +alnewkirk: Al Newkirk -TSUNODA Kazuya +andrewalker: André Walker -rbo: Robert Bohne +angelixd: Paul C. Mantz -ribasushi: Peter Rabbitson +arc: Aaron Crane -gugu: Andrey Kostenko +arcanez: Justin Hunter -jhannah: Jay Hannah +ash: Ash Berlin -jnap: John Napiorkowski +blblack: Brandon Black -rbuels: Robert Buels +bphillips: Brian Phillips -timbunce: Tim Bunce +btilly: Ben Tilly -mst: Matt S. Trout +domm: Thomas Klausner -mstratman: Mark A. Stratman +gugu: Andrey Kostenko -kane: Jos Boumans +hobbs: Andrew Rodland -waawaamilk: Nigel McNie +ilmari: Dagfinn Ilmari MannsEker -acmoore: Andrew Moore +jhannah: Jay Hannah -bphillips: Brian Phillips +jnap: John Napiorkowski -schwern: Michael G. Schwern +kane: Jos Boumans -SineSwiper: Brendan Byrd +mattp: Matt Phillips -hobbs: Andrew Rodland +mephinet: Philipp Gortan -domm: Thomas Klausner +moritz: Moritz Lenz -spb: Stephen Bennett +mst: Matt S. Trout -Matias E. Fernandez +mstratman: Mark A. Stratman -alnewkirk: Al Newkirk +oalders: Olaf Alders -angelixd: Paul C. Mantz +rbo: Robert Bohne -andrewalker: André Walker +rbuels: Robert Buels -mattp: Matt Phillips +ribasushi: Peter Rabbitson -Dag-Erling Smørgrav +schwern: Michael G. Schwern -moritz: Moritz Lenz +spb: Stephen Bennett -oalders: Olaf Alders +timbunce: Tim Bunce -mephinet: Philipp Gortan +waawaamilk: Nigel McNie ... and lots of other folks. If we forgot you, please write the current maintainer or RT. =head1 COPYRIGHT & LICENSE -Copyright (c) 2006 - 2009 by the aforementioned -L and -L. +Copyright (c) 2006 - 2015 by the aforementioned +L. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.