From b665b000409db5def03f1727178bea1f2ad4f5f8 Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Sat, 16 Nov 2019 22:59:41 -0700 Subject: [PATCH] Version 0.46 --- Changes | 3 +++ META.json | 30 +++++++++++++------------- META.yml | 30 +++++++++++++------------- Makefile.PL | 6 +++--- README | 4 ++-- bin/git-codeowners | 6 +++--- lib/App/Codeowners.pm | 10 +++++++-- lib/App/Codeowners/Formatter.pm | 4 ++-- lib/App/Codeowners/Formatter/CSV.pm | 4 ++-- lib/App/Codeowners/Formatter/JSON.pm | 4 ++-- lib/App/Codeowners/Formatter/String.pm | 4 ++-- lib/App/Codeowners/Formatter/TSV.pm | 4 ++-- lib/App/Codeowners/Formatter/Table.pm | 4 ++-- lib/App/Codeowners/Formatter/YAML.pm | 4 ++-- lib/App/Codeowners/Options.pm | 4 ++-- lib/App/Codeowners/Util.pm | 4 ++-- lib/File/Codeowners.pm | 6 +++--- lib/Test/File/Codeowners.pm | 4 ++-- t/00-report-prereqs.dd | 2 +- t/app-codeowners.t | 2 +- 20 files changed, 74 insertions(+), 65 deletions(-) diff --git a/Changes b/Changes index 202ba9d..b8d34aa 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for App-Codeowners. +0.46 2019-11-16 22:58:17-07:00 MST7MDT + * Declare dependency on Path::Tiny 0.089 (thanks CPAN testers). + 0.45 2019-11-14 22:30:14-07:00 MST7MDT * Pod::Usage is now optional for the benefit of Git for Windows. diff --git a/META.json b/META.json index b364602..cdc7fb6 100644 --- a/META.json +++ b/META.json @@ -77,7 +77,7 @@ "Getopt::Long" : "2.39", "IPC::Open2" : "0", "Module::Load" : "0", - "Path::Tiny" : "0", + "Path::Tiny" : "0.089", "Scalar::Util" : "0", "Test::Builder" : "0", "Text::Gitignore" : "0", @@ -114,55 +114,55 @@ "provides" : { "App::Codeowners" : { "file" : "lib/App/Codeowners.pm", - "version" : "0.45" + "version" : "0.46" }, "App::Codeowners::Formatter" : { "file" : "lib/App/Codeowners/Formatter.pm", - "version" : "0.45" + "version" : "0.46" }, "App::Codeowners::Formatter::CSV" : { "file" : "lib/App/Codeowners/Formatter/CSV.pm", - "version" : "0.45" + "version" : "0.46" }, "App::Codeowners::Formatter::JSON" : { "file" : "lib/App/Codeowners/Formatter/JSON.pm", - "version" : "0.45" + "version" : "0.46" }, "App::Codeowners::Formatter::String" : { "file" : "lib/App/Codeowners/Formatter/String.pm", - "version" : "0.45" + "version" : "0.46" }, "App::Codeowners::Formatter::TSV" : { "file" : "lib/App/Codeowners/Formatter/TSV.pm", - "version" : "0.45" + "version" : "0.46" }, "App::Codeowners::Formatter::Table" : { "file" : "lib/App/Codeowners/Formatter/Table.pm", - "version" : "0.45" + "version" : "0.46" }, "App::Codeowners::Formatter::YAML" : { "file" : "lib/App/Codeowners/Formatter/YAML.pm", - "version" : "0.45" + "version" : "0.46" }, "App::Codeowners::Options" : { "file" : "lib/App/Codeowners/Options.pm", - "version" : "0.45" + "version" : "0.46" }, "App::Codeowners::Util" : { "file" : "lib/App/Codeowners/Util.pm", - "version" : "0.45" + "version" : "0.46" }, "App::Codeowners::Util::Process" : { "file" : "lib/App/Codeowners/Util.pm", - "version" : "0.45" + "version" : "0.46" }, "File::Codeowners" : { "file" : "lib/File/Codeowners.pm", - "version" : "0.45" + "version" : "0.46" }, "Test::File::Codeowners" : { "file" : "lib/Test/File/Codeowners.pm", - "version" : "0.45" + "version" : "0.46" } }, "release_status" : "stable", @@ -177,7 +177,7 @@ "web" : "https://github.com/chazmcgarvey/git-codeowners" } }, - "version" : "0.45", + "version" : "0.46", "x_authority" : "cpan:CCM", "x_generated_by_perl" : "v5.28.0", "x_serialization_backend" : "Cpanel::JSON::XS version 4.15" diff --git a/META.yml b/META.yml index 25bc11c..a2b2626 100644 --- a/META.yml +++ b/META.yml @@ -31,43 +31,43 @@ no_index: provides: App::Codeowners: file: lib/App/Codeowners.pm - version: '0.45' + version: '0.46' App::Codeowners::Formatter: file: lib/App/Codeowners/Formatter.pm - version: '0.45' + version: '0.46' App::Codeowners::Formatter::CSV: file: lib/App/Codeowners/Formatter/CSV.pm - version: '0.45' + version: '0.46' App::Codeowners::Formatter::JSON: file: lib/App/Codeowners/Formatter/JSON.pm - version: '0.45' + version: '0.46' App::Codeowners::Formatter::String: file: lib/App/Codeowners/Formatter/String.pm - version: '0.45' + version: '0.46' App::Codeowners::Formatter::TSV: file: lib/App/Codeowners/Formatter/TSV.pm - version: '0.45' + version: '0.46' App::Codeowners::Formatter::Table: file: lib/App/Codeowners/Formatter/Table.pm - version: '0.45' + version: '0.46' App::Codeowners::Formatter::YAML: file: lib/App/Codeowners/Formatter/YAML.pm - version: '0.45' + version: '0.46' App::Codeowners::Options: file: lib/App/Codeowners/Options.pm - version: '0.45' + version: '0.46' App::Codeowners::Util: file: lib/App/Codeowners/Util.pm - version: '0.45' + version: '0.46' App::Codeowners::Util::Process: file: lib/App/Codeowners/Util.pm - version: '0.45' + version: '0.46' File::Codeowners: file: lib/File/Codeowners.pm - version: '0.45' + version: '0.46' Test::File::Codeowners: file: lib/Test/File/Codeowners.pm - version: '0.45' + version: '0.46' recommends: Pod::Usage: '0' Term::Detect::Software: '0' @@ -80,7 +80,7 @@ requires: Getopt::Long: '2.39' IPC::Open2: '0' Module::Load: '0' - Path::Tiny: '0' + Path::Tiny: '0.089' Scalar::Util: '0' Test::Builder: '0' Text::Gitignore: '0' @@ -93,7 +93,7 @@ resources: bugtracker: https://github.com/chazmcgarvey/git-codeowners/issues homepage: https://github.com/chazmcgarvey/git-codeowners repository: https://github.com/chazmcgarvey/git-codeowners.git -version: '0.45' +version: '0.46' x_authority: cpan:CCM x_generated_by_perl: v5.28.0 x_serialization_backend: 'YAML::Tiny version 1.73' diff --git a/Makefile.PL b/Makefile.PL index 4794279..23496be 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -27,7 +27,7 @@ my %WriteMakefileArgs = ( "Getopt::Long" => "2.39", "IPC::Open2" => 0, "Module::Load" => 0, - "Path::Tiny" => 0, + "Path::Tiny" => "0.089", "Scalar::Util" => 0, "Test::Builder" => 0, "Text::Gitignore" => 0, @@ -47,7 +47,7 @@ my %WriteMakefileArgs = ( "Test::Exit" => 0, "Test::More" => 0 }, - "VERSION" => "0.45", + "VERSION" => "0.46", "test" => { "TESTS" => "t/*.t" } @@ -69,7 +69,7 @@ my %FallbackPrereqs = ( "IPC::Open2" => 0, "IPC::Open3" => 0, "Module::Load" => 0, - "Path::Tiny" => 0, + "Path::Tiny" => "0.089", "Scalar::Util" => 0, "Test::Builder" => 0, "Test::Exit" => 0, diff --git a/README b/README index 01b5b3d..8b5ba75 100644 --- a/README +++ b/README @@ -4,7 +4,7 @@ NAME VERSION - version 0.45 + version 0.46 SYNOPSIS @@ -92,7 +92,7 @@ OPTIONS --shell-completion - eval "$(lintany --shell-completion)" + eval "$(git-codeowners --shell-completion)" Print shell code to enable completion to STDOUT, and exit. diff --git a/bin/git-codeowners b/bin/git-codeowners index fa554bd..92774eb 100755 --- a/bin/git-codeowners +++ b/bin/git-codeowners @@ -10,7 +10,7 @@ use strict; use App::Codeowners; -our $VERSION = '0.45'; # VERSION +our $VERSION = '0.46'; # VERSION App::Codeowners->main(@ARGV); @@ -26,7 +26,7 @@ git-codeowners - A tool for managing CODEOWNERS files =head1 VERSION -version 0.45 +version 0.46 =head1 SYNOPSIS @@ -120,7 +120,7 @@ Alias: C<-f> =head2 --shell-completion - eval "$(lintany --shell-completion)" + eval "$(git-codeowners --shell-completion)" Print shell code to enable completion to C, and exit. diff --git a/lib/App/Codeowners.pm b/lib/App/Codeowners.pm index 405c70b..282236b 100644 --- a/lib/App/Codeowners.pm +++ b/lib/App/Codeowners.pm @@ -14,7 +14,7 @@ use Encode qw(encode); use File::Codeowners; use Path::Tiny; -our $VERSION = '0.45'; # VERSION +our $VERSION = '0.46'; # VERSION sub main { @@ -218,7 +218,13 @@ App::Codeowners - A tool for managing CODEOWNERS files =head1 VERSION -version 0.45 +version 0.46 + +=head1 DESCRIPTION + +This is the implementation of the F command. + +See L for documentation. =head1 METHODS diff --git a/lib/App/Codeowners/Formatter.pm b/lib/App/Codeowners/Formatter.pm index 2d46f4b..4b0e640 100644 --- a/lib/App/Codeowners/Formatter.pm +++ b/lib/App/Codeowners/Formatter.pm @@ -5,7 +5,7 @@ package App::Codeowners::Formatter; use warnings; use strict; -our $VERSION = '0.45'; # VERSION +our $VERSION = '0.46'; # VERSION use Module::Load; @@ -120,7 +120,7 @@ App::Codeowners::Formatter - Base class for formatting codeowners output =head1 VERSION -version 0.45 +version 0.46 =head1 SYNOPSIS diff --git a/lib/App/Codeowners/Formatter/CSV.pm b/lib/App/Codeowners/Formatter/CSV.pm index fccb6a8..4dd7bd0 100644 --- a/lib/App/Codeowners/Formatter/CSV.pm +++ b/lib/App/Codeowners/Formatter/CSV.pm @@ -5,7 +5,7 @@ package App::Codeowners::Formatter::CSV; use warnings; use strict; -our $VERSION = '0.45'; # VERSION +our $VERSION = '0.46'; # VERSION use parent 'App::Codeowners::Formatter'; @@ -63,7 +63,7 @@ App::Codeowners::Formatter::CSV - Format codeowners output as comma-separated va =head1 VERSION -version 0.45 +version 0.46 =head1 DESCRIPTION diff --git a/lib/App/Codeowners/Formatter/JSON.pm b/lib/App/Codeowners/Formatter/JSON.pm index 4c7fd3b..94fbbb0 100644 --- a/lib/App/Codeowners/Formatter/JSON.pm +++ b/lib/App/Codeowners/Formatter/JSON.pm @@ -5,7 +5,7 @@ package App::Codeowners::Formatter::JSON; use warnings; use strict; -our $VERSION = '0.45'; # VERSION +our $VERSION = '0.46'; # VERSION use parent 'App::Codeowners::Formatter'; @@ -42,7 +42,7 @@ App::Codeowners::Formatter::JSON - Format codeowners output as JSON =head1 VERSION -version 0.45 +version 0.46 =head1 DESCRIPTION diff --git a/lib/App/Codeowners/Formatter/String.pm b/lib/App/Codeowners/Formatter/String.pm index a4c6ad1..a875499 100644 --- a/lib/App/Codeowners/Formatter/String.pm +++ b/lib/App/Codeowners/Formatter/String.pm @@ -5,7 +5,7 @@ package App::Codeowners::Formatter::String; use warnings; use strict; -our $VERSION = '0.45'; # VERSION +our $VERSION = '0.46'; # VERSION use parent 'App::Codeowners::Formatter'; @@ -136,7 +136,7 @@ App::Codeowners::Formatter::String - Format codeowners output using printf-like =head1 VERSION -version 0.45 +version 0.46 =head1 DESCRIPTION diff --git a/lib/App/Codeowners/Formatter/TSV.pm b/lib/App/Codeowners/Formatter/TSV.pm index b34b693..7a20a18 100644 --- a/lib/App/Codeowners/Formatter/TSV.pm +++ b/lib/App/Codeowners/Formatter/TSV.pm @@ -5,7 +5,7 @@ package App::Codeowners::Formatter::TSV; use warnings; use strict; -our $VERSION = '0.45'; # VERSION +our $VERSION = '0.46'; # VERSION use parent 'App::Codeowners::Formatter::CSV'; @@ -25,7 +25,7 @@ App::Codeowners::Formatter::TSV - Format codeowners output as tab-separated valu =head1 VERSION -version 0.45 +version 0.46 =head1 DESCRIPTION diff --git a/lib/App/Codeowners/Formatter/Table.pm b/lib/App/Codeowners/Formatter/Table.pm index 0c87dec..7d64a0b 100644 --- a/lib/App/Codeowners/Formatter/Table.pm +++ b/lib/App/Codeowners/Formatter/Table.pm @@ -5,7 +5,7 @@ package App::Codeowners::Formatter::Table; use warnings; use strict; -our $VERSION = '0.45'; # VERSION +our $VERSION = '0.46'; # VERSION use parent 'App::Codeowners::Formatter'; @@ -40,7 +40,7 @@ App::Codeowners::Formatter::Table - Format codeowners output as a table =head1 VERSION -version 0.45 +version 0.46 =head1 DESCRIPTION diff --git a/lib/App/Codeowners/Formatter/YAML.pm b/lib/App/Codeowners/Formatter/YAML.pm index 90a3646..b54f8e2 100644 --- a/lib/App/Codeowners/Formatter/YAML.pm +++ b/lib/App/Codeowners/Formatter/YAML.pm @@ -5,7 +5,7 @@ package App::Codeowners::Formatter::YAML; use warnings; use strict; -our $VERSION = '0.45'; # VERSION +our $VERSION = '0.46'; # VERSION use parent 'App::Codeowners::Formatter'; @@ -36,7 +36,7 @@ App::Codeowners::Formatter::YAML - Format codeowners output as YAML =head1 VERSION -version 0.45 +version 0.46 =head1 DESCRIPTION diff --git a/lib/App/Codeowners/Options.pm b/lib/App/Codeowners/Options.pm index 000f874..cf91cce 100644 --- a/lib/App/Codeowners/Options.pm +++ b/lib/App/Codeowners/Options.pm @@ -8,7 +8,7 @@ use strict; use Getopt::Long 2.39 (); use Path::Tiny; -our $VERSION = '0.45'; # VERSION +our $VERSION = '0.46'; # VERSION sub pod2usage { eval { require Pod::Usage }; @@ -299,7 +299,7 @@ App::Codeowners::Options - Getopt and shell completion for App::Codeowners =head1 VERSION -version 0.45 +version 0.46 =head1 METHODS diff --git a/lib/App/Codeowners/Util.pm b/lib/App/Codeowners/Util.pm index d4f8291..5df7664 100644 --- a/lib/App/Codeowners/Util.pm +++ b/lib/App/Codeowners/Util.pm @@ -23,7 +23,7 @@ our @EXPORT_OK = qw( zip ); -our $VERSION = '0.45'; # VERSION +our $VERSION = '0.46'; # VERSION sub find_nearest_codeowners { @@ -280,7 +280,7 @@ App::Codeowners::Util - Grab bag of utility subs for Codeowners modules =head1 VERSION -version 0.45 +version 0.46 =head1 DESCRIPTION diff --git a/lib/File/Codeowners.pm b/lib/File/Codeowners.pm index 3a03b9b..39a178b 100644 --- a/lib/File/Codeowners.pm +++ b/lib/File/Codeowners.pm @@ -6,11 +6,11 @@ use warnings; use strict; use Encode qw(encode); -use Path::Tiny; +use Path::Tiny 0.089; use Scalar::Util qw(openhandle); use Text::Gitignore qw(build_gitignore_matcher); -our $VERSION = '0.45'; # VERSION +our $VERSION = '0.46'; # VERSION sub _croak { require Carp; Carp::croak(@_); } sub _usage { _croak("Usage: @_\n") } @@ -354,7 +354,7 @@ File::Codeowners - Read and write CODEOWNERS files =head1 VERSION -version 0.45 +version 0.46 =head1 METHODS diff --git a/lib/Test/File/Codeowners.pm b/lib/Test/File/Codeowners.pm index 131421b..44c40a3 100644 --- a/lib/Test/File/Codeowners.pm +++ b/lib/Test/File/Codeowners.pm @@ -10,7 +10,7 @@ use Encode qw(encode); use File::Codeowners; use Test::Builder; -our $VERSION = '0.45'; # VERSION +our $VERSION = '0.46'; # VERSION my $Test = Test::Builder->new; @@ -88,7 +88,7 @@ Test::File::Codeowners - Write tests for CODEOWNERS files =head1 VERSION -version 0.45 +version 0.46 =head1 SYNOPSIS diff --git a/t/00-report-prereqs.dd b/t/00-report-prereqs.dd index 4ab8419..ee27381 100644 --- a/t/00-report-prereqs.dd +++ b/t/00-report-prereqs.dd @@ -53,7 +53,7 @@ do { my $x = { 'Getopt::Long' => '2.39', 'IPC::Open2' => '0', 'Module::Load' => '0', - 'Path::Tiny' => '0', + 'Path::Tiny' => '0.089', 'Scalar::Util' => '0', 'Test::Builder' => '0', 'Text::Gitignore' => '0', diff --git a/t/app-codeowners.t b/t/app-codeowners.t index af426e6..b5e430e 100644 --- a/t/app-codeowners.t +++ b/t/app-codeowners.t @@ -9,7 +9,7 @@ use App::Codeowners::Util qw(run_git); use App::Codeowners; use Capture::Tiny qw(capture); use File::pushd; -use Path::Tiny qw(path tempdir); +use Path::Tiny 0.089 qw(path tempdir); use Test::More; my $can_git = _can_git(); -- 2.45.2