mudler / Mojolicious-Plugin-Materialize

Mojolicious + http://materializecss.com/
Other
0 stars 0 forks source link

Can't locate Mojolicious/Plugin/AssetPack/Backcompat.pm #2

Open eserte opened 7 years ago

eserte commented 7 years ago

Probably with newer Mojolicious versions the test suite fails like this:

# Loading DEPRECATED Mojolicious::Plugin::AssetPack::Backcompat.
Can't locate Mojolicious/Plugin/AssetPack/Backcompat.pm in @INC (you may need to install the Mojolicious::Plugin::AssetPack::Backcompat module) (@INC contains: /tmpfs/.cpan-build-cpansand/2016082700/Mojolicious-Plugin-Materialize-0.9501-0/blib/lib /tmpfs/.cpan-build-cpansand/2016082700/Mojolicious-Plugin-Materialize-0.9501-0/blib/arch /opt/perl-5.25.4/lib/site_perl/5.25.4/x86_64-linux /opt/perl-5.25.4/lib/site_perl/5.25.4 /opt/perl-5.25.4/lib/5.25.4/x86_64-linux /opt/perl-5.25.4/lib/5.25.4 .) at /opt/perl-5.25.4/lib/site_perl/5.25.4/Mojolicious/Plugin/AssetPack.pm line 124.
t/01_include.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
jhthorsen commented 7 years ago

The fix is to add Mojolicious::Plugin::AssetPack::Backcompat to cpanfile / Makefile.PL.

mudler commented 7 years ago

Thanks for reporting, tagged a new version with the fix https://github.com/mudler/Mojolicious-Plugin-Materialize/commit/79ee8dec7694ef7239edafdeae16a1f72cdda5bb

jhthorsen commented 7 years ago

@mudler: Did you know you can do this directly with the new version?

https://metacpan.org/pod/distribution/Mojolicious-Plugin-AssetPack/lib/Mojolicious/Plugin/AssetPack/Guides/Cookbook.pod#Materialize-CSS

mudler commented 7 years ago

nope, thanks for letting me know! guess it's time to drop the plugin :)

jhthorsen commented 7 years ago

You're welcome 👍