Subject: | dzil release w/ UploadToCPAN broken. |
It would appear the change in commit 429125b1 (
http://github.com/rjbs/dist-zilla/commit/429125b1cddb963d6589f7f19d673636a582e1dc#L2L36
)
which changed `read_file` to `read_config` was not also duplicated in
dependant class Dist::Zilla::App.pm (
http://github.com/rjbs/dist-zilla/blob/3eca3f4d8f62d228393bebfa9b6e563a5bebe00b/lib/Dist/Zilla/App.pm#L27
)
This only shows up as a problem for me when doing `dzil release`
using UploadToCPAN
Can't locate object method "read_file" via package
"Dist::Zilla::Config::INI"
at
Dist::Zilla::App::config(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/App.pm:29)
at
Dist::Zilla::App::config_for(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/App.pm:35)
at
Dist::Zilla::Plugin::UploadToCPAN::__ANON__(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/Plugin/UploadToCPAN.pm:19)
at
Class::MOP::Attribute::default(/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux/Class/MOP/Attribute.pm:262)
at Dist::Zilla::Plugin::UploadToCPAN::user(accessor user defined at
/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/Plugin/UploadToCPAN.pm:22)
at
Dist::Zilla::Plugin::UploadToCPAN::release(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/Plugin/UploadToCPAN.pm:38)
at
Dist::Zilla::App::Command::release::run(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/App/Command/release.pm:21)
at
App::Cmd::execute_command(/usr/lib/perl5/vendor_perl/5.10.0/App/Cmd.pm:360)
at App::Cmd::run(/usr/lib/perl5/vendor_perl/5.10.0/App/Cmd.pm:256)
at main::(/usr/bin/dzil:9)