From bb34322691ea2bd469ba5abe2378e9f7c8e8764b Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Wed, 15 Jul 2015 12:35:21 -0700 Subject: [PATCH 1/3] use the non-deprecated form of these plugins --- dist.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist.ini b/dist.ini index 16f8569..2081ea9 100644 --- a/dist.ini +++ b/dist.ini @@ -26,8 +26,8 @@ repository.type = git ; You have to have Dist::Zilla::Plugin:: for these to work [PodWeaver] -[NoTabsTests] -[EOLTests] +[Test::NoTabs] +[Test::EOL] [Signature] [CheckChangeLog] From a3f70068f72fc7aa27d723069a2c8245170416c9 Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Wed, 15 Jul 2015 12:35:40 -0700 Subject: [PATCH 2/3] automatically determine the next version from the git tags --- dist.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dist.ini b/dist.ini index 2081ea9..615228c 100644 --- a/dist.ini +++ b/dist.ini @@ -6,11 +6,12 @@ license = Perl_5 copyright_holder = Gerda Shank copyright_year = 2013 -version = 0.29 - [@Git] tag_format = %v +[Git::NextVersion] +version_regexp = ^([\d._]+)$ + [@Basic] [InstallGuide] [MetaJSON] From df3894bcbbf28b80c4790c6763fde09d4eb70190 Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Wed, 15 Jul 2015 12:35:53 -0700 Subject: [PATCH 3/3] add the correct $VERSION to every module --- dist.ini | 2 ++ lib/HTML/FormHandler/Generator/DBIC.pm | 1 - lib/HTML/FormHandler/Model/DBIC.pm | 2 -- lib/HTML/FormHandler/TraitFor/Model/DBIC.pm | 2 -- t/lib/BookDB.pm | 2 -- 5 files changed, 2 insertions(+), 7 deletions(-) diff --git a/dist.ini b/dist.ini index 615228c..ab05cc7 100644 --- a/dist.ini +++ b/dist.ini @@ -16,6 +16,8 @@ version_regexp = ^([\d._]+)$ [InstallGuide] [MetaJSON] +[PkgVersion] + [MetaResources] bugtracker.web = https://rt.cpan.org/Public/Dist/Display.html?Name=HTML-FormHandler-Model-DBIC bugtracker.mailto = bug-HTML-FormHandler-Model-DBIC@rt.cpan.org diff --git a/lib/HTML/FormHandler/Generator/DBIC.pm b/lib/HTML/FormHandler/Generator/DBIC.pm index ff12712..f9e7e04 100644 --- a/lib/HTML/FormHandler/Generator/DBIC.pm +++ b/lib/HTML/FormHandler/Generator/DBIC.pm @@ -4,7 +4,6 @@ package HTML::FormHandler::Generator::DBIC; use Moose; use DBIx::Class; use Template; -our $VERSION = '0.04'; =head1 SYNOPSIS diff --git a/lib/HTML/FormHandler/Model/DBIC.pm b/lib/HTML/FormHandler/Model/DBIC.pm index 225e277..83b8a44 100644 --- a/lib/HTML/FormHandler/Model/DBIC.pm +++ b/lib/HTML/FormHandler/Model/DBIC.pm @@ -5,8 +5,6 @@ use Moose; extends 'HTML::FormHandler'; with 'HTML::FormHandler::TraitFor::Model::DBIC'; -our $VERSION = '0.29'; - =head1 SUMMARY Empty base class - see L for diff --git a/lib/HTML/FormHandler/TraitFor/Model/DBIC.pm b/lib/HTML/FormHandler/TraitFor/Model/DBIC.pm index 7720978..4333c8f 100644 --- a/lib/HTML/FormHandler/TraitFor/Model/DBIC.pm +++ b/lib/HTML/FormHandler/TraitFor/Model/DBIC.pm @@ -9,8 +9,6 @@ use DBIx::Class::ResultClass::HashRefInflator; use DBIx::Class::ResultSet::RecursiveUpdate; use Scalar::Util ('blessed'); -our $VERSION = '0.26'; - =head1 SYNOPSIS Subclass your form from HTML::FormHandler::Model::DBIC: diff --git a/t/lib/BookDB.pm b/t/lib/BookDB.pm index adc49b6..03f3c13 100644 --- a/t/lib/BookDB.pm +++ b/t/lib/BookDB.pm @@ -5,8 +5,6 @@ use Catalyst ('-Debug', 'Static::Simple', ); -our $VERSION = '0.02'; - BookDB->config( name => 'BookDB' ); BookDB->setup;