[libdist-zilla-plugin-test-eol-perl] 01/11: keep $VERSION right in the repo
Intrigeri
intrigeri at moszumanska.debian.org
Sun Aug 16 09:20:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to annotated tag 0.18
in repository libdist-zilla-plugin-test-eol-perl.
commit 33e4d8b9f283c8df27f33e8b73e669a05ab5e007
Author: Karen Etheridge <ether at cpan.org>
Date: Thu Apr 16 14:33:32 2015 +0200
keep $VERSION right in the repo
---
dist.ini | 2 +-
lib/Dist/Zilla/Plugin/EOLTests.pm | 2 ++
lib/Dist/Zilla/Plugin/Test/EOL.pm | 4 +++-
t/01-basic.t | 2 +-
t/03-finder.t | 6 ------
t/04-filename.t | 8 +-------
6 files changed, 8 insertions(+), 16 deletions(-)
diff --git a/dist.ini b/dist.ini
index f0a2a9e..a8bdbbd 100644
--- a/dist.ini
+++ b/dist.ini
@@ -11,7 +11,7 @@ copyright_year = 2010
[Bootstrap::lib]
[@Author::ETHER]
-:version = 0.076
+:version = 0.086
changes_version_columns = 8
Authority.authority = cpan:FLORA
Git::Tag.tag_format = %v
diff --git a/lib/Dist/Zilla/Plugin/EOLTests.pm b/lib/Dist/Zilla/Plugin/EOLTests.pm
index b557533..265e183 100644
--- a/lib/Dist/Zilla/Plugin/EOLTests.pm
+++ b/lib/Dist/Zilla/Plugin/EOLTests.pm
@@ -3,6 +3,8 @@ use warnings;
package Dist::Zilla::Plugin::EOLTests;
# ABSTRACT: (DEPRECATED) Release tests making sure correct line endings are used
+our $VERSION = '0.18';
+
use Moose;
extends 'Dist::Zilla::Plugin::Test::EOL';
use namespace::autoclean;
diff --git a/lib/Dist/Zilla/Plugin/Test/EOL.pm b/lib/Dist/Zilla/Plugin/Test/EOL.pm
index c6649f7..cff0b09 100644
--- a/lib/Dist/Zilla/Plugin/Test/EOL.pm
+++ b/lib/Dist/Zilla/Plugin/Test/EOL.pm
@@ -4,6 +4,8 @@ package Dist::Zilla::Plugin::Test::EOL;
# ABSTRACT: Author tests making sure correct line endings are used
# KEYWORDS: plugin test testing author development whitespace newline linefeed formatting
+our $VERSION = '0.18';
+
use Moose;
use Path::Tiny;
use Sub::Exporter::ForMethods 'method_installer';
@@ -189,7 +191,7 @@ ___[ __TEST__ ]___
use strict;
use warnings;
-# this test was generated with {{ ref($plugin) . ' ' . ($plugin->VERSION || '<self>') }}
+# this test was generated with {{ ref($plugin) . ' ' . $plugin->VERSION }}
use Test::More 0.88;
use Test::EOL;
diff --git a/t/01-basic.t b/t/01-basic.t
index 5d6b615..853ae08 100644
--- a/t/01-basic.t
+++ b/t/01-basic.t
@@ -88,7 +88,7 @@ cmp_deeply(
},
},
name => 'Test::EOL',
- version => ignore,
+ version => Dist::Zilla::Plugin::Test::EOL->VERSION,
},
),
}),
diff --git a/t/03-finder.t b/t/03-finder.t
index 83b68c4..d8c6f0b 100644
--- a/t/03-finder.t
+++ b/t/03-finder.t
@@ -7,12 +7,6 @@ use Test::DZil;
use Path::Tiny;
use File::pushd 'pushd';
-BEGIN {
- use Dist::Zilla::Plugin::Test::EOL;
- $Dist::Zilla::Plugin::Test::EOL::VERSION = 9999
- unless $Dist::Zilla::Plugin::Test::EOL::VERSION;
-}
-
my $tzil = Builder->from_config(
{ dist_root => 't/does-not-exist' },
{
diff --git a/t/04-filename.t b/t/04-filename.t
index a91416c..bd5ccd4 100644
--- a/t/04-filename.t
+++ b/t/04-filename.t
@@ -7,12 +7,6 @@ use Test::DZil;
use Path::Tiny;
use Test::Deep;
-BEGIN {
- use Dist::Zilla::Plugin::Test::EOL;
- $Dist::Zilla::Plugin::Test::EOL::VERSION = 9999
- unless $Dist::Zilla::Plugin::Test::EOL::VERSION;
-}
-
my $tzil = Builder->from_config(
{ dist_root => 't/does-not-exist' },
{
@@ -61,7 +55,7 @@ cmp_deeply(
},
},
name => 'Test::EOL',
- version => ignore,
+ version => Dist::Zilla::Plugin::Test::EOL->VERSION,
},
),
}),
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-eol-perl.git
More information about the Pkg-perl-cvs-commits
mailing list