Skip to content

Commit

Permalink
Build results of ac9c807 (on master)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Feb 28, 2015
1 parent 52706e4 commit 6cd3af5
Show file tree
Hide file tree
Showing 12 changed files with 86 additions and 20 deletions.
11 changes: 8 additions & 3 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
Release history for Dist-Zilla-Plugin-Prereqs-Soften

0.005002 2015-02-28T04:51:06Z b7fcc23
0.006000 2015-02-28T05:06:54Z ac9c807
[Dependencies::Stats]
- Dependencies changed since 0.005001, see misc/*.deps* for details
- configure: +1 (recommends: ↑1)
- develop: +10 ↑2 -2 (recommends: +1, suggests: ↑2)
- runtime: (recommends: +1)
- develop: +10 ↑2 -3 (recommends: +1, suggests: ↑2)
- runtime: ↓1 (recommends: +1 -1)
- test: +1 (recommends: ↑1 ↓1)

[Features]
- Can now specify to_relationship = none. This is useful in conjunction with copy_to to move phases. Its admittedly
awkward syntax, but I need to re-write half the internals now because YAGNI made them too simple earlier, and now
IGNI.

0.005001 2014-09-29T14:03:18Z
[Bugfix]
- Dont fail with newer OptionalFaetures due to test subsequently needing a Makefile.PL to work
Expand Down
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ t/01-basic.t
t/02-to_relationship-suggested.t
t/03-copy_to-develop-requires.t
t/04-modules_from_features.t
t/05-to_relationship-none.t
weaver.ini
xt/author/critic.t
xt/author/eol.t
Expand Down
8 changes: 4 additions & 4 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"provides" : {
"Dist::Zilla::Plugin::Prereqs::Soften" : {
"file" : "lib/Dist/Zilla/Plugin/Prereqs/Soften.pm",
"version" : "0.005002"
"version" : "0.006000"
}
},
"release_status" : "stable",
Expand All @@ -147,7 +147,7 @@
"web" : "https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-Soften"
}
},
"version" : "0.005002",
"version" : "0.006000",
"x_BuiltWith" : {
"external_file" : "misc/built_with.json"
},
Expand Down Expand Up @@ -617,7 +617,7 @@
"Dist::Zilla::Plugin::Git::Tag" : {
"branch" : null,
"signed" : 0,
"tag" : "0.005002-source",
"tag" : "0.006000-source",
"tag_format" : "%v-source",
"tag_message" : "v%v",
"time_zone" : "local"
Expand Down Expand Up @@ -688,7 +688,7 @@
"Dist::Zilla::Plugin::Git::Tag" : {
"branch" : "releases",
"signed" : 0,
"tag" : "0.005002",
"tag" : "0.006000",
"tag_format" : "%v",
"tag_message" : "v%v",
"time_zone" : "local"
Expand Down
8 changes: 4 additions & 4 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ name: Dist-Zilla-Plugin-Prereqs-Soften
provides:
Dist::Zilla::Plugin::Prereqs::Soften:
file: lib/Dist/Zilla/Plugin/Prereqs/Soften.pm
version: '0.005002'
version: '0.006000'
recommends:
Moose: '2.000'
strict: '0'
Expand All @@ -39,7 +39,7 @@ resources:
bugtracker: https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-Soften/issues
homepage: https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-Soften
repository: https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-Soften.git
version: '0.005002'
version: '0.006000'
x_BuiltWith:
external_file: misc/built_with.json
x_Dist_Zilla:
Expand Down Expand Up @@ -401,7 +401,7 @@ x_Dist_Zilla:
Dist::Zilla::Plugin::Git::Tag:
branch: ~
signed: 0
tag: 0.005002-source
tag: 0.006000-source
tag_format: '%v-source'
tag_message: v%v
time_zone: local
Expand Down Expand Up @@ -455,7 +455,7 @@ x_Dist_Zilla:
Dist::Zilla::Plugin::Git::Tag:
branch: releases
signed: 0
tag: '0.005002'
tag: '0.006000'
tag_format: '%v'
tag_message: v%v
time_zone: local
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ my %WriteMakefileArgs = (
"Test::More" => "0.89",
"Test::Requires" => 0
},
"VERSION" => "0.005002",
"VERSION" => "0.006000",
"test" => {
"TESTS" => "t/*.t t/00-compile/*.t"
}
Expand Down
7 changes: 4 additions & 3 deletions lib/Dist/Zilla/Plugin/Prereqs/Soften.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use warnings;

package Dist::Zilla::Plugin::Prereqs::Soften;

our $VERSION = '0.005002';
our $VERSION = '0.006000';

# ABSTRACT: Downgrade listed dependencies to recommendations if present.

Expand Down Expand Up @@ -48,7 +48,7 @@ use Moose::Util::TypeConstraints qw(enum);

has 'to_relationship' => (
is => ro =>,
isa => enum( [qw(requires recommends suggests conflicts)] ),
isa => enum( [qw(none requires recommends suggests conflicts)] ),
lazy => 1,
default => sub { 'recommends' },
);
Expand Down Expand Up @@ -193,6 +193,7 @@ sub _soften_prereqs {
my @target_reqs;

for my $target ( @{ $conf->{to} } ) {
next if $target->{relation} eq 'none';
push @target_reqs, $prereqs->requirements_for( $target->{phase}, $target->{relation} );
}

Expand Down Expand Up @@ -241,7 +242,7 @@ Dist::Zilla::Plugin::Prereqs::Soften - Downgrade listed dependencies to recommen
=head1 VERSION
version 0.005002
version 0.006000
=head1 SYNOPSIS
Expand Down
7 changes: 5 additions & 2 deletions misc/Changes.deps
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ This file contains changes in REQUIRED dependencies for standard CPAN phases (co

0.005002
[Added / configure requires]
- perl 5.008
- perl 5.006

[Added / test requires]
- perl 5.008
- perl 5.006

[Changed / runtime requires]
- perl 5.008 → 5.006

0.005001 2014-09-29T14:03:18Z

Expand Down
11 changes: 9 additions & 2 deletions misc/Changes.deps.all
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL depen

0.005002
[Added / configure requires]
- perl 5.008
- perl 5.006

[Added / develop recommends]
- Test::More 0.99
Expand All @@ -23,7 +23,7 @@ This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL depen
- Moose 2.000

[Added / test requires]
- perl 5.008
- perl 5.006

[Changed / configure recommends]
- ExtUtils::MakeMaker 6.98 → 7.00
Expand All @@ -36,13 +36,20 @@ This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL depen
- Dist::Zilla::App::Command::bakeini 0.001002 → 0.002000
- Dist::Zilla::PluginBundle::Author::KENTNL 2.020003 → 2.023003

[Changed / runtime requires]
- perl 5.008 → 5.006

[Changed / test recommends]
- ExtUtils::MakeMaker 6.98 → 7.00
- Test::More 1.001006 → 0.99

[Removed / develop requires]
- Dist::Zilla::Plugin::EOLTests
- Dist::Zilla::Plugin::ReadmeFromPod
- utf8

[Removed / runtime recommends]
- utf8

0.005001 2014-09-29T14:03:18Z
[Added / test recommends]
Expand Down
1 change: 1 addition & 0 deletions misc/Changes.deps.dev
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and
[Removed / develop requires]
- Dist::Zilla::Plugin::EOLTests
- Dist::Zilla::Plugin::ReadmeFromPod
- utf8

0.005001 2014-09-29T14:03:18Z
[Changed / develop suggests]
Expand Down
3 changes: 3 additions & 0 deletions misc/Changes.deps.opt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ This file contains changes in OPTIONAL dependencies for standard CPAN phases (co
- ExtUtils::MakeMaker 6.98 → 7.00
- Test::More 1.001006 → 0.99

[Removed / runtime recommends]
- utf8

0.005001 2014-09-29T14:03:18Z
[Added / test recommends]
- Dist::Zilla 5.020
Expand Down
44 changes: 44 additions & 0 deletions t/05-to_relationship-none.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

use strict;
use warnings;

use Test::More;

# FILENAME: 01-basic.t
# CREATED: 03/23/14 19:41:51 by Kent Fredric (kentnl) <kentfredric@gmail.com>
# ABSTRACT: Basic interface test

use Test::DZil qw(simple_ini);
use Dist::Zilla::Util::Test::KENTNL 1.003002 qw( dztest );

my $test = dztest();
my @ini;

push @ini, [ 'Prereqs', { 'Foo' => 1 } ];
push @ini, [ 'Prereqs::Soften', { 'module' => 'Foo', 'to_relationship' => 'none', copy_to => 'develop.requires' } ];
push @ini, ['GatherDir'];

$test->add_file( 'dist.ini', simple_ini(@ini) );
$test->add_file( 'lib/E.pm', <<'EO_EPM');
use strict;
use warnings;
package E;
# ABSTRACT: Fake dist stub
use Moose;
with 'Dist::Zilla::Role::Plugin';
1;
EO_EPM

$test->build_ok;
$test->prereqs_deeply(
{
develop => { requires => { 'Foo' => '1' } },
}
);

done_testing;

3 changes: 2 additions & 1 deletion xt/author/eol.t
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ my @files = (
't/01-basic.t',
't/02-to_relationship-suggested.t',
't/03-copy_to-develop-requires.t',
't/04-modules_from_features.t'
't/04-modules_from_features.t',
't/05-to_relationship-none.t'
);

eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
Expand Down

0 comments on commit 6cd3af5

Please sign in to comment.