The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
CHANGES 0735
Changes 610
MANIFEST 22
META.yml 55
Makefile.PL 1011
README 11
dist.ini 916
lib/Dancer/Plugin/DBIC.pm 22
t/00-compile.t 45
t/02-multiple-schemas.t 711
t/03-dynamic-schemas.t 95
t/04-testapp.t 23
t/05-schema-aliases.t 12
t/06-replicated.t 1624
14 files changed (This is a version diff) 129822
@@ -0,0 +1,735 @@
+==================================================
+Changes from 2005-02-16 00:00:00 +0000 to present.
+==================================================
+
+-------------------------------------------
+version 0.2101 at 2015-02-14 02:54:48 +0000
+-------------------------------------------
+
+  Change: b4b29aa82925bc53370ae15aa66e897085c31db5
+  Author: Naveed Massjouni <naveed@vt.edu>
+  Date : 2015-02-13 21:52:24 +0000
+
+    updated SQL::Translator version requirement to fix cpantesters
+    failures 
+
+  Change: 2ee1a4bfad6362fad5907dfe85fb8d866835cef6
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2015-01-12 01:16:15 +0000
+
+    Merge pull request #17 from monsieurp/test-code-refactoring
+
+    Test code refactoring 
+
+  Change: c2b09c695a711a336e753771926c01d4a53a4c31
+  Author: Patrice Clement <monsieurp@gentoo.org>
+  Date : 2015-01-11 19:48:35 +0000
+
+    get rid of eval {} and make use of Test::Requires instead 
+
+  Change: 9270cfe02c06f1de469d6e19171c3e8d1ecb2f47
+  Author: Patrice Clement <monsieurp@gentoo.org>
+  Date : 2015-01-10 20:32:36 +0000
+
+    test code refactoring and import tyding. 
+
+  Change: 72ba5fadea989d087feddf36f7e72d6be70b3dec
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2014-04-05 02:59:23 +0000
+
+    Merge pull request #15 from ironcamel/balancer-args
+
+    added support for more ::Replicated options 
+
+  Change: 9ee389e9fde37bc56ed71fbb8b37d0a4fcd5d756
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2014-04-05 02:56:29 +0000
+
+    added support for more ::Replicated options
+
+    Added support for options: balancer_args, pool_type, and pool_args.
+    Also getting ready to release v0.2100. 
+
+  Change: 7786e1b86267dc1e487a17e4b7d7768278b9f707
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2014-03-12 04:27:32 +0000
+
+    releasing v0.2001 
+
+  Change: 488d55a763c10217debc9bfbd4850da80b0d182b
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2014-03-12 04:22:42 +0000
+
+    Removed deprecated pckg option.
+
+    Also added deprecation warning for the pass option and updated the
+    documentation. 
+
+  Change: 20309bc791e8c0388ef86cc8cc3b0590f126d380
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2014-03-12 04:21:12 +0000
+
+    skip the replicated tests if the required deps are not installed 
+
+-------------------------------------------
+version 0.2000 at 2014-03-11 20:00:09 +0000
+-------------------------------------------
+
+  Change: 5845b02557d12f571d4fee5b3fc43c17705cc06d
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2014-03-11 16:00:09 +0000
+
+    Merge pull request #14 from ironcamel/replicated
+
+    added support for database slaves via
+    DBIx::Class::Storage::DBI::Replicated 
+
+  Change: 8054506283bd590628b3964ae53568a01466daa2
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2014-03-11 15:50:50 +0000
+
+    added support for database slaves via
+    DBIx::Class::Storage::DBI::Replicated 
+
+-------------------------------------------
+version 0.1901 at 2014-02-05 03:07:46 +0000
+-------------------------------------------
+
+  Change: 18328b1c8ef7010c97e34a2b2d9968a3ce2a20d5
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2014-02-04 22:07:46 +0000
+
+    Added SQL::Translator prereq for tests to pass. 
+
+-------------------------------------------
+version 0.1900 at 2014-02-04 22:49:09 +0000
+-------------------------------------------
+
+  Change: a5a03b2c41f54a05e8e04304959e7b0c3ce4bd81
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2014-02-04 14:49:09 +0000
+
+    Merge pull request #12 from ironcamel/schema-alias
+
+    added support for schema aliases 
+
+  Change: d8a263847cdb792653a54b41d8712e301b7d89a2
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2014-02-04 17:48:09 +0000
+
+    releasing v0.1900 
+
+  Change: 29fe667579534a02f53c8d0eb6b750c0951ba9ea
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2014-02-04 16:30:04 +0000
+
+    added support for schema aliases 
+
+  Change: 653785a8790f8597a3eb0e8038c0c52f39d1b03e
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2013-10-06 23:54:38 +0000
+
+    Releasing v0.1803 
+
+  Change: 34dd735a8f99c13fe7ef22a880ffe0acecc159fc
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2013-04-05 21:57:45 +0000
+
+    Merge pull request #11 from bentglasstube/master
+
+    Show root cause when unable to load schema. 
+
+  Change: 865b34ce28081f0e31beedb1caaee876339bb851
+  Author: Alan Berndt <alan@eatabrick.org>
+  Date : 2013-04-05 15:21:23 +0000
+
+    Show reason when unable to load schema. 
+
+  Change: 65d3c0d347c2075ff6d7d4efef0e0396354b7d17
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2013-01-22 09:57:07 +0000
+
+    Updated version requirement for Dancer.
+
+    A newer Dancer is required to use the plugin_args() function. 
+
+-------------------------------------------
+version 0.1801 at 2013-01-21 05:13:44 +0000
+-------------------------------------------
+
+  Change: 1a178ea47c1c1e875429c55d7e9a3b79742f1876
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2013-01-21 00:13:44 +0000
+
+    Getting ready to release v0.1801 
+
+  Change: 0f88ba279fdb33f06f8c7fffc48ffa8d9619af3b
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2013-01-20 20:03:49 +0000
+
+    Merge pull request #7 from yanick/dancer-2
+
+    compatibility with Dancer 2 
+
+  Change: 1608e5924745a9e385d109b2fbaaae498a18d46f
+  Author: Yanick Champoux <yanick@babyl.dyndns.org>
+  Date : 2013-01-20 12:17:07 +0000
+
+    compatibility with Dancer 2 
+
+-------------------------------------------
+version 0.1800 at 2013-01-19 03:30:17 +0000
+-------------------------------------------
+
+  Change: 5203af9276578c9de4ac6ec5a95d72cab2229951
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2013-01-18 22:30:17 +0000
+
+    Added resultset and rset keywords. Setting version to v0.1800. 
+
+  Change: 509ec32b84487d851ca997d31700dd62b860293d
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2013-01-07 00:57:55 +0000
+
+    Fixed pod encoding 
+
+-------------------------------------------
+version 0.1700 at 2013-01-01 19:30:37 +0000
+-------------------------------------------
+
+  Change: 4ccdbcc5717b286df227b4996c9d60f2dc1dd6ec
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2013-01-01 14:30:37 +0000
+
+    Getting ready to cut v0.1700 
+
+  Change: 91c2eb89e4a50fd6bbf125eed639e0648c8ac7d0
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2013-01-01 10:42:44 +0000
+
+    Merge pull request #5 from shumphrey/master
+
+    Support for Dancer2 
+
+  Change: 2cf8ac7154bb2047577e711838bb05f2f31d5223
+  Author: Steven Humphrey <shumphrey@inview.co.uk>
+  Date : 2012-12-16 10:25:18 +0000
+
+    Support for Dancer2 
+
+  Change: 99a9c7e4b40281e3414917c0c117db77ba2c0b9d
+  Author: Steven Humphrey <shumphrey@inview.co.uk>
+  Date : 2012-12-16 10:21:43 +0000
+
+    Merge remote-tracking branch 'upstream/master'
+
+    * upstream/master:
+
+    Skip some tests when DBIx::Class::Schema::Loader is missing.
+
+    Started using Module::Load for dynamically loading modules.
+
+    Make DBIx::Class::Schema::Loader an optional dependency, required at
+    runtime.
+
+    Updated POD documentation.
+
+    Adding README for github.
+
+    Updating POD documentation
+
+    Cleaning up dist.ini
+
+    Add myself to authors
+
+    Include GH issues in META.yml resources too
+
+    Add GitHub URLs to meta.yml
+
+    Typo fix
+
+    Some typo fixes and improving the synopsis examples
+
+    Typo in config file example
+
+    Keyboarding fail.
+
+    Strongly discourage dynamic schema introspection
+
+    Updating authors, removing tabs and changed Prereq to Prereqs. 
+
+  Change: 0bea04dfec01221ec7f5895079225b597e510386
+  Author: Steven Humphrey <shumphrey@inview.co.uk>
+  Date : 2012-12-15 10:50:22 +0000
+
+    Support for Dancer2 
+
+  Change: 9caba887b31a0026eb64fa3a8e5f41c2ecc7f31d
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2012-03-22 11:23:45 +0000
+
+    Merge pull request #10 from ilmari/default-schema
+
+    Add default schema support 
+
+-------------------------------------------
+version 0.1601 at 2012-10-01 06:41:17 +0000
+-------------------------------------------
+
+  Change: 36dad6bf98fabf9df5d28142f572955c7e3c2508
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2012-10-01 02:41:17 +0000
+
+    Skip some tests when DBIx::Class::Schema::Loader is missing. 
+
+-------------------------------------------
+version 0.1600 at 2012-09-29 05:52:36 +0000
+-------------------------------------------
+
+  Change: 6e7f6789d4ef517c6628e590065068ec892735a7
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2012-09-29 01:52:36 +0000
+
+    Started using Module::Load for dynamically loading modules.
+
+    Updated version for new release 0.1600 
+
+  Change: 66e3d7be95e9f13dcb92a30f4b44834d3a6fa3ca
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2012-09-17 18:40:56 +0000
+
+    Merge pull request #3 from fgabolde/master
+
+    Make DBIx::Class::Schema::Loader an optional dependency 
+
+  Change: 1004f2b1c6c1e80d338d40ebe422bcfe7851a27f
+  Author: Fabrice Gabolde <fabrice.gabolde@gmail.com>
+  Date : 2012-09-16 13:28:27 +0000
+
+    Make DBIx::Class::Schema::Loader an optional dependency, required at
+    runtime. 
+
+-------------------------------------------
+version 0.1506 at 2012-04-13 03:20:47 +0000
+-------------------------------------------
+
+  Change: 30e34f2054fc43ac7fe7a55f3493136a965efae5
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2012-04-12 23:20:47 +0000
+
+    Updated POD documentation. 
+
+  Change: c7d0bc3633964a1445149985b1c5a524b180a64d
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2012-04-10 03:52:22 +0000
+
+    Merge remote-tracking branch 'ilmari/default-schema'
+
+    Conflicts:
+
+    lib/Dancer/Plugin/DBIC.pm 
+
+  Change: 223c7ad3bb4738f7386caddbe7ce34531c2a8114
+  Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
+  Date : 2012-03-22 16:57:13 +0000
+
+    Fix POD typo 
+
+  Change: e36a706da1995924c8b1869edbfe871f4519e20c
+  Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
+  Date : 2012-03-22 16:50:16 +0000
+
+    Add default schema support
+
+    Return the 'default' schema if multiple are defined and it exists,
+    otherwise throw an error. If only one schema is defined, continue to
+    return that. 
+
+  Change: 91284f1b60e37c87a5cf9756318f8fb1bbe6bebb
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2012-02-08 14:07:07 +0000
+
+    Adding README for github. 
+
+-------------------------------------------
+version 0.1505 at 2012-02-08 04:23:43 +0000
+-------------------------------------------
+
+  Change: 985fbe2299b6fd99852d0b2b119456bedea0d437
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2012-02-07 23:23:43 +0000
+
+    Updating POD documentation 
+
+  Change: 20e03ef7ba066deebe1a76a1bedc5c249d9e20c4
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2012-02-07 22:09:31 +0000
+
+    Cleaning up dist.ini 
+
+  Change: 0e3ae43385ea6e6b1aa58bc459b852074184c646
+  Author: David Precious <davidp@preshweb.co.uk>
+  Date : 2012-02-07 21:51:12 +0000
+
+    Add myself to authors
+
+    (even though I've mostly only done doc improvements so far...) 
+
+  Change: 70be79e5451ddb65ee62360f5f0ff2dff6c4e1c9
+  Author: David Precious <davidp@preshweb.co.uk>
+  Date : 2012-02-07 21:50:36 +0000
+
+    Include GH issues in META.yml resources too 
+
+  Change: e6d5392031371f1063aa549844c69ae4048ba9b0
+  Author: David Precious <davidp@preshweb.co.uk>
+  Date : 2012-02-07 21:43:07 +0000
+
+    Add GitHub URLs to meta.yml
+
+    It's useful for canonical repo to be listed on MetaCPAN 
+
+  Change: b77284cedf2a8b3beb6290b9378b5912056d3edb
+  Author: David Precious <davidp@preshweb.co.uk>
+  Date : 2012-02-07 21:38:01 +0000
+
+    Typo fix 
+
+  Change: 6eef227aa8f333f3e8bdb25f63ab6f17d22bf8e1
+  Author: David Precious <davidp@preshweb.co.uk>
+  Date : 2012-02-07 21:35:42 +0000
+
+    Some typo fixes and improving the synopsis examples 
+
+  Change: 0697504336929a26266e5962b121c0648379d6b0
+  Author: David Precious <davidp@preshweb.co.uk>
+  Date : 2012-02-07 21:27:23 +0000
+
+    Typo in config file example 
+
+  Change: 5ee60afb11a43f5eb8ae2d254b7c47230db94e5e
+  Author: David Precious <davidp@preshweb.co.uk>
+  Date : 2012-02-07 21:26:13 +0000
+
+    Keyboarding fail. 
+
+  Change: 7727042dfbecfa28c4c38ab09943a31329851e36
+  Author: David Precious <davidp@preshweb.co.uk>
+  Date : 2012-02-07 21:23:47 +0000
+
+    Strongly discourage dynamic schema introspection 
+
+  Change: 802d718f90a707255074caf5f813e8de493e939f
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-11-24 12:34:22 +0000
+
+    Updating authors, removing tabs and changed Prereq to Prereqs. 
+
+  Change: 30665b94fdfb5c4fbd48ba4b9a0c46946bc8e660
+  Author: Al Newkirk <root@alnewkirk.com>
+  Date : 2010-10-23 23:30:01 +0000
+
+    manually unlink test dbs 
+
+  Change: 2986d2d65ee765cf9bd0832dbceefd1089f9f2ee
+  Author: Al Newkirk <root@alnewkirk.com>
+  Date : 2010-10-23 23:05:33 +0000
+
+    fixed test for windows compatibility 
+
+  Change: 127f1266d6a0df8e4a1065b3dfaa5b42f2ff0a53
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-23 22:32:37 +0000
+
+    Updating tests to use tempfile instead of tempdir. Also some minor
+    cleanup. 
+
+  Change: 41036cf91bc00e6c2e171167b5a505dd0c1fd58f
+  Author: Al Newkirk <root@alnewkirk.com>
+  Date : 2010-10-23 20:51:31 +0000
+
+    removed unlinks 
+
+  Change: 9cf2981f072ce37ff315f65d73eb0c94cb631ccf
+  Author: Al Newkirk <root@alnewkirk.com>
+  Date : 2010-10-23 20:22:11 +0000
+
+    Merge branch 'master' of
+    git://github.com/alnewkirk/Dancer-Plugin-DBIC 
+
+  Change: edcdb12454b7b77650369956261a900119ede57a
+  Author: Al Newkirk <root@alnewkirk.com>
+  Date : 2010-10-23 20:21:19 +0000
+
+    new version, POD update, tests fail 
+
+  Change: dc17f97f26864a90d9f9aad0ba832c058ed0e869
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-23 19:14:45 +0000
+
+    Merge branch 'master' of github.com:alnewkirk/Dancer-Plugin-DBIC 
+
+  Change: 904531c4f2c94a46a7c6601f0f79fd4a13e10d92
+  Author: franck cuny <franck@lumberjaph.net>
+  Date : 2010-10-23 15:00:30 +0000
+
+    add simple TestApp to test with Dancer 
+
+  Change: e8466f7bec40c119f162f1d7d8f1efd13656c977
+  Author: franck cuny <franck@lumberjaph.net>
+  Date : 2010-10-23 15:00:12 +0000
+
+    use File::Spec and File::Temp for temp. db 
+
+  Change: 85942ba4a199db88bfacf58d05e288d697d403df
+  Author: franck cuny <franck@lumberjaph.net>
+  Date : 2010-10-23 14:59:51 +0000
+
+    update .gitignore 
+
+  Change: f8c6106dba97bd91109d1cdff53eea6c89c8702e
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-22 01:52:08 +0000
+
+    Updating version. 
+
+  Change: 1206fed0773d8b68d1880446cfbec948b96ff97a
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-22 01:48:50 +0000
+
+    The setup in the tests no longer need to be in BEGIN blocks. Thanks
+    to sukria's idea of not calling plugin_setting() at compile time. 
+
+  Change: 32ddee89133e1c44dec3e8f92176b8e2e6351e71
+  Author: Alexis Sukrieh <sukria@sukria.net>
+  Date : 2010-10-19 18:42:59 +0000
+
+    FIX for Dancer::Test 
+
+  Change: 4623f97cfa6e328054e54c8027d11c87c13c97d5
+  Author: unknown <Administrator@.(none)>
+  Date : 2010-10-17 04:30:04 +0000
+
+    new version 
+
+  Change: 2a29b4e6d320085f347a8c66d86bc443018827d4
+  Author: unknown <Administrator@.(none)>
+  Date : 2010-10-12 04:44:24 +0000
+
+    new version 
+
+  Change: 142002882d5052741b5ff81f9d0bd6a8a112e211
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-12 03:40:27 +0000
+
+    Fixed a bug where schema was reloaded unnecessarily when schema() is
+    invoked with no arguments. Now we will use cached schema if it is
+    available. 
+
+  Change: 652a782d2eb723a4b8b8c7f76dba66527e312b72
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-09 19:13:21 +0000
+
+    Updating README. 
+
+  Change: fb3fe7dbdebe380c4d0db5ce5ca402d9c3b5cbed
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-09 19:11:05 +0000
+
+    Updating documentation to describe 'schema' function and new usage. 
+
+  Change: e5dfe24aafed0a34ac4aa38e6da723ba51a80a12
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-09 17:47:52 +0000
+
+    Handle the case where a schema that isn't configured is requested. 
+
+  Change: 84c11b14c534996d5f5c2869c77020926beacd60
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-09 17:21:47 +0000
+
+    Added 01-single-schema.t for testing simplest usage, where only 1
+    schema is configured. Also there is no reason to define routes in the
+    test, so I removed those. 
+
+  Change: 226f155d4df05f3b12a33446b8878a92dfccb509
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-09 16:49:39 +0000
+
+    Renaming test files. 
+
+  Change: 4b52d79c83a28992dc1b9bfb9a522894c71f6ac5
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-09 16:46:27 +0000
+
+    Plugin now registers exactly one keyword, schema. This works more
+    like the Database plugin, which exports just the keyword database. So
+    usage now is:
+
+    schema->resultset('Users')->find($id)
+
+    or
+
+    schema('foo')->resultset('Users')->find($id) 
+
+  Change: 47a5fc78b6c5faee62ccf32b7b827b61963f8910
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-09 02:22:39 +0000
+
+    Fixed warning in tests about redefining 'pass'. 
+
+  Change: f3630e7119a43697b7c94195b0f2cc3b2bc83146
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-06 20:01:35 +0000
+
+    Updating version info. 
+
+  Change: 05f9a80e44a5d30c97e32076edfdac0ffabff618
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-06 20:00:24 +0000
+
+    Minor pod edit in SYNOPSIS. 
+
+  Change: e84749351fff769bb04942dc7bb21dc730a5b9a5
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-06 16:40:21 +0000
+
+    Added tests for multiple schemas. 
+
+  Change: febd2f426c69ea80f701ee6af854d75ee8e69378
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-06 07:36:57 +0000
+
+    Capture db connection info in a more succint way. 
+
+  Change: eeda87362ad6ff475cc3b82683c058f1120aae58
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-06 07:30:23 +0000
+
+    Adding tests for actual DBIC classes. 
+
+  Change: c076e5bed3843c6597d5d4c2012acc0ac3020389
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-06 03:18:57 +0000
+
+    Removing auto_load option from tests. It is implied when schema_class
+    is not provided. 
+
+  Change: 519e37016a5b2d31b782eb2765a8446826b554f1
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-06 02:54:15 +0000
+
+    Making example in README nicer. 
+
+  Change: 70557240fe8720619fe3998ea8c4a6e9f0b80943
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-06 02:51:10 +0000
+
+    Updating DESCRIPTION pod. 
+
+  Change: 2d7751a82779b93636ba6a9213e064e47b0cac3a
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-06 02:27:30 +0000
+
+    Making example in SYNOPSIS pod nicer. 
+
+  Change: b00f081d7d775fa225fba6ed2e819d63f7fc9409
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-06 02:18:55 +0000
+
+    Cleaning up POD and README. 
+
+  Change: 98ca5f2512cf14a6903f26bae45dd2f1266cb4ad
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-06 02:09:53 +0000
+
+    Auto loading will now happen if a schema_class option is not
+    provided. 
+
+  Change: f1e65d3282a9a1e8b13ef2e2d2852808e6dfd2f5
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-05 23:35:35 +0000
+
+    Changed 'generate' config param to 'auto_load'. Updated tests to
+    reflect that. 
+
+  Change: c08d144537f7520dbbfac0e578666d7d39eb076b
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-05 23:11:17 +0000
+
+    pckg config param is renamed to schema_class. Cleaned up code as
+    well. 
+
+  Change: 66a73d284d3daa456477449e155bd2c8bf6698f7
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-04 18:53:02 +0000
+
+    Initial check in of some basic tests. Got tests passing. 
+
+  Change: 789ecf25ae720391aa996795b07b621b0367d6fc
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-04 16:47:34 +0000
+
+    Revert "Adding Makefile.PL. Adding version and abstract to main
+    module."
+
+    This reverts commit 240eee073c3aa29579b4b7de64da4229f93ce1b4. 
+
+  Change: 240eee073c3aa29579b4b7de64da4229f93ce1b4
+  Author: Naveed Massjouni <naveedm9@gmail.com>
+  Date : 2010-10-04 15:57:22 +0000
+
+    Adding Makefile.PL. Adding version and abstract to main module. 
+
+  Change: 853c2e1069f534f710b4a82b7da3bf9f8f9c7ed1
+  Author: Al Newkirk <root@alnewkirk.com>
+  Date : 2010-10-03 13:22:23 +0000
+
+    new version 
+
+  Change: 6cda2da35e7666c6c92290650bdc1d10a61fb4ea
+  Author: Al Newkirk <root@alnewkirk.com>
+  Date : 2010-10-03 13:19:46 +0000
+
+    added better connection definition thanks to franckcuny 
+
+  Change: 4355d3b1422e06a56f884ecd385538a630e9cff1
+  Author: unknown <Administrator@.(none)>
+  Date : 2010-10-02 15:28:58 +0000
+
+    new version, reverse auto-gen policy 
+
+  Change: 3a71fc305917aec09f04a806b6d05b90a4adaf99
+  Author: unknown <Administrator@.(none)>
+  Date : 2010-09-11 00:07:51 +0000
+
+    updated gitignore 
+
+  Change: 8a404f90b2dc156d70a6e630fae5c76ba21eb9c3
+  Author: unknown <Administrator@.(none)>
+  Date : 2010-09-11 00:06:56 +0000
+
+    added skip_automake for classes with existing schemas, now only calls
+    connect once 
+
+  Change: 7e7ea606462aaee44346ca82990881c34c0fdb94
+  Author: unknown <Administrator@.(none)>
+  Date : 2010-09-05 20:34:13 +0000
+
+    updated README 
+
+  Change: 373175eab1bb2aac0bcf870ac4bdee5edf3ba1c5
+  Author: unknown <Administrator@.(none)>
+  Date : 2010-09-05 19:48:49 +0000
+
+    fixed dist.ini 
+
+  Change: fb8c47e91d6a8249c88b53eb5d26d2d3083c580d
+  Author: unknown <Administrator@.(none)>
+  Date : 2010-09-05 19:43:21 +0000
+
+    initial commit 
+
+================
+End of releases.
+================
@@ -1,61 +0,0 @@
-Revision history for Dancer-Plugin-DBIC
-
-0.2100  2014-04-05
-        Added support for ::Replicated options:
-            balancer_args, pool_type, and pool_args
-
-0.2001  2014-03-12
-        Skip the replicated tests if the required deps are not installed.
-        Removed the deprecated pckg option.
-        Added a deprecation warning for the pass option.
-        Updated the documentation.
-
-0.2000  2014-03-11
-        Added support for database slaves via
-            DBIx::Class::Storage::DBI::Replicated.
-        Thanks to Al Newkirk for the idea and the initial implementation.
-
-0.1901  2014-02-04
-        Added SQL::Translator prereq for tests to pass.
-
-0.1900  2014-02-04
-        Added support for schema aliases.
-        Added schema_loader_naming option.
-        Can now provide password instead of pass, to be more DBIC friendly.
-        Simplified tests.
-
-0.1803  2013-10-06
-        Show the root cause when unable to load a schema.
-
-0.1802  2013-01-22
-        Updated version requirement for Dancer. A newer Dancer is required to
-            use the plugin_args() function.
-
-0.1801  2013-01-21
-        Fixed tests to pass on Dancer 2.
-        Thanks Yanick Champoux (https://github.com/yanick)!
-
-0.1800  2013-01-18
-        Added the resultset and rset keywords.
-
-0.1700  2013-01-01
-        Added support for Dancer 2.
-        Thanks Steven Humphrey (https://github.com/shumphrey)!
-
-0.1601  2012-10-01
-        Added logic to skip some tests when DBIx::Class::Schema::Loader is not
-            installed.
-
-0.1600  2012-09-29
-        DBIx::Class::Schema::Loader is now an optional dependency.
-        Thanks Fabrice Gabolde (https://github.com/fgabolde)!
-        Started using Module::Load for dynamically loading modules.
-
-0.1506  2012-04-12
-        When multiple databases are configured, calling schema with no args
-            returns the schema for the databased named 'default'.
-        Thanks Dagfinn Ilmari Mannsåker (https://github.com/ilmari)!
-
-0.1505  2012-02-07
-        Updating POD to warn about dynamic loading of schema classes.
-        Thanks David Precious (https://github.com/bigpresh)!
@@ -1,5 +1,5 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.013.
-Changes
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.031.
+CHANGES
 LICENSE
 MANIFEST
 META.yml
@@ -8,7 +8,6 @@ build_requires:
   DBI: 0
   DBIx::Class::Core: 0
   DBIx::Class::Schema: 0
-  DBIx::Class::Schema::Loader: 0
   Dancer: 1.3098
   Dancer::Test: 0
   File::Spec: 0
@@ -18,13 +17,14 @@ build_requires:
   Module::Load::Conditional: 0
   Test::Exception: 0
   Test::More: 0
+  Test::Requires: 0
   base: 0
   lib: 0
   perl: 5.006
 configure_requires:
-  ExtUtils::MakeMaker: 6.30
+  ExtUtils::MakeMaker: 0
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.013, CPAN::Meta::Converter version 2.131560'
+generated_by: 'Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.142690'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -37,11 +37,11 @@ requires:
   Dancer: 1.3098
   Dancer::Plugin: 0
   Module::Load: 0
-  SQL::Translator: 0.11016
+  SQL::Translator: 0.11018
   strict: 0
   utf8: 0
   warnings: 0
 resources:
   bugtracker: https://github.com/ironcamel/Dancer-Plugin-DBIC/issues
   repository: git://github.com/ironcamel/Dancer-Plugin-DBIC.git
-version: 0.2100
+version: 0.2101
@@ -1,31 +1,31 @@
 
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.013.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.031.
 use strict;
 use warnings;
 
+use 5.006;
 
-
-use ExtUtils::MakeMaker 6.30;
+use ExtUtils::MakeMaker;
 
 
 
 my %WriteMakefileArgs = (
   "ABSTRACT" => "DBIx::Class interface for Dancer applications",
   "AUTHOR" => "Al Newkirk <awncorp\@cpan.org>, Naveed Massjouni <naveed\@vt.edu>",
-  "BUILD_REQUIRES" => {},
   "CONFIGURE_REQUIRES" => {
-    "ExtUtils::MakeMaker" => "6.30"
+    "ExtUtils::MakeMaker" => 0
   },
   "DISTNAME" => "Dancer-Plugin-DBIC",
   "EXE_FILES" => [],
   "LICENSE" => "perl",
+  "MIN_PERL_VERSION" => "5.006",
   "NAME" => "Dancer::Plugin::DBIC",
   "PREREQ_PM" => {
     "DBIx::Class" => 0,
     "Dancer" => "1.3098",
     "Dancer::Plugin" => 0,
     "Module::Load" => 0,
-    "SQL::Translator" => "0.11016",
+    "SQL::Translator" => "0.11018",
     "strict" => 0,
     "utf8" => 0,
     "warnings" => 0
@@ -35,7 +35,6 @@ my %WriteMakefileArgs = (
     "DBI" => 0,
     "DBIx::Class::Core" => 0,
     "DBIx::Class::Schema" => 0,
-    "DBIx::Class::Schema::Loader" => 0,
     "Dancer" => "1.3098",
     "Dancer::Test" => 0,
     "File::Spec" => 0,
@@ -45,10 +44,11 @@ my %WriteMakefileArgs = (
     "Module::Load::Conditional" => 0,
     "Test::Exception" => 0,
     "Test::More" => 0,
+    "Test::Requires" => 0,
     "base" => 0,
     "lib" => 0
   },
-  "VERSION" => "0.2100",
+  "VERSION" => "0.2101",
   "test" => {
     "TESTS" => "t/*.t"
   }
@@ -61,19 +61,20 @@ my %FallbackPrereqs = (
   "DBIx::Class" => 0,
   "DBIx::Class::Core" => 0,
   "DBIx::Class::Schema" => 0,
-  "DBIx::Class::Schema::Loader" => 0,
   "Dancer" => "1.3098",
   "Dancer::Plugin" => 0,
   "Dancer::Test" => 0,
+  "ExtUtils::MakeMaker" => 0,
   "File::Spec" => 0,
   "File::Temp" => 0,
   "IO::Handle" => 0,
   "IPC::Open3" => 0,
   "Module::Load" => 0,
   "Module::Load::Conditional" => 0,
-  "SQL::Translator" => "0.11016",
+  "SQL::Translator" => "0.11018",
   "Test::Exception" => 0,
   "Test::More" => 0,
+  "Test::Requires" => 0,
   "base" => 0,
   "lib" => 0,
   "strict" => 0,
@@ -2,7 +2,7 @@ NAME
     Dancer::Plugin::DBIC - DBIx::Class interface for Dancer applications
 
 VERSION
-    version 0.2100
+    version 0.2101
 
 SYNOPSIS
         use Dancer;
@@ -4,7 +4,7 @@ author           = Naveed Massjouni <naveed@vt.edu>
 license          = Perl_5
 copyright_holder = awncorp
 copyright_year   = 2010
-version          = 0.2100
+version          = 0.2101
 
 [@Filter]
 -bundle = @Basic
@@ -13,19 +13,16 @@ version          = 0.2100
 
 [AutoPrereqs]
 
+[ChangelogFromGit]
+max_age = 3650
+
 [CopyFilesFromBuild]
 copy = Makefile.PL
+copy = CHANGES
 
 [GatherDir]
 exclude_filename = Makefile.PL
-
-[Prereqs]
-Dancer          = 1.3098
-DBIx::Class     = 0
-SQL::Translator = 0.11016
-
-[Prereqs / RuntimeRecommends]
-DBIx::Class::Schema::Loader = 0.07002
+exclude_filename = CHANGES
 
 [MetaResources]
 bugtracker.web = https://github.com/ironcamel/Dancer-Plugin-DBIC/issues
@@ -34,6 +31,15 @@ repository.url = git://github.com/ironcamel/Dancer-Plugin-DBIC.git
 repository.web = https://github.com/ironcamel/Dancer-Plugin-DBIC
 
 [OurPkgVersion]
+
+[Prereqs]
+Dancer          = 1.3098
+DBIx::Class     = 0
+SQL::Translator = 0.11018
+
+[Prereqs / RuntimeRecommends]
+DBIx::Class::Schema::Loader = 0.07002
+
 [PodWeaver]
 
 [ReadmeAnyFromPod / ReadmePodInRoot]
@@ -42,4 +48,5 @@ filename = README.md
 location = root
 
 [ReadmeFromPod]
+
 [Test::Compile]
@@ -1,6 +1,6 @@
 package Dancer::Plugin::DBIC;
 
-our $VERSION = '0.2100'; # VERSION
+our $VERSION = '0.2101'; # VERSION
 
 use strict;
 use warnings;
@@ -100,7 +100,7 @@ Dancer::Plugin::DBIC - DBIx::Class interface for Dancer applications
 
 =head1 VERSION
 
-version 0.2100
+version 0.2101
 
 =head1 SYNOPSIS
 
@@ -2,11 +2,11 @@ use 5.006;
 use strict;
 use warnings;
 
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.039
-
-use Test::More  tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.051
 
+use Test::More;
 
+plan tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
 
 my @module_files = (
     'Dancer/Plugin/DBIC.pm'
@@ -45,6 +45,7 @@ for my $lib (@module_files)
 
 
 
-is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
+is(scalar(@warnings), 0, 'no warnings found')
+    or diag 'got warnings: ', ( Test::More->can('explain') ? Test::More::explain(\@warnings) : join("\n", '', @warnings) ) if $ENV{AUTHOR_TESTING};
 
 
@@ -9,19 +9,23 @@ use Test::Exception;
 eval { require DBD::SQLite };
 plan skip_all => 'DBD::SQLite required to run these tests' if $@;
 
-my (undef, $dbfile1) = tempfile(SUFFIX => '.db');
-my (undef, $dbfile2) = tempfile(SUFFIX => '.db');
+# tempfile() returns a file handler + a filename. 
+# We're only interested in storing the filename.
+my $dbfiles = [
+    (tempfile(SUFFIX => '.db'))[1],
+    (tempfile(SUFFIX => '.db'))[1]
+];
 
 subtest 'two schemas' => sub {
     set plugins => {
         DBIC => {
             foo => {
                 schema_class => 'Foo',
-                dsn =>  "dbi:SQLite:dbname=$dbfile1",
+                dsn =>  "dbi:SQLite:dbname=$dbfiles->[0]",
             },
             bar => {
                 schema_class => 'Foo',
-                dsn =>  "dbi:SQLite:dbname=$dbfile2",
+                dsn =>  "dbi:SQLite:dbname=$dbfiles->[1]",
             },
         }
     };
@@ -52,11 +56,11 @@ subtest 'two schemas with a default schema' => sub {
         DBIC => {
             default => {
                 schema_class => 'Foo',
-                dsn =>  "dbi:SQLite:dbname=$dbfile1",
+                dsn =>  "dbi:SQLite:dbname=$dbfiles->[0]",
             },
             bar => {
                 schema_class => 'Foo',
-                dsn =>  "dbi:SQLite:dbname=$dbfile2",
+                dsn =>  "dbi:SQLite:dbname=$dbfiles->[1]",
             },
         }
     };
@@ -65,4 +69,4 @@ subtest 'two schemas with a default schema' => sub {
     is $bob->age => 30;
 };
 
-unlink $dbfile1, $dbfile2;
+unlink @$dbfiles;
@@ -3,20 +3,15 @@
 
 use strict;
 use warnings;
-use Test::More;
+use Test::More tests => 3;
 
 use Dancer qw(:syntax !pass);
 use Dancer::Plugin::DBIC;
 use DBI;
 use File::Temp qw(tempfile);
-
-eval { require DBD::SQLite; require DBIx::Class::Schema::Loader };
-if ($@) {
-    plan skip_all =>
-        'DBD::SQLite and DBIx::Class::Schema::Loader required for these tests';
-} else {
-    plan tests => 3;
-}
+use Test::Requires qw(
+    DBD::SQLite DBIx::Class::Schema::Loader
+);
 
 my (undef, $dbfile) = tempfile SUFFIX => '.db';
 
@@ -37,6 +32,7 @@ my @users = ( ['bob', 40] );
 for my $user (@users) { $dbh->do('insert into user values(?,?)', {}, @$user) }
 
 my $user = schema('foo')->resultset('User')->find('bob');
+
 ok $user, 'Found bob.';
 is $user->age => '40', 'bob is even older';
 
@@ -1,10 +1,11 @@
 use Test::More;
 
 use lib 't/lib';
-use Dancer qw(:syntax :tests);
+
+use Dancer::Test apps => [ 't::lib::TestApp' ];
 use Dancer::Plugin::DBIC qw(rset schema);
+use Dancer qw(:syntax :tests);
 use t::lib::TestApp;
-use Dancer::Test apps => [ 't::lib::TestApp' ];
 
 eval { require DBD::SQLite };
 plan skip_all => 'DBD::SQLite required to run these tests' if $@;
@@ -1,8 +1,9 @@
 use Test::More tests => 4;
 
 use lib 't/lib';
-use Dancer qw(:syntax :tests);
+
 use Dancer::Plugin::DBIC qw(rset schema);
+use Dancer qw(:syntax :tests);
 use Test::Exception;
 
 eval { require DBD::SQLite };
@@ -1,11 +1,12 @@
 use Test::More;
 
 use lib 't/lib';
-use Dancer qw(:syntax set);
+
+use Module::Load::Conditional qw(can_load);
 use Dancer::Plugin::DBIC qw(schema rset);
-use DBI;
 use File::Temp qw(tempfile);
-use Module::Load::Conditional qw(can_load);
+use Dancer qw(:syntax set);
+use DBI;
 
 my $reqs = {
     'DBD::SQLite'                  => 0,
@@ -20,26 +21,33 @@ if ( can_load modules => $reqs ) {
     plan skip_all => "required modules to run these tests are not available";
 }
 
-my (undef, $dbfile1) = tempfile(SUFFIX => '.db');
-my (undef, $dbfile2) = tempfile(SUFFIX => '.db');
-my (undef, $dbfile3) = tempfile(SUFFIX => '.db');
-my $dbh2 = DBI->connect("dbi:SQLite:dbname=$dbfile2");
-my $dbh3 = DBI->connect("dbi:SQLite:dbname=$dbfile3");
-ok $dbh2->do('create table user (name varchar(100) primary key, age int)');
-ok $dbh3->do('create table user (name varchar(100) primary key, age int)');
-$dbh2->do('insert into user values(?,?)', {}, 'bob', 20);
-$dbh3->do('insert into user values(?,?)', {}, 'bob', 30);
+my $dbfiles = [
+    (tempfile(SUFFIX => '.db'))[1],
+    (tempfile(SUFFIX => '.db'))[1],
+    (tempfile(SUFFIX => '.db'))[1]
+];
+
+my $dbhandlers = [
+    DBI->connect("dbi:SQLite:dbname=$dbfiles->[1]"),
+    DBI->connect("dbi:SQLite:dbname=$dbfiles->[2]")
+];
+
+ok $dbhandlers->[0]->do('create table user (name varchar(100) primary key, age int)');
+ok $dbhandlers->[1]->do('create table user (name varchar(100) primary key, age int)');
+
+$dbhandlers->[0]->do('insert into user values(?,?)', {}, 'bob', 20);
+$dbhandlers->[1]->do('insert into user values(?,?)', {}, 'bob', 30);
 
 set plugins => {
     DBIC => {
         default => {
-            dsn          => "dbi:SQLite:dbname=$dbfile1",
+            dsn          => "dbi:SQLite:dbname=$dbfiles->[0]",
             schema_class => 'Foo',
             replicated => {
                 balancer_type => '::Random',
                 replicants => [
-                    [ "dbi:SQLite:dbname=$dbfile2" ],
-                    [ "dbi:SQLite:dbname=$dbfile3" ],
+                    [ "dbi:SQLite:dbname=$dbfiles->[1]" ],
+                    [ "dbi:SQLite:dbname=$dbfiles->[2]" ],
                 ],
             },
         },
@@ -68,4 +76,4 @@ is keys %set => 2, 'random balancer accessed both replicants'
     or diag explain \%set;
 ok $set{20} && $set{30};
 
-unlink $dbfile1, $dbfile2, $dbfile3;
+unlink @$dbfiles;