Allow the model to be user defined.
authorDan Brook <broq@cpan.org>
Sat, 29 Oct 2011 22:42:38 +0000 (23:42 +0100)
committerTomas Doran <bobtfish@bobtfish.net>
Sun, 13 Nov 2011 12:43:02 +0000 (12:43 +0000)
commit0fd9a84a1f3002b002585a3cb3dc59de8eb8d2c6
treee31fe43418208622e7c312dcb98de84d1c1ea055
parent8bbfc703fcc61e27c409cfc31f3637d982c41a32
Allow the model to be user defined.

Given --model-class that class will be used instead of the whatever Gitalist
reasons from the model options. If --model-args is defined then they will be
used when constructing the model object in addition to the default arguments.
Makefile.PL
lib/Gitalist.pm
lib/Gitalist/Model/CollectionOfRepos.pm
t/lib/TestModelFancy.pm [new file with mode: 0644]
t/lib/TestModelSimple.pm [new file with mode: 0644]
t/model_collectionofrepos.t