Allow the model to be user defined. model-from-args
authorDan Brook <broq@cpan.org>
Sat, 29 Oct 2011 22:42:38 +0000 (23:42 +0100)
committerDan Brook <broq@cpan.org>
Sun, 6 Nov 2011 11:18:57 +0000 (11:18 +0000)
commite33993c9be8b249ecb9f1570bb9057d4c28b3db8
treee31fe43418208622e7c312dcb98de84d1c1ea055
parent8f7296d0b564f052d4b17dddbd553dc355b04f88
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