diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 8aeb8c1..32c190c 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -81,7 +81,7 @@ jobs: perl-version: ${{ matrix.perl }} - run: perl -V - run: cpanm --quiet --notest Dist::Zilla - - run: dzil authordeps | cpanm --quiet + - run: dzil authordeps | cpanm --quiet -notest - run: dzil build - uses: actions/upload-artifact@v2 with: diff --git a/Changes b/Changes index 02817c6..09b5406 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ Revision history for Perl extension AnyEvent::RabbitMQ + - Assign a version number to all modules in package. + 1.21 Sat 30 May 23:40:54 BST 2020 - No changes. diff --git a/dist.ini b/dist.ini index 5e6d7dc..e9b4109 100644 --- a/dist.ini +++ b/dist.ini @@ -2,6 +2,7 @@ name = AnyEvent-RabbitMQ author = Masahito Ikuta license = Perl_5 copyright_holder = AnyEvent-RabbitMQ's developers +version = 1.21_02 [@Filter] -bundle = @Basic @@ -19,9 +20,12 @@ x_contributors = Julio Polo [InstallGuide] [CPANFile] -[VersionFromModule] [MetaJSON] +[OurPkgVersion] +underscore_eval_version = 1 +no_critic = 1 + [MetaResources] repository.url = git://github.com/bobtfish/AnyEvent-RabbitMQ.git repository.web = https://github.com/bobtfish/AnyEvent-RabbitMQ diff --git a/lib/AnyEvent/RabbitMQ.pm b/lib/AnyEvent/RabbitMQ.pm index af88d0c..06fe61a 100644 --- a/lib/AnyEvent/RabbitMQ.pm +++ b/lib/AnyEvent/RabbitMQ.pm @@ -32,7 +32,7 @@ use AnyEvent::RabbitMQ::LocalQueue; use namespace::clean; -our $VERSION = '1.21'; +# VERSION use constant { _ST_CLOSED => 0, diff --git a/lib/AnyEvent/RabbitMQ/Channel.pm b/lib/AnyEvent/RabbitMQ/Channel.pm index 4edd382..ab19ef1 100644 --- a/lib/AnyEvent/RabbitMQ/Channel.pm +++ b/lib/AnyEvent/RabbitMQ/Channel.pm @@ -11,6 +11,8 @@ use Carp qw(croak cluck); use POSIX qw(ceil); BEGIN { *Dumper = \&AnyEvent::RabbitMQ::Dumper } +# VERSION + use namespace::clean; use constant { diff --git a/lib/AnyEvent/RabbitMQ/LocalQueue.pm b/lib/AnyEvent/RabbitMQ/LocalQueue.pm index de5423f..6e222a8 100644 --- a/lib/AnyEvent/RabbitMQ/LocalQueue.pm +++ b/lib/AnyEvent/RabbitMQ/LocalQueue.pm @@ -3,6 +3,8 @@ package AnyEvent::RabbitMQ::LocalQueue; use strict; use warnings; +# VERSION + sub new { my $class = shift; return bless {