Skip to content

Commit

Permalink
Build results of 1867930 (on master)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Jul 11, 2011
2 parents 73e1483 + 1867930 commit 4d13005
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ my %module_build_args = (
'Kent Fredric <kentnl@cpan.org>'
],
'dist_name' => 'Dist-Zilla-PluginBundle-Author-KENTNL',
'dist_version' => '1.0.10',
'dist_version' => '1.0.11',
'license' => 'perl',
'module_name' => 'Dist::Zilla::PluginBundle::Author::KENTNL',
'recommends' => {},
Expand Down
7 changes: 7 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
Revision history for Dist-Zilla-PluginBundle-Author-KENTNL

1.0.11 2011-07-11T04:56:38Z
[Tests]
- Redo the git hack using ENV flags instead of a config file as it still
doesn't work as intended. Need both AUTHOR and CONFIG env variables.
- Minting test now more detailed with arbitrary pass indicators to
indicate where fails occur.

1.0.10 2011-07-11T03:41:19Z
[Packaging]
- Retroactive Changes normalization
Expand Down
1 change: 0 additions & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ MANIFEST
META.json
META.yml
README
corpus/git_config.ini
corpus/global/config.ini
dist.ini
lib/Dist/Zilla/MintingProfile/Author/KENTNL.pm
Expand Down
8 changes: 4 additions & 4 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,15 @@
"provides" : {
"Dist::Zilla::MintingProfile::Author::KENTNL" : {
"file" : "lib/Dist/Zilla/MintingProfile/Author/KENTNL.pm",
"version" : "v1.0.10"
"version" : "v1.0.11"
},
"Dist::Zilla::Plugin::Author::KENTNL::DistINI" : {
"file" : "lib/Dist/Zilla/Plugin/Author/KENTNL/DistINI.pm",
"version" : "v1.0.10"
"version" : "v1.0.11"
},
"Dist::Zilla::PluginBundle::Author::KENTNL" : {
"file" : "lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm",
"version" : "v1.0.10"
"version" : "v1.0.11"
}
},
"release_status" : "stable",
Expand All @@ -137,7 +137,7 @@
"web" : "http://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL"
}
},
"version" : "1.0.10",
"version" : "1.0.11",
"x_BuiltWith" : {
"modules" : {
"Capture::Tiny" : "0.11",
Expand Down
8 changes: 4 additions & 4 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ name: Dist-Zilla-PluginBundle-Author-KENTNL
provides:
Dist::Zilla::MintingProfile::Author::KENTNL:
file: lib/Dist/Zilla/MintingProfile/Author/KENTNL.pm
version: v1.0.10
version: v1.0.11
Dist::Zilla::Plugin::Author::KENTNL::DistINI:
file: lib/Dist/Zilla/Plugin/Author/KENTNL/DistINI.pm
version: v1.0.10
version: v1.0.11
Dist::Zilla::PluginBundle::Author::KENTNL:
file: lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm
version: v1.0.10
version: v1.0.11
requires:
Carp: 0
Class::Load: 0
Expand Down Expand Up @@ -96,7 +96,7 @@ requires:
resources:
homepage: http://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL
repository: http://github.com/kentfredric/Dist-Zilla-PluginBundle-Author-KENTNL
version: 1.0.10
version: 1.0.11
x_BuiltWith:
modules:
Capture::Tiny: 0.11
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ NAME
build your distributions.

VERSION
version 1.0.10
version 1.0.11

SYNOPSIS
[@Author::KENTNL]
Expand Down
3 changes: 0 additions & 3 deletions corpus/git_config.ini

This file was deleted.

4 changes: 2 additions & 2 deletions lib/Dist/Zilla/MintingProfile/Author/KENTNL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use warnings;

package Dist::Zilla::MintingProfile::Author::KENTNL;
BEGIN {
$Dist::Zilla::MintingProfile::Author::KENTNL::VERSION = '1.0.10';
$Dist::Zilla::MintingProfile::Author::KENTNL::VERSION = '1.0.11';
}

# ABSTRACT: KENTNL's Minting Profile
Expand All @@ -26,7 +26,7 @@ Dist::Zilla::MintingProfile::Author::KENTNL - KENTNL's Minting Profile
=head1 VERSION
version 1.0.10
version 1.0.11
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions lib/Dist/Zilla/Plugin/Author/KENTNL/DistINI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use warnings;

package Dist::Zilla::Plugin::Author::KENTNL::DistINI;
BEGIN {
$Dist::Zilla::Plugin::Author::KENTNL::DistINI::VERSION = '1.0.10';
$Dist::Zilla::Plugin::Author::KENTNL::DistINI::VERSION = '1.0.11';
}

# ABSTRACT: Generate a C<dist.ini> for @Author::KENTNL projects.
Expand Down Expand Up @@ -114,7 +114,7 @@ Dist::Zilla::Plugin::Author::KENTNL::DistINI - Generate a C<dist.ini> for @Autho
=head1 VERSION
version 1.0.10
version 1.0.11
=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use warnings;

package Dist::Zilla::PluginBundle::Author::KENTNL;
BEGIN {
$Dist::Zilla::PluginBundle::Author::KENTNL::VERSION = '1.0.10';
$Dist::Zilla::PluginBundle::Author::KENTNL::VERSION = '1.0.11';
}

# ABSTRACT: BeLike::KENTNL when you build your distributions.
Expand Down Expand Up @@ -222,7 +222,7 @@ Dist::Zilla::PluginBundle::Author::KENTNL - BeLike::KENTNL when you build your d
=head1 VERSION
version 1.0.10
version 1.0.11
=head1 SYNOPSIS
Expand Down
32 changes: 27 additions & 5 deletions t/01-Minter.t
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,34 @@ BEGIN {
$global = $corpus->subdir('global');
}

local $ENV{'GIT_CONFIG'} = $corpus->file('git_config.ini')->stringify;
$ENV{'GIT_AUTHOR_NAME'} = $ENV{'GIT_COMMITTER_NAME'} = 'Anon Y. Mus';
$ENV{'GIT_AUTHOR_EMAIL'} = $ENV{'GIT_COMMITTER_EMAIL'} = 'anonymus@example.org';

use Test::File::ShareDir -share =>
{ -module => { 'Dist::Zilla::MintingProfile::Author::KENTNL' => $root->subdir('share')->subdir('profiles') }, };
use Test::DZil;

my $tzil =
Minter->_new_from_profile( [ 'Author::KENTNL' => 'default' ], { name => 'DZT-Minty', }, { global_config_root => $global }, );
$tzil->chrome->logger->set_debug(1);
$tzil->mint_dist;
my $tzil;


subtest 'mint files' => sub {

$tzil = Minter->_new_from_profile( [ 'Author::KENTNL' => 'default' ], { name => 'DZT-Minty', }, { global_config_root => $global }, );

pass('Loaded minter config');

$tzil->chrome->logger->set_debug(1);

pass("set debug");

$tzil->mint_dist;

pass("minted dist");

my $pm = $tzil->slurp_file('mint/lib/DZT/Minty.pm');

pass('slurped file');

my %expected_files = map { $_ => 1 } qw(
lib/DZT/Minty.pm
weaver.ini
Expand Down Expand Up @@ -69,11 +82,20 @@ subtest 'build minting' => sub {

my $tmpdir = $tzil->tempdir->subdir('mint')->absolute;

pass("Got minted dir");

my $bzil = Builder->from_config( { dist_root => $tmpdir }, {}, { global_config_root => $global }, );

pass("Loaded builder configuration");

$bzil->chrome->logger->set_debug(1);

pass("Set debug");

$bzil->build;

pass("Built Dist");

# NOTE: ->test doesn't work atm due to various reasons unknown, so doing it manually.

my $exception;
Expand Down

0 comments on commit 4d13005

Please sign in to comment.