Test-ConsistentVersion-v0.3.1000755001750001750 014137412371 15711 5ustar00glennglenn000000000000Test-ConsistentVersion-v0.3.1/Build.PL000444001750001750 135114137412371 17342 0ustar00glennglenn000000000000use strict; use warnings; use Module::Build; my $builder = Module::Build->new( module_name => 'Test::ConsistentVersion', license => 'perl', dist_author => 'Glenn Fowler ', dist_version_from => 'lib/Test/ConsistentVersion.pm', requires => { 'perl' => 5.006, 'Test::Builder' => 0.94, 'version' => 0, 'autodie' => 0, }, recommends => { 'Test::Pod::Content' => 0, }, meta_merge => { resources => { repository => 'https://github.com/cebjyre/Test-ConsistentVersion', }, }, add_to_cleanup => [ 'Test-ConsistentVersion-*' ], ); $builder->create_build_script(); Test-ConsistentVersion-v0.3.1/Changes000444001750001750 235114137412371 17342 0ustar00glennglenn000000000000Revision history for Test-ConsistentVersion 0.3.1 Sun Oct 31 2021 Explicitly require minimum perl version of 5.6 (we need the 3 argument version of open to be available) 0.3.0 Wed Nov 12 2014 Don't fail on version numbers that have 'v' prepended (eg this changelog entry could be 'v0.3.0') 0.2.3 Tue Oct 19 2010 Fixed test that was broken by change to regex in Perl v5.13.5 0.2.2 Fri Sep 18 2009 Fixed test that had a hardcoded assumption of where Test::Pod::Content lives 0.2.1 Thu Sep 17 2009 Fixed tests when Test::Pod::Content is not available 0.2.0 Thu Sep 17 2009 Improved tests No longer trying to plan tests if a plan has already been made 0.1.0 Tue Sep 15 2009 Now checking README for version consistency 0.0.4 Mon Sep 7 2009 Requiring minimum of 0.94 of Test-Simple for the subtest functionality 0.0.3 Sun Sep 6 2009 Updated MANIFEST to actually include the test developed for 0.0.2 0.0.2 Sun Sep 6 2009 Added a test, repository and recommended modules metadata 0.0.1 Sun Aug 30 2009 Initial release. Test-ConsistentVersion-v0.3.1/MANIFEST000444001750001750 110014137412371 17167 0ustar00glennglenn000000000000Build.PL Changes lib/Test/ConsistentVersion.pm MANIFEST META.json META.yml README t/00.load.t t/01.good.t t/02.bad.t t/03.good_w_v.t t/perlcritic.t t/pod-coverage.t t/pod.t t/Sample-Bad/Changes t/Sample-Bad/lib/Sample/Bad.pm t/Sample-Bad/lib/Sample/StillBad.pm t/Sample-Bad/MANIFEST t/Sample-Good/Changes t/Sample-Good/lib/Sample/Good.pm t/Sample-Good/lib/Sample/StillGood.pm t/Sample-Good/MANIFEST t/Sample-Good/README t/Sample-vGood/Changes t/Sample-vGood/lib/Sample/StillvGood.pm t/Sample-vGood/lib/Sample/vGood.pm t/Sample-vGood/MANIFEST t/Sample-vGood/README t/version.t Test-ConsistentVersion-v0.3.1/META.json000444001750001750 234214137412371 17470 0ustar00glennglenn000000000000{ "abstract" : "Ensures a CPAN distribution has consistent versioning.", "author" : [ "Glenn Fowler " ], "dynamic_config" : 1, "generated_by" : "Module::Build version 0.4231", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", "version" : 2 }, "name" : "Test-ConsistentVersion", "prereqs" : { "configure" : { "requires" : { "Module::Build" : "0.42" } }, "runtime" : { "recommends" : { "Test::Pod::Content" : "0" }, "requires" : { "Test::Builder" : "0.94", "autodie" : "0", "perl" : "5.006", "version" : "0" } } }, "provides" : { "Test::ConsistentVersion" : { "file" : "lib/Test/ConsistentVersion.pm", "version" : "v0.3.1" } }, "release_status" : "stable", "resources" : { "license" : [ "http://dev.perl.org/licenses/" ], "repository" : { "url" : "https://github.com/cebjyre/Test-ConsistentVersion" } }, "version" : "v0.3.1", "x_serialization_backend" : "JSON::PP version 4.06" } Test-ConsistentVersion-v0.3.1/META.yml000444001750001750 146614137412371 17326 0ustar00glennglenn000000000000--- abstract: 'Ensures a CPAN distribution has consistent versioning.' author: - 'Glenn Fowler ' build_requires: {} configure_requires: Module::Build: '0.42' dynamic_config: 1 generated_by: 'Module::Build version 0.4231, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: '1.4' name: Test-ConsistentVersion provides: Test::ConsistentVersion: file: lib/Test/ConsistentVersion.pm version: v0.3.1 recommends: Test::Pod::Content: '0' requires: Test::Builder: '0.94' autodie: '0' perl: '5.006' version: '0' resources: license: http://dev.perl.org/licenses/ repository: https://github.com/cebjyre/Test-ConsistentVersion version: v0.3.1 x_serialization_backend: 'CPAN::Meta::YAML version 0.018' Test-ConsistentVersion-v0.3.1/README000444001750001750 161314137412371 16727 0ustar00glennglenn000000000000Test-ConsistentVersion version 0.3.1 The purpose of this module is to make it easy for other distribution authors to have consistent version numbers within the modules (and changelog and readme) of the distribution. I recommend using Dist-Zilla with the PkgVersion, PodVersion (or PodWeaver) and NextRelease plugins as a more elegant and simple approach than this module (handling the numbering automatically, rather than informing you of what needs to be fixed); however I do still plan to fix bugs that may arise. INSTALLATION To install this module, run the following commands: perl Build.PL ./Build ./Build test ./Build install DEPENDENCIES Test::Builder autodie version perl 5.6+ Optional: Test::Pod::Content COPYRIGHT AND LICENCE Copyright (C) 2021, Glenn Fowler This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Test-ConsistentVersion-v0.3.1/lib000755001750001750 014137412371 16457 5ustar00glennglenn000000000000Test-ConsistentVersion-v0.3.1/lib/Test000755001750001750 014137412371 17376 5ustar00glennglenn000000000000Test-ConsistentVersion-v0.3.1/lib/Test/ConsistentVersion.pm000444001750001750 1501114137412371 23606 0ustar00glennglenn000000000000package Test::ConsistentVersion; use 5.006; use warnings; use autodie; use strict; use Carp; use Test::Builder; use version; our $VERSION = qv('0.3.1'); my $TEST = Test::Builder->new; my %ARGS; sub check_consistent_versions { %ARGS = @_; my @modules = _find_modules(); my $file_count = @modules; unless(@modules) { $TEST->diag('No files to get version from.'); } my $test_count = $file_count; unless($ARGS{no_pod}) { eval { require Test::Pod::Content; }; if ($@) { $TEST->diag('Test::Pod::Content required to test POD version consistency'); $ARGS{no_pod} = 1; } else { $test_count+=$file_count } } $test_count++ unless $ARGS{no_changelog}; $test_count++ unless $ARGS{no_readme}; $TEST->plan(tests => $test_count) unless $TEST->has_plan; ## no critic (eval) #Find the version number eval "require $modules[0]"; my $distro_version = $modules[0]->VERSION; $TEST->diag("Distribution version: $distro_version"); _check_module_versions($distro_version, @modules); _check_pod_versions(@modules) unless $ARGS{no_pod}; _check_changelog($distro_version) unless $ARGS{no_changelog}; _check_readme($distro_version) unless $ARGS{no_readme}; } sub _find_modules { my @modules; if($ARGS{files}) { @modules = @{$ARGS{modules}}; } if(-e 'MANIFEST') { open(my $fh, '<', 'MANIFEST'); @modules = map { my $str = $_; $str =~ s{^lib/(.*)\.pm}{$1}; $str =~ s(/)(::)g; chomp $str; $str; } grep { /^lib.*\.pm$/ } <$fh>; close $fh; } return @modules; } sub _check_pod_versions { my @modules = @_; unless(@modules) { $TEST->diag('No files to check POD of.'); } ## no critic (eval) foreach my $module (@modules) { eval "require $module" or $TEST->diag($@); my $module_version = $module->VERSION; Test::Pod::Content::pod_section_like( $module, 'VERSION', qr{(^|\s)v?\Q$module_version\E(\s|$)}i, "$module POD version is the same as module version") } } sub _check_module_versions { my $version = shift; my @modules = @_; ## no critic (eval) foreach my $module (@modules) { eval "require $module" or $TEST->diag($@); $TEST->is_eq($module->VERSION, $version, "$module is the same as the distribution version"); } } sub _check_changelog { my $version = shift; if(-e 'Changes') { open(my $fh, '<', 'Changes'); my $version_check = quotemeta($version); my $changelog = join "\n", <$fh>; $TEST->like($changelog, qr{\bv?$version_check\b}i, 'Changelog includes reference to the distribution version: ' . $version); close $fh; } else { $TEST->ok(0, 'Unable to find Changes file'); } } sub _check_readme { my $version = shift; if(-e 'README') { open(my $fh, '<', 'README'); my $version_check = quotemeta($version); my $readme = join "\n", <$fh>; $TEST->like($readme, qr{\bv?$version_check\b}i, 'README file includes reference to the distribution version: ' . $version); close $fh; } else { $TEST->ok(0, 'Unable to find README file'); } } 1; # Magic true value required at end of module __END__ =head1 NAME Test::ConsistentVersion - Ensures a CPAN distribution has consistent versioning. =head1 VERSION This document describes Test::ConsistentVersion version 0.3.1 =head1 SYNOPSIS [In a test file] use Test::More; if ( not $ENV{TEST_AUTHOR} ) { my $msg = 'Author test. Set $ENV{TEST_AUTHOR} to a true value to run.'; plan( skip_all => $msg ); } eval "use Test::ConsistentVersion"; plan skip_all => "Test::ConsistentVersion required for checking versions" if $@; Test::ConsistentVersion::check_consistent_versions(); =head1 DESCRIPTION The purpose of this module is to make it easy for other distribution authors to have consistent version numbers within the modules (as well as readme file and changelog) of the distribution. =head1 INTERFACE =over =item check_consistent_versions check_consistent_versions() Checks the various versions throughout the distribution to ensure they are all consistent. =back =head1 DIAGNOSTICS Nothing so far. =head1 CONFIGURATION AND ENVIRONMENT Test::ConsistentVersion requires no configuration files or environment variables. =head1 DEPENDENCIES =over =item perl 5.6 or greater =item L =item L =back B =over =item L For ensuring the module version matches that referenced in the POD. =back =head1 INCOMPATIBILITIES Perl 5.6 or greater is required. =head1 BUGS AND LIMITATIONS No bugs have been reported. Please report any bugs or feature requests to L. =head1 AUTHOR Glenn Fowler C<< >> Thanks to L. =head1 LICENCE AND COPYRIGHT Copyright (c) 2021, Glenn Fowler C<< >>. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See L. =head1 DISCLAIMER OF WARRANTY BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Test-ConsistentVersion-v0.3.1/t000755001750001750 014137412371 16154 5ustar00glennglenn000000000000Test-ConsistentVersion-v0.3.1/t/00.load.t000444001750001750 23114137412371 17607 0ustar00glennglenn000000000000use Test::More tests => 1; BEGIN { use_ok( 'Test::ConsistentVersion' ); } diag( "Testing Test::ConsistentVersion $Test::ConsistentVersion::VERSION" ); Test-ConsistentVersion-v0.3.1/t/01.good.t000444001750001750 271714137412371 17654 0ustar00glennglenn000000000000chdir 't/Sample-Good'; use lib 'lib'; use Test::Builder::Tester tests => 2; use Test::More; my $expected_tests = 2; #number of modules to check my $testing_pod = eval {require Test::Pod::Content}; $expected_tests *= 2 if $testing_pod; #double it if we are checking for pod versions $expected_tests+=2; #plus one each for the Changelog and README file my $test_count = 1; test_out(sprintf 'ok %d - Sample::Good is the same as the distribution version', $test_count++); test_out(sprintf 'ok %d - Sample::StillGood is the same as the distribution version', $test_count++); test_out(sprintf 'ok %d - Sample::Good POD version is the same as module version', $test_count++) if $testing_pod; test_out(sprintf 'ok %d - Sample::StillGood POD version is the same as module version', $test_count++) if $testing_pod; test_out(sprintf 'ok %d - Changelog includes reference to the distribution version: 1.2.31', $test_count++); test_out(sprintf 'ok %d - README file includes reference to the distribution version: 1.2.31', $test_count++); test_diag('Test::Pod::Content required to test POD version consistency') unless $testing_pod; test_diag(q{Distribution version: 1.2.31}); use Test::ConsistentVersion; my $T = Test::Builder->new; Test::ConsistentVersion::check_consistent_versions(); my $tests_run = $T->current_test; test_test('Failing version check'); is($tests_run, $expected_tests, "Expected number of tests ($expected_tests) were performed"); Test-ConsistentVersion-v0.3.1/t/02.bad.t000444001750001750 525714137412371 17455 0ustar00glennglenn000000000000chdir 't/Sample-Bad'; use lib 'lib'; use Test::Builder::Tester tests => 2; use Test::More; my $expected_tests = 2; #number of modules to check my $testing_pod = eval {require Test::Pod::Content}; $expected_tests *= 2 if $testing_pod; #double it if we are checking for pod versions $expected_tests += 2; #changelog and readme use Test::ConsistentVersion; my $RE_DEFAULT_FLAGS = qr// eq '(?-xism:)' ? 'i-xsm' : '^i'; my $test_count = 1; test_out(sprintf 'ok %d - Sample::Bad is the same as the distribution version', $test_count++); test_out(sprintf 'not ok %d - Sample::StillBad is the same as the distribution version', $test_count++); test_out(sprintf 'not ok %d - Sample::Bad POD version is the same as module version', $test_count++) if $testing_pod; test_out(sprintf 'ok %d - Sample::StillBad POD version is the same as module version', $test_count++) if $testing_pod; test_out(sprintf 'not ok %d - Changelog includes reference to the distribution version: 1.2.31', $test_count++); test_out(sprintf 'not ok %d - Unable to find README file', $test_count++); test_diag('Test::Pod::Content required to test POD version consistency') unless $testing_pod; test_diag(q{Distribution version: 1.2.31}); # Sample::StillBad has a different version number test_err(q{# Failed test 'Sample::StillBad is the same as the distribution version'}); test_err(q{# at lib/Test/ConsistentVersion.pm line 47.}); test_err(q{# got: '1.2.30'}); test_err(q{# expected: '1.2.31'}); # Sample::Bad has different POD to the module version if($testing_pod) { test_err(q{# Failed test 'Sample::Bad POD version is the same as module version'}); test_err(sprintf '/#\s+ at .+%s .+/', quotemeta 'Test/Pod/Content.pm'); test_err(q{# '1.2.30'}); test_err(sprintf q{# doesn't match '(?%s:(^|\s)v?1\.2\.31(\s|$))'}, $RE_DEFAULT_FLAGS); } # Changelog doesn't have the current version test_err(q{# Failed test 'Changelog includes reference to the distribution version: 1.2.31'}); test_err(q{# at lib/Test/ConsistentVersion.pm line 49.}); test_err(q{# 'Changelog}); test_err(q{# }); test_err(q{# }); test_err(q{# }); test_err(q{# 1.2.30}); test_err(q{# }); test_err(q{# First version.}); test_err(q{# '}); test_err(sprintf q{# doesn't match '(?%s:\bv?1\.2\.31\b)'}, $RE_DEFAULT_FLAGS); # No readme file: test_err(q{# Failed test 'Unable to find README file'}); test_err(q{# at lib/Test/ConsistentVersion.pm line 50.}); Test::ConsistentVersion::check_consistent_versions(); my $T = Test::Builder->new; my $tests_run = $T->current_test; test_test('Failing version check'); is($tests_run, $expected_tests, 'Expected number of tests were run') Test-ConsistentVersion-v0.3.1/t/03.good_w_v.t000444001750001750 272414137412371 20527 0ustar00glennglenn000000000000chdir 't/Sample-vGood'; use lib 'lib'; use Test::Builder::Tester tests => 2; use Test::More; my $expected_tests = 2; #number of modules to check my $testing_pod = eval {require Test::Pod::Content}; $expected_tests *= 2 if $testing_pod; #double it if we are checking for pod versions $expected_tests+=2; #plus one each for the Changelog and README file my $test_count = 1; test_out(sprintf 'ok %d - Sample::vGood is the same as the distribution version', $test_count++); test_out(sprintf 'ok %d - Sample::StillvGood is the same as the distribution version', $test_count++); test_out(sprintf 'ok %d - Sample::vGood POD version is the same as module version', $test_count++) if $testing_pod; test_out(sprintf 'ok %d - Sample::StillvGood POD version is the same as module version', $test_count++) if $testing_pod; test_out(sprintf 'ok %d - Changelog includes reference to the distribution version: 1.2.31', $test_count++); test_out(sprintf 'ok %d - README file includes reference to the distribution version: 1.2.31', $test_count++); test_diag('Test::Pod::Content required to test POD version consistency') unless $testing_pod; test_diag(q{Distribution version: 1.2.31}); use Test::ConsistentVersion; my $T = Test::Builder->new; Test::ConsistentVersion::check_consistent_versions(); my $tests_run = $T->current_test; test_test('Failing version check'); is($tests_run, $expected_tests, "Expected number of tests ($expected_tests) were performed"); Test-ConsistentVersion-v0.3.1/t/perlcritic.t000444001750001750 66014137412371 20620 0ustar00glennglenn000000000000#!perl use strict; use warnings; use File::Spec; use Test::More; use English qw(-no_match_vars); if ( not $ENV{TEST_AUTHOR} ) { my $msg = 'Author test. Set $ENV{TEST_AUTHOR} to a true value to run.'; plan( skip_all => $msg ); } eval { require Test::Perl::Critic; }; if ( $EVAL_ERROR ) { my $msg = 'Test::Perl::Critic required to criticise code'; plan( skip_all => $msg ); } Test::Perl::Critic::all_critic_ok(); Test-ConsistentVersion-v0.3.1/t/pod-coverage.t000444001750001750 47114137412371 21033 0ustar00glennglenn000000000000#!perl -T use Test::More; if ( not $ENV{TEST_AUTHOR} ) { my $msg = 'Author test. Set $ENV{TEST_AUTHOR} to a true value to run.'; plan( skip_all => $msg ); } eval "use Test::Pod::Coverage 1.04"; plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@; all_pod_coverage_ok(); Test-ConsistentVersion-v0.3.1/t/pod.t000444001750001750 43114137412371 17236 0ustar00glennglenn000000000000#!perl -T use Test::More; if ( not $ENV{TEST_AUTHOR} ) { my $msg = 'Author test. Set $ENV{TEST_AUTHOR} to a true value to run.'; plan( skip_all => $msg ); } eval "use Test::Pod 1.14"; plan skip_all => "Test::Pod 1.14 required for testing POD" if $@; all_pod_files_ok(); Test-ConsistentVersion-v0.3.1/t/version.t000444001750001750 51014137412371 20137 0ustar00glennglenn000000000000use Test::More; if ( not $ENV{TEST_AUTHOR} ) { my $msg = 'Author test. Set $ENV{TEST_AUTHOR} to a true value to run.'; plan( skip_all => $msg ); } eval "use Test::ConsistentVersion"; plan skip_all => "Test::ConsistentVersion required for checking versions" if $@; Test::ConsistentVersion::check_consistent_versions(); Test-ConsistentVersion-v0.3.1/t/Sample-Bad000755001750001750 014137412371 20061 5ustar00glennglenn000000000000Test-ConsistentVersion-v0.3.1/t/Sample-Bad/Changes000444001750001750 4514137412371 21450 0ustar00glennglenn000000000000Changelog 1.2.30 First version. Test-ConsistentVersion-v0.3.1/t/Sample-Bad/MANIFEST000444001750001750 7214137412371 21306 0ustar00glennglenn000000000000lib/Sample/Bad.pm lib/Sample/StillBad.pm Changes MANIFEST Test-ConsistentVersion-v0.3.1/t/Sample-Bad/lib000755001750001750 014137412371 20627 5ustar00glennglenn000000000000Test-ConsistentVersion-v0.3.1/t/Sample-Bad/lib/Sample000755001750001750 014137412371 22050 5ustar00glennglenn000000000000Test-ConsistentVersion-v0.3.1/t/Sample-Bad/lib/Sample/Bad.pm000444001750001750 32714137412371 23213 0ustar00glennglenn000000000000package Sample::Bad; use warnings; use strict; use version; our $VERSION = qv('1.2.31'); 1; __END__ =head1 NAME Sample::Bad - Sample module for testing Test::ConsistentVersion. =head1 VERSION 1.2.30 =cut Test-ConsistentVersion-v0.3.1/t/Sample-Bad/lib/Sample/StillBad.pm000444001750001750 34114137412371 24217 0ustar00glennglenn000000000000package Sample::StillBad; use warnings; use strict; use version; our $VERSION = qv('1.2.30'); 1; __END__ =head1 NAME Sample::StillBad - Sample module for testing Test::ConsistentVersion. =head1 VERSION 1.2.30 =cut Test-ConsistentVersion-v0.3.1/t/Sample-Good000755001750001750 014137412371 20263 5ustar00glennglenn000000000000Test-ConsistentVersion-v0.3.1/t/Sample-Good/Changes000444001750001750 10314137412371 21665 0ustar00glennglenn000000000000Changelog 1.2.31 Added README file 1.2.30 First version. Test-ConsistentVersion-v0.3.1/t/Sample-Good/MANIFEST000444001750001750 7414137412371 21512 0ustar00glennglenn000000000000lib/Sample/Good.pm lib/Sample/StillGood.pm Changes MANIFEST Test-ConsistentVersion-v0.3.1/t/Sample-Good/README000444001750001750 12714137412371 21260 0ustar00glennglenn000000000000Sample-Good version 1.2.31 This is just a sample README file for a test distribution. Test-ConsistentVersion-v0.3.1/t/Sample-Good/lib000755001750001750 014137412371 21031 5ustar00glennglenn000000000000Test-ConsistentVersion-v0.3.1/t/Sample-Good/lib/Sample000755001750001750 014137412371 22252 5ustar00glennglenn000000000000Test-ConsistentVersion-v0.3.1/t/Sample-Good/lib/Sample/Good.pm000444001750001750 33114137412371 23612 0ustar00glennglenn000000000000package Sample::Good; use warnings; use strict; use version; our $VERSION = qv('1.2.31'); 1; __END__ =head1 NAME Sample::Good - Sample module for testing Test::ConsistentVersion. =head1 VERSION 1.2.31 =cut Test-ConsistentVersion-v0.3.1/t/Sample-Good/lib/Sample/StillGood.pm000444001750001750 34314137412371 24625 0ustar00glennglenn000000000000package Sample::StillGood; use warnings; use strict; use version; our $VERSION = qv('1.2.31'); 1; __END__ =head1 NAME Sample::StillGood - Sample module for testing Test::ConsistentVersion. =head1 VERSION 1.2.31 =cut Test-ConsistentVersion-v0.3.1/t/Sample-vGood000755001750001750 014137412371 20451 5ustar00glennglenn000000000000Test-ConsistentVersion-v0.3.1/t/Sample-vGood/Changes000444001750001750 10514137412371 22055 0ustar00glennglenn000000000000Changelog V1.2.31 Added README file V1.2.30 First version. Test-ConsistentVersion-v0.3.1/t/Sample-vGood/MANIFEST000444001750001750 7614137412371 21702 0ustar00glennglenn000000000000lib/Sample/vGood.pm lib/Sample/StillvGood.pm Changes MANIFEST Test-ConsistentVersion-v0.3.1/t/Sample-vGood/README000444001750001750 13114137412371 21441 0ustar00glennglenn000000000000Sample-vGood version v1.2.31 This is just a sample README file for a test distribution. Test-ConsistentVersion-v0.3.1/t/Sample-vGood/lib000755001750001750 014137412371 21217 5ustar00glennglenn000000000000Test-ConsistentVersion-v0.3.1/t/Sample-vGood/lib/Sample000755001750001750 014137412371 22440 5ustar00glennglenn000000000000Test-ConsistentVersion-v0.3.1/t/Sample-vGood/lib/Sample/StillvGood.pm000444001750001750 34514137412371 25203 0ustar00glennglenn000000000000package Sample::StillvGood; use warnings; use strict; use version; our $VERSION = qv('1.2.31'); 1; __END__ =head1 NAME Sample::StillvGood - Sample module for testing Test::ConsistentVersion. =head1 VERSION 1.2.31 =cut Test-ConsistentVersion-v0.3.1/t/Sample-vGood/lib/Sample/vGood.pm000444001750001750 33414137412371 24171 0ustar00glennglenn000000000000package Sample::vGood; use warnings; use strict; use version; our $VERSION = qv('1.2.31'); 1; __END__ =head1 NAME Sample::vGood - Sample module for testing Test::ConsistentVersion. =head1 VERSION v1.2.31 =cut