Skip to content

Commit

Permalink
Add experimental VERSION declaration as per #3
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Oct 9, 2015
1 parent 6df9dba commit 0fe34a7
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 8 deletions.
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
- runtime: (recommends: +1)
- test: (recommends: ↓2)

[Features]
- Experimentally injecting the version of the role into `dump_config` data.
- Part of request #3

2.001002 2014-12-10T10:16:51Z 6baccf2
[Dependencies::Stats]
- Dependencies changed since 2.001001, see misc/*.deps* for details
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ my %WriteMakefileArgs = (
"Test::More" => "0.96",
"lib" => 0
},
"VERSION" => "2.001003",
"VERSION" => "2.001010",
"test" => {
"TESTS" => "t/*.t t/00-compile/*.t t/01-Provider/*.t"
}
Expand Down
2 changes: 1 addition & 1 deletion README.mkdn
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Dist::Zilla::Plugin::MetaProvides - Generating and Populating 'provides' in your

# VERSION

version 2.001003
version 2.001010

# SYNOPSIS

Expand Down
2 changes: 1 addition & 1 deletion lib/Dist/Zilla/Plugin/MetaProvides.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use warnings;

package Dist::Zilla::Plugin::MetaProvides;

our $VERSION = '2.001003';
our $VERSION = '2.001010';

# ABSTRACT: Generating and Populating 'provides' in your META.yml

Expand Down
6 changes: 5 additions & 1 deletion lib/Dist/Zilla/Role/MetaProvider/Provider.pm
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,11 @@ sub _apply_meta_noindex {

use Dist::Zilla::Util::ConfigDumper 0.002001 qw( config_dumper );

around dump_config => config_dumper( __PACKAGE__, { attrs => [qw( inherit_version inherit_missing meta_noindex )] } );
around dump_config => config_dumper(
__PACKAGE__,
{ attrs => [qw( inherit_version inherit_missing meta_noindex )] },
sub { $_[1]->{ __PACKAGE__ . '::VERSION' } = $VERSION },
);

=method C<metadata>
Expand Down
2 changes: 1 addition & 1 deletion misc/Changes.deps
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This file contains changes in REQUIRED dependencies for standard CPAN phases (configure/build/runtime/test)

2.001003
2.001010

2.001002 2014-12-10T10:16:51Z
[Added / configure requires]
Expand Down
2 changes: 1 addition & 1 deletion misc/Changes.deps.all
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This file contains ALL changes in dependencies in both REQUIRED / OPTIONAL dependencies for all phases (configure/build/runtime/test/develop)

2.001003
2.001010
[Added / develop requires]
- Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING 0.001003
- Dist::Zilla::Plugin::Author::KENTNL::TravisCI 0.001002
Expand Down
2 changes: 1 addition & 1 deletion misc/Changes.deps.dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This file contains changes to DEVELOPMENT dependencies only ( both REQUIRED and OPTIONAL )

2.001003
2.001010
[Added / develop requires]
- Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING 0.001003
- Dist::Zilla::Plugin::Author::KENTNL::TravisCI 0.001002
Expand Down
2 changes: 1 addition & 1 deletion misc/Changes.deps.opt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This file contains changes in OPTIONAL dependencies for standard CPAN phases (configure/build/runtime/test)

2.001003
2.001010
[Added / runtime recommends]
- Moose 2.000

Expand Down

0 comments on commit 0fe34a7

Please sign in to comment.