bigpresh / Dancer-Plugin-Database

Dancer::Plugin::Database - easy database support for Dancer applications
http://search.cpan.org/dist/Dancer-Plugin-Database
37 stars 36 forks source link

Dancer 2 support #28

Closed sukria closed 12 years ago

sukria commented 12 years ago

* Note: you should upgrade Dancer2 to the latest version on GitHub first. *

Main changes are the use of the $dsl object instead of calling Dancer's keywords directly in the plugin's code.

The test has been reorganized a bit as well, because the config is now scoped in Dancer 2 and settings defined in a test script are not visible in t::lib::TestApp (which is normal).

Also, this changes are only intetended to make the plugin pass under Dancer 2, it is not backward compatible with Dancer 1.

bigpresh commented 12 years ago

Dancer2 support has been added, closing this issue