Dist-Zilla-Util-ExpandINI
view release on metacpan or search on metacpan
"test" : {
"recommends" : {
"CPAN::Meta" : "2.120900",
"ExtUtils::MakeMaker" : "7.00",
"Test::More" : "0.99"
},
"requires" : {
"Dist::Zilla::PluginBundle::Classic" : "0",
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"Test::Differences" : "0",
"Test::More" : "0",
"perl" : "5.006"
}
}
},
"provides" : {
"Dist::Zilla::Util::ExpandINI" : {
"file" : "lib/Dist/Zilla/Util/ExpandINI.pm",
"version" : "0.003003"
},
---
abstract: 'Read an INI file and expand bundles as you go.'
author:
- 'Kent Fredric <kentnl@cpan.org>'
build_requires:
Dist::Zilla::PluginBundle::Classic: '0'
ExtUtils::MakeMaker: '0'
File::Spec: '0'
Test::Differences: '0'
Test::More: '0'
perl: '5.006'
configure_requires:
ExtUtils::MakeMaker: '7.1101'
perl: '5.006'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
Makefile.PL view on Meta::CPAN
"Moo" => "1.000008",
"Scalar::Util" => 0,
"parent" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"Dist::Zilla::PluginBundle::Classic" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"Test::Differences" => 0,
"Test::More" => 0
},
"VERSION" => "0.003003",
"test" => {
"TESTS" => "t/*.t t/00-compile/*.t t/comments/*.t"
}
);
my %FallbackPrereqs = (
Makefile.PL view on Meta::CPAN
"Config::INI::Reader" => 0,
"Config::INI::Writer" => "0.024",
"Dist::Zilla::PluginBundle::Classic" => 0,
"Dist::Zilla::Util::BundleInfo" => "1.001000",
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"Mixin::Linewise" => "!= 0.107",
"Module::Runtime" => 0,
"Moo" => "1.000008",
"Scalar::Util" => 0,
"Test::Differences" => 0,
"Test::More" => 0,
"parent" => 0,
"strict" => 0,
"warnings" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
misc/Changes.deps view on Meta::CPAN
0.002000 2014-11-08T01:53:39Z
[Added / configure requires]
- perl 5.006
[Added / runtime requires]
- Module::Runtime
- Scalar::Util
[Added / test requires]
- Test::Differences
- perl 5.006
[Changed / runtime requires]
- perl 5.008 â 5.006
[Removed / runtime requires]
- utf8
0.001003 2014-08-15T22:30:33Z
[Changed / configure requires]
misc/Changes.deps.all view on Meta::CPAN
- Dist::Zilla::Plugin::Prereqs::AuthorDeps
- Dist::Zilla::Plugin::Test::EOL
- Test::EOL
- Test::More
[Added / runtime requires]
- Module::Runtime
- Scalar::Util
[Added / test requires]
- Test::Differences
- perl 5.006
[Changed / configure recommends]
- ExtUtils::MakeMaker 6.98 â 7.00
[Changed / develop requires]
- Dist::Zilla::Plugin::Git::NextRelease 0 â 0.004000
- Test::Kwalitee 1.12 â 1.21
[Changed / develop suggests]
misc/built_with.json view on Meta::CPAN
"File::Spec" : "3.66",
"Mixin::Linewise" : "0.108",
"Module::Runtime" : "0.014",
"Moo" : "2.003000",
"Pod::Coverage::TrustPod" : "0.100003",
"Pod::Elemental::Transformer::List" : "0.102000",
"Scalar::Util" : "1.46_02",
"Software::License::Perl_5" : "0.103012",
"Test::CPAN::Changes" : "0.400002",
"Test::CPAN::Meta" : "0.25",
"Test::Differences" : "0.64",
"Test::EOL" : "1.6",
"Test::Kwalitee" : "1.25",
"Test::MinimumVersion" : "0.101082",
"Test::More" : "1.302073",
"Test::Pod" : "1.51",
"Test::Pod::Coverage" : "1.10",
"parent" : "0.236",
"strict" : "1.11",
"warnings" : "1.37"
},
t/00-report-prereqs.dd view on Meta::CPAN
'test' => {
'recommends' => {
'CPAN::Meta' => '2.120900',
'ExtUtils::MakeMaker' => '7.00',
'Test::More' => '0.99'
},
'requires' => {
'Dist::Zilla::PluginBundle::Classic' => '0',
'ExtUtils::MakeMaker' => '0',
'File::Spec' => '0',
'Test::Differences' => '0',
'Test::More' => '0',
'perl' => '5.006'
}
}
};
$x;
}
t/comments/all.t view on Meta::CPAN
foo = quux
EOEXPAND
use Dist::Zilla::Util::ExpandINI;
my $ct = Dist::Zilla::Util::ExpandINI->new( comments => 'all', );
$ct->_load_string($SAMPLE);
$ct->_expand();
my $ds = $ct->_data;
use Test::Differences qw( eq_or_diff );
#note explain $ds;
is( $ds->[0]->{name}, '_', '_ section' );
is( $ds->[1]->{name}, 'Name', 'First Package' );
eq_or_diff( $ds->[1]->{lines}, [ 'value', 'baz', 'foo', 'quux' ], 'Values retain order' );
is( $ds->[-1]->{name}, 'NameTwo', 'First Package' );
eq_or_diff( $ds->[-1]->{lines}, [ 'value', 'baz', 'foo', 'quux' ], 'Plugins retain order' );
#note explain $ds;
t/comments/authordeps.t view on Meta::CPAN
foo = quux
EOEXPAND
use Dist::Zilla::Util::ExpandINI;
my $ct = Dist::Zilla::Util::ExpandINI->new( comments => 'authordeps', );
$ct->_load_string($SAMPLE);
$ct->_expand();
my $ds = $ct->_data;
use Test::Differences qw( eq_or_diff );
#note explain $ds;
is( $ds->[0]->{name}, '_', '_ section' );
is( $ds->[1]->{name}, 'Name', 'First Package' );
eq_or_diff( $ds->[1]->{lines}, [ 'value', 'baz', 'foo', 'quux' ], 'Values retain order' );
is( $ds->[-1]->{name}, 'NameTwo', 'First Package' );
eq_or_diff( $ds->[-1]->{lines}, [ 'value', 'baz', 'foo', 'quux' ], 'Plugins retain order' );
#note explain $ds;
t/comments/basic.t view on Meta::CPAN
foo = quux
EOEXPAND
use Dist::Zilla::Util::ExpandINI;
my $ct = Dist::Zilla::Util::ExpandINI->new();
$ct->_load_string($SAMPLE);
$ct->_expand();
my $ds = $ct->_data;
use Test::Differences qw( eq_or_diff );
#note explain $ds;
is( $ds->[0]->{name}, '_', '_ section' );
is( $ds->[1]->{name}, 'Name', 'First Package' );
eq_or_diff( $ds->[1]->{lines}, [ 'value', 'baz', 'foo', 'quux' ], 'Values retain order' );
is( $ds->[-1]->{name}, 'NameTwo', 'First Package' );
eq_or_diff( $ds->[-1]->{lines}, [ 'value', 'baz', 'foo', 'quux' ], 'Plugins retain order' );
#note explain $ds;
t/comments/none.t view on Meta::CPAN
foo = quux
EOEXPAND
use Dist::Zilla::Util::ExpandINI;
my $ct = Dist::Zilla::Util::ExpandINI->new( comments => 'none', );
$ct->_load_string($SAMPLE);
$ct->_expand();
my $ds = $ct->_data;
use Test::Differences qw( eq_or_diff );
#note explain $ds;
is( $ds->[0]->{name}, '_', '_ section' );
is( $ds->[1]->{name}, 'Name', 'First Package' );
eq_or_diff( $ds->[1]->{lines}, [ 'value', 'baz', 'foo', 'quux' ], 'Values retain order' );
is( $ds->[-1]->{name}, 'NameTwo', 'First Package' );
eq_or_diff( $ds->[-1]->{lines}, [ 'value', 'baz', 'foo', 'quux' ], 'Plugins retain order' );
#note explain $ds;
t/expand_classic_fitered.t view on Meta::CPAN
PrereqSource
InstallTool
BeforeArchive
],
]
);
$ct->_load_string($SAMPLE);
$ct->_expand();
my $ds = $ct->_data;
use Test::Differences qw( eq_or_diff );
is( $ds->[0]->{name}, '_', '_ section' );
is( $ds->[1]->{name}, 'Name', 'First Package' );
eq_or_diff( $ds->[1]->{lines}, [ 'value', 'baz', 'foo', 'quux' ], 'Values retain order' );
is( $ds->[-1]->{name}, 'NameTwo', 'First Package' );
eq_or_diff( $ds->[-1]->{lines}, [ 'value', 'baz', 'foo', 'quux' ], 'Plugins retain order' );
#note explain $ds;
my $out = $ct->_store_string;
( run in 0.831 second using v1.01-cache-2.11-cpan-6aa56a78535 )