[libgit-wrapper-perl] 01/05: Imported Upstream version 0.031
Angel Abad
angel at moszumanska.debian.org
Wed Mar 19 23:07:01 UTC 2014
This is an automated email from the git hooks/post-receive script.
angel pushed a commit to annotated tag debian/0.031-1
in repository libgit-wrapper-perl.
commit abd31a75e1f50756a4ed128d9139a1678e13b3b1
Author: Angel Abad <angelabad at gmail.com>
Date: Wed Mar 19 23:56:06 2014 +0100
Imported Upstream version 0.031
---
Changes | 7 ++
LICENSE | 2 +-
MANIFEST | 1 +
META.json | 188 +++++++++++++++++++++-------
META.yml | 215 ++++++++++++++++++++++----------
Makefile.PL | 53 ++++----
README.mkdn | 18 +--
lib/Git/Wrapper.pm | 17 +--
lib/Git/Wrapper/Exception.pm | 9 +-
lib/Git/Wrapper/File/RawModification.pm | 9 +-
lib/Git/Wrapper/Log.pm | 9 +-
lib/Git/Wrapper/Status.pm | 9 +-
lib/Git/Wrapper/Statuses.pm | 9 +-
t/path_class.t | 4 +-
t/release-pod-coverage.t | 12 +-
t/release-pod-syntax.t | 5 +-
16 files changed, 373 insertions(+), 194 deletions(-)
diff --git a/Changes b/Changes
index 741e6ea..deda877 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,12 @@
Revision history for Git-Wrapper
+0.031 2014-03-17 08:10:42-07:00 America/Los_Angeles
+
+ Only load IPC::Cmd if needed (Graham Knop)
+ Reduce dependency on Path::Class to test.recommends, fix min version (Kent Fredric)
+ Increment minimum version in eval check to match stated dist.ini version
+ typo fix (dsteinbrunner)
+
0.030 2013-07-29 09:23:13 America/Los_Angeles
Add explicit version dep on Path::Class (#40) (John SJ Anderson)
diff --git a/LICENSE b/LICENSE
index dbf4efc..d68b545 100644
--- a/LICENSE
+++ b/LICENSE
@@ -22,7 +22,7 @@ This is free software, licensed under:
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
diff --git a/MANIFEST b/MANIFEST
index 038863f..2e73ca5 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,3 +1,4 @@
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.013.
Changes
INSTALL
LICENSE
diff --git a/META.json b/META.json
index bd32761..33b2556 100644
--- a/META.json
+++ b/META.json
@@ -6,7 +6,7 @@
"John SJ Anderson <genehack at genehack.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300035, CPAN::Meta::Converter version 2.120921",
+ "generated_by" : "Dist::Zilla version 5.013, CPAN::Meta::Converter version 2.140640",
"license" : [
"perl_5"
],
@@ -34,7 +34,6 @@
"File::pushd" : "0",
"IPC::Cmd" : "0",
"IPC::Open3" : "0",
- "Path::Class" : "0.26",
"Scalar::Util" : "0",
"Sort::Versions" : "0",
"Symbol" : "0",
@@ -45,6 +44,9 @@
}
},
"test" : {
+ "recommends" : {
+ "Path::Class" : "0.26"
+ },
"requires" : {
"Env::Path" : "0",
"File::Path" : "0",
@@ -70,142 +72,232 @@
"web" : "https://github.com/genehack/Git-Wrapper"
}
},
- "version" : "0.030",
+ "version" : "0.031",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.018000"
+ "version" : "5.018001"
},
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::GatherDir",
"name" : "GatherDir",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@Filter/PruneCruft",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@Filter/ManifestSkip",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Filter/MetaYAML",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Filter/License",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
"name" : "@Filter/ExtraTests",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@Filter/ExecDir",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@Filter/ShareDir",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
"name" : "@Filter/MakeMaker",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Filter/Manifest",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@Filter/TestRelease",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Filter/ConfirmRelease",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@Filter/UploadToCPAN",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
"name" : "Git::NextVersion",
- "version" : "2.014"
+ "version" : "2.020"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "AutoPrereqs",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
"config" : {
"Dist::Zilla::Plugin::Prereqs" : {
- "phase" : "runtime",
- "type" : "requires"
+ "phase" : "test",
+ "type" : "recommends"
}
},
- "name" : "Prereqs",
- "version" : "4.300035"
+ "name" : "TestRecommends",
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "GithubMeta",
- "version" : "0.28"
+ "version" : "0.42"
},
{
"class" : "Dist::Zilla::Plugin::InstallGuide",
"name" : "InstallGuide",
- "version" : "1.200000"
+ "version" : "1.200002"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "MetaConfig",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "MetaJSON",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "NextRelease",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "PkgVersion",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "PodSyntaxTests",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "PodCoverageTests",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
+ "config" : {
+ "Dist::Zilla::Plugin::PodWeaver" : {
+ "finder" : [
+ ":InstallModules",
+ ":ExecFiles"
+ ],
+ "plugins" : [
+ {
+ "class" : "Pod::Weaver::Plugin::EnsurePod5",
+ "name" : "@CorePrep/EnsurePod5",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::H1Nester",
+ "name" : "@CorePrep/H1Nester",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::SingleEncoding",
+ "name" : "@Default/SingleEncoding",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Name",
+ "name" : "@Default/Name",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Version",
+ "name" : "@Default/Version",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "@Default/prelude",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "SYNOPSIS",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "DESCRIPTION",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "OVERVIEW",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "ATTRIBUTES",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "METHODS",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "FUNCTIONS",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Leftovers",
+ "name" : "@Default/Leftovers",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "@Default/postlude",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Authors",
+ "name" : "@Default/Authors",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Legal",
+ "name" : "@Default/Legal",
+ "version" : "4.006"
+ }
+ ]
+ }
+ },
"name" : "PodWeaver",
- "version" : "3.101641"
+ "version" : "4.005"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeMarkdownFromPod",
@@ -220,22 +312,22 @@
{
"class" : "Dist::Zilla::Plugin::Repository",
"name" : "Repository",
- "version" : "0.19"
+ "version" : "0.20"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"name" : "Git::Commit",
- "version" : "2.014"
+ "version" : "2.020"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"name" : "Git::Tag",
- "version" : "2.014"
+ "version" : "2.020"
},
{
"class" : "Dist::Zilla::Plugin::Twitter",
"name" : "Twitter",
- "version" : "0.021"
+ "version" : "0.025"
},
{
"class" : "Dist::Zilla::Plugin::RequiresExternal",
@@ -245,32 +337,42 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "4.300035"
+ "version" : "5.013"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":AllFiles",
+ "version" : "5.013"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":NoFiles",
+ "version" : "5.013"
}
],
"zilla" : {
@@ -278,7 +380,7 @@
"config" : {
"is_trial" : "0"
},
- "version" : "4.300035"
+ "version" : "5.013"
}
}
}
diff --git a/META.yml b/META.yml
index 880d2ce..125fc9e 100644
--- a/META.yml
+++ b/META.yml
@@ -5,204 +5,281 @@ author:
- 'Chris Prather <chris at prather.org>'
- 'John SJ Anderson <genehack at genehack.org>'
build_requires:
- Env::Path: 0
- File::Path: 0
- File::Spec: 0
- IO::File: 0
- POSIX: 0
- Test::Deep: 0
- Test::Exception: 0
- Test::More: 0
- Test::Most: 0
+ Env::Path: '0'
+ File::Path: '0'
+ File::Spec: '0'
+ IO::File: '0'
+ POSIX: '0'
+ Test::Deep: '0'
+ Test::Exception: '0'
+ Test::More: '0'
+ Test::Most: '0'
configure_requires:
- ExtUtils::MakeMaker: 6.30
+ ExtUtils::MakeMaker: '6.30'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300035, CPAN::Meta::Converter version 2.120921'
+generated_by: 'Dist::Zilla version 5.013, CPAN::Meta::Converter version 2.140640'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Git-Wrapper
requires:
- File::Temp: 0
- File::pushd: 0
- IPC::Cmd: 0
- IPC::Open3: 0
- Path::Class: 0.26
- Scalar::Util: 0
- Sort::Versions: 0
- Symbol: 0
- overload: 0
- perl: 5.006
- strict: 0
- warnings: 0
+ File::Temp: '0'
+ File::pushd: '0'
+ IPC::Cmd: '0'
+ IPC::Open3: '0'
+ Scalar::Util: '0'
+ Sort::Versions: '0'
+ Symbol: '0'
+ overload: '0'
+ perl: '5.006'
+ strict: '0'
+ warnings: '0'
resources:
bugtracker: https://github.com/genehack/Git-Wrapper/issues
homepage: http://genehack.github.com/Git-Wrapper/
repository: git://github.com/genehack/Git-Wrapper.git
-version: 0.030
+version: '0.031'
x_Dist_Zilla:
perl:
- version: 5.018000
+ version: '5.018001'
plugins:
-
class: Dist::Zilla::Plugin::GatherDir
name: GatherDir
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@Filter/PruneCruft'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@Filter/ManifestSkip'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Filter/MetaYAML'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::License
name: '@Filter/License'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::ExtraTests
name: '@Filter/ExtraTests'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@Filter/ExecDir'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@Filter/ShareDir'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::MakeMaker
name: '@Filter/MakeMaker'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::Manifest
name: '@Filter/Manifest'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::TestRelease
name: '@Filter/TestRelease'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Filter/ConfirmRelease'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@Filter/UploadToCPAN'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::Git::NextVersion
name: Git::NextVersion
- version: 2.014
+ version: '2.020'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: AutoPrereqs
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::Prereqs
config:
Dist::Zilla::Plugin::Prereqs:
- phase: runtime
- type: requires
- name: Prereqs
- version: 4.300035
+ phase: test
+ type: recommends
+ name: TestRecommends
+ version: '5.013'
-
class: Dist::Zilla::Plugin::GithubMeta
name: GithubMeta
- version: 0.28
+ version: '0.42'
-
class: Dist::Zilla::Plugin::InstallGuide
name: InstallGuide
- version: 1.200000
+ version: '1.200002'
-
class: Dist::Zilla::Plugin::MetaConfig
name: MetaConfig
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::MetaJSON
name: MetaJSON
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::NextRelease
name: NextRelease
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::PkgVersion
name: PkgVersion
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: PodSyntaxTests
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: PodCoverageTests
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::PodWeaver
+ config:
+ Dist::Zilla::Plugin::PodWeaver:
+ finder:
+ - ':InstallModules'
+ - ':ExecFiles'
+ plugins:
+ -
+ class: Pod::Weaver::Plugin::EnsurePod5
+ name: '@CorePrep/EnsurePod5'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Plugin::H1Nester
+ name: '@CorePrep/H1Nester'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Plugin::SingleEncoding
+ name: '@Default/SingleEncoding'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Name
+ name: '@Default/Name'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Version
+ name: '@Default/Version'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Region
+ name: '@Default/prelude'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: SYNOPSIS
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: DESCRIPTION
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: OVERVIEW
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: ATTRIBUTES
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: METHODS
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: FUNCTIONS
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Leftovers
+ name: '@Default/Leftovers'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Region
+ name: '@Default/postlude'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Authors
+ name: '@Default/Authors'
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Legal
+ name: '@Default/Legal'
+ version: '4.006'
name: PodWeaver
- version: 3.101641
+ version: '4.005'
-
class: Dist::Zilla::Plugin::ReadmeMarkdownFromPod
name: ReadmeMarkdownFromPod
- version: 0.120120
+ version: '0.120120'
-
class: Dist::Zilla::Plugin::CopyFilesFromBuild
name: CopyFilesFromBuild
- version: 0.103510
+ version: '0.103510'
-
class: Dist::Zilla::Plugin::Repository
name: Repository
- version: 0.19
+ version: '0.20'
-
class: Dist::Zilla::Plugin::Git::Commit
name: Git::Commit
- version: 2.014
+ version: '2.020'
-
class: Dist::Zilla::Plugin::Git::Tag
name: Git::Tag
- version: 2.014
+ version: '2.020'
-
class: Dist::Zilla::Plugin::Twitter
name: Twitter
- version: 0.021
+ version: '0.025'
-
class: Dist::Zilla::Plugin::RequiresExternal
name: RequiresExternal
- version: 1.004
+ version: '1.004'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.300035
+ version: '5.013'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 4.300035
+ version: '5.013'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':AllFiles'
+ version: '5.013'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':NoFiles'
+ version: '5.013'
zilla:
class: Dist::Zilla::Dist::Builder
config:
- is_trial: 0
- version: 4.300035
+ is_trial: '0'
+ version: '5.013'
diff --git a/Makefile.PL b/Makefile.PL
index a8db98a..2c5de9a 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,4 +1,5 @@
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.013.
use strict;
use warnings;
@@ -24,7 +25,6 @@ my %WriteMakefileArgs = (
"File::pushd" => 0,
"IPC::Cmd" => 0,
"IPC::Open3" => 0,
- "Path::Class" => "0.26",
"Scalar::Util" => 0,
"Sort::Versions" => 0,
"Symbol" => 0,
@@ -43,37 +43,40 @@ my %WriteMakefileArgs = (
"Test::More" => 0,
"Test::Most" => 0
},
- "VERSION" => "0.030",
+ "VERSION" => "0.031",
"test" => {
"TESTS" => "t/*.t"
}
);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
- my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
- my $br = $WriteMakefileArgs{BUILD_REQUIRES};
- for my $mod ( keys %$tr ) {
- if ( exists $br->{$mod} ) {
- $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
- }
- else {
- $br->{$mod} = $tr->{$mod};
- }
- }
-}
+my %FallbackPrereqs = (
+ "Env::Path" => 0,
+ "File::Path" => 0,
+ "File::Spec" => 0,
+ "File::Temp" => 0,
+ "File::pushd" => 0,
+ "IO::File" => 0,
+ "IPC::Cmd" => 0,
+ "IPC::Open3" => 0,
+ "POSIX" => 0,
+ "Scalar::Util" => 0,
+ "Sort::Versions" => 0,
+ "Symbol" => 0,
+ "Test::Deep" => 0,
+ "Test::Exception" => 0,
+ "Test::More" => 0,
+ "Test::Most" => 0,
+ "overload" => 0,
+ "strict" => 0,
+ "warnings" => 0
+);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
- my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
- my $pp = $WriteMakefileArgs{PREREQ_PM};
- for my $mod ( keys %$br ) {
- if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
- }
- else {
- $pp->{$mod} = $br->{$mod};
- }
- }
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ delete $WriteMakefileArgs{TEST_REQUIRES};
+ delete $WriteMakefileArgs{BUILD_REQUIRES};
+ $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
diff --git a/README.mkdn b/README.mkdn
index d402e4d..0d5521b 100644
--- a/README.mkdn
+++ b/README.mkdn
@@ -4,7 +4,7 @@ Git::Wrapper - Wrap git(7) command-line interface
# VERSION
-version 0.030
+version 0.031
# SYNOPSIS
@@ -22,7 +22,7 @@ version 0.030
# DESCRIPTION
Git::Wrapper provides an API for git(7) that uses Perl data structures for
-argument passing, instead of CLI-style `--options` as [Git](http://search.cpan.org/perldoc?Git) does.
+argument passing, instead of CLI-style `--options` as [Git](https://metacpan.org/pod/Git) does.
# METHOD INVOCATION
@@ -90,7 +90,7 @@ Objects may be passed in the place of scalars, assuming those objects overload
stringification in such a way as to produce a useful value. However, relying
on this stringification is discouraged and likely to be officially deprecated
in a subsequent release. Instead, if you have an object that stringifies to a
-meaningful value (_e.g._, a [Path::Class](http://search.cpan.org/perldoc?Path::Class) object), you should stringify it
+meaningful value (_e.g._, a [Path::Class](https://metacpan.org/pod/Path::Class) object), you should stringify it
yourself before passing it to `Git::Wrapper` methods.
## Error handling
@@ -179,11 +179,11 @@ versions of the underlying git binary.
## status
When running with an underlying git binary that returns false for the
-["supports\_status\_porcelain"](#supports\_status\_porcelain) method, this method will act like any other
+["supports\_status\_porcelain"](#supports_status_porcelain) method, this method will act like any other
wrapped command: it will return output as an array of chomped lines.
When running with an underlying git binary that returns true for the
-["supports\_status\_porcelain"](#supports\_status\_porcelain) method, this method instead returns an
+["supports\_status\_porcelain"](#supports_status_porcelain) method, this method instead returns an
instance of Git::Wrapper::Statuses:
my $statuses = $git->status;
@@ -329,11 +329,11 @@ instead pass the binary location (git\_binary) to new on object creation.
# SEE ALSO
-[VCI::VCS::Git](http://search.cpan.org/perldoc?VCI::VCS::Git) is the git implementation for [VCI](http://search.cpan.org/perldoc?VCI), a generic interface to
-version-controle systems.
+[VCI::VCS::Git](https://metacpan.org/pod/VCI::VCS::Git) is the git implementation for [VCI](https://metacpan.org/pod/VCI), a generic interface to
+version-control systems.
-[Other Perl Git Wrappers](https://metacpan.org/module/Git::Repository\#OTHER-PERL-GIT-WRAPPERS)
-is a list of other Git interfaces in Perl. If [Git::Wrapper](http://search.cpan.org/perldoc?Git::Wrapper) doesn't scratch
+[Other Perl Git Wrappers](https://metacpan.org/module/Git::Repository#OTHER-PERL-GIT-WRAPPERS)
+is a list of other Git interfaces in Perl. If [Git::Wrapper](https://metacpan.org/pod/Git::Wrapper) doesn't scratch
your itch, possibly one of the modules listed there will.
Git itself is at [http://git.or.cz](http://git.or.cz).
diff --git a/lib/Git/Wrapper.pm b/lib/Git/Wrapper.pm
index 107bd54..36c2c9f 100644
--- a/lib/Git/Wrapper.pm
+++ b/lib/Git/Wrapper.pm
@@ -3,11 +3,8 @@ use strict;
use warnings;
package Git::Wrapper;
-{
- $Git::Wrapper::VERSION = '0.030';
-}
#ABSTRACT: Wrap git(7) command-line interface
-
+$Git::Wrapper::VERSION = '0.031';
our $DEBUG=0;
# Prevent ANSI color with extreme prejudice
@@ -16,7 +13,6 @@ delete $ENV{GIT_PAGER_IN_USE};
use File::pushd;
use File::Temp;
-use IPC::Cmd qw(can_run);
use IPC::Open3 qw();
use Scalar::Util qw(blessed);
use Sort::Versions;
@@ -164,7 +160,10 @@ sub git {
return ( defined $ENV{GIT_WRAPPER_GIT} ) ? $ENV{GIT_WRAPPER_GIT} : 'git';
}
-sub has_git_in_path { can_run('git') }
+sub has_git_in_path {
+ require IPC::Cmd;
+ IPC::Cmd::can_run('git');
+}
sub log {
my $self = shift;
@@ -383,13 +382,15 @@ __END__
=pod
+=encoding UTF-8
+
=head1 NAME
Git::Wrapper - Wrap git(7) command-line interface
=head1 VERSION
-version 0.030
+version 0.031
=head1 SYNOPSIS
@@ -752,7 +753,7 @@ instead pass the binary location (git_binary) to new on object creation.
=head1 SEE ALSO
L<VCI::VCS::Git> is the git implementation for L<VCI>, a generic interface to
-version-controle systems.
+version-control systems.
L<Other Perl Git Wrappers|https://metacpan.org/module/Git::Repository#OTHER-PERL-GIT-WRAPPERS>
is a list of other Git interfaces in Perl. If L<Git::Wrapper> doesn't scratch
diff --git a/lib/Git/Wrapper/Exception.pm b/lib/Git/Wrapper/Exception.pm
index b83c56b..b3eeada 100644
--- a/lib/Git/Wrapper/Exception.pm
+++ b/lib/Git/Wrapper/Exception.pm
@@ -1,9 +1,6 @@
package Git::Wrapper::Exception;
-{
- $Git::Wrapper::Exception::VERSION = '0.030';
-}
# ABSTRACT: Exception class for Git::Wrapper
-
+$Git::Wrapper::Exception::VERSION = '0.031';
use 5.006;
use strict;
use warnings;
@@ -32,13 +29,15 @@ __END__
=pod
+=encoding UTF-8
+
=head1 NAME
Git::Wrapper::Exception - Exception class for Git::Wrapper
=head1 VERSION
-version 0.030
+version 0.031
=head1 METHODS
diff --git a/lib/Git/Wrapper/File/RawModification.pm b/lib/Git/Wrapper/File/RawModification.pm
index 4fe8178..dd64efd 100644
--- a/lib/Git/Wrapper/File/RawModification.pm
+++ b/lib/Git/Wrapper/File/RawModification.pm
@@ -1,9 +1,6 @@
package Git::Wrapper::File::RawModification;
-{
- $Git::Wrapper::File::RawModification::VERSION = '0.030';
-}
# ABSTRACT: Modification of a file in a commit
-
+$Git::Wrapper::File::RawModification::VERSION = '0.031';
use 5.006;
use strict;
use warnings;
@@ -35,13 +32,15 @@ __END__
=pod
+=encoding UTF-8
+
=head1 NAME
Git::Wrapper::File::RawModification - Modification of a file in a commit
=head1 VERSION
-version 0.030
+version 0.031
=head1 METHODS
diff --git a/lib/Git/Wrapper/Log.pm b/lib/Git/Wrapper/Log.pm
index 4743d7f..4fd31a8 100644
--- a/lib/Git/Wrapper/Log.pm
+++ b/lib/Git/Wrapper/Log.pm
@@ -1,9 +1,6 @@
package Git::Wrapper::Log;
-{
- $Git::Wrapper::Log::VERSION = '0.030';
-}
# ABSTRACT: Log line of the Git
-
+$Git::Wrapper::Log::VERSION = '0.031';
use 5.006;
use strict;
use warnings;
@@ -43,13 +40,15 @@ __END__
=pod
+=encoding UTF-8
+
=head1 NAME
Git::Wrapper::Log - Log line of the Git
=head1 VERSION
-version 0.030
+version 0.031
=head1 METHODS
diff --git a/lib/Git/Wrapper/Status.pm b/lib/Git/Wrapper/Status.pm
index 79c2196..0fd967d 100644
--- a/lib/Git/Wrapper/Status.pm
+++ b/lib/Git/Wrapper/Status.pm
@@ -3,11 +3,8 @@ use strict;
use warnings;
package Git::Wrapper::Status;
-{
- $Git::Wrapper::Status::VERSION = '0.030';
-}
# ABSTRACT: A specific status information in the Git
-
+$Git::Wrapper::Status::VERSION = '0.031';
my %modes = (
M => 'modified',
A => 'added',
@@ -47,13 +44,15 @@ __END__
=pod
+=encoding UTF-8
+
=head1 NAME
Git::Wrapper::Status - A specific status information in the Git
=head1 VERSION
-version 0.030
+version 0.031
=head1 METHODS
diff --git a/lib/Git/Wrapper/Statuses.pm b/lib/Git/Wrapper/Statuses.pm
index 37d3ffe..d0aa91c 100644
--- a/lib/Git/Wrapper/Statuses.pm
+++ b/lib/Git/Wrapper/Statuses.pm
@@ -1,9 +1,6 @@
package Git::Wrapper::Statuses;
-{
- $Git::Wrapper::Statuses::VERSION = '0.030';
-}
# ABSTRACT: Multiple git statuses information
-
+$Git::Wrapper::Statuses::VERSION = '0.031';
use 5.006;
use strict;
use warnings;
@@ -38,13 +35,15 @@ __END__
=pod
+=encoding UTF-8
+
=head1 NAME
Git::Wrapper::Statuses - Multiple git statuses information
=head1 VERSION
-version 0.030
+version 0.031
=head1 METHODS
diff --git a/t/path_class.t b/t/path_class.t
index 911be1d..17c4df4 100644
--- a/t/path_class.t
+++ b/t/path_class.t
@@ -9,8 +9,8 @@ use Sort::Versions;
use Test::Deep;
use Test::Exception;
-eval "use Path::Class 0.19; 1" or plan skip_all =>
- "Path::Class 0.19 is required for this test.";
+eval "use Path::Class 0.26; 1" or plan skip_all =>
+ "Path::Class 0.26 is required for this test.";
my $tempdir = tempdir(CLEANUP => 1);
diff --git a/t/release-pod-coverage.t b/t/release-pod-coverage.t
index 3a81849..18a8274 100644
--- a/t/release-pod-coverage.t
+++ b/t/release-pod-coverage.t
@@ -7,15 +7,9 @@ BEGIN {
}
}
+# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests.
-use Test::More;
-
-eval "use Test::Pod::Coverage 1.08";
-plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
- if $@;
-
-eval "use Pod::Coverage::TrustPod";
-plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
- if $@;
+use Test::Pod::Coverage 1.08;
+use Pod::Coverage::TrustPod;
all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
diff --git a/t/release-pod-syntax.t b/t/release-pod-syntax.t
index d46a955..cdd6a6c 100644
--- a/t/release-pod-syntax.t
+++ b/t/release-pod-syntax.t
@@ -7,9 +7,8 @@ BEGIN {
}
}
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+use Test::Pod 1.41;
all_pod_files_ok();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgit-wrapper-perl.git
More information about the Pkg-perl-cvs-commits
mailing list