Thanks for the report! I've just uploaded 0.05 with the fixes.
* Renee Baecker via RT [12.01.2015 09:35]:
Show quoted text> Mon Jan 12 03:35:39 2015: Request 101481 was acted upon.
> Transaction: Ticket created by RENEEB
> Queue: Mojolicious-Plugin-YubiVerify
> Subject: generate_port was moved to Mojo::IOLoop::Server
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: RENEEB@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=101481 >
>
>
> In Mojolicious 5.0 the method generate_port was moved from Mojo::IOLoop
> to Mojo::IOLoop::Server. You should replace
> Mojo::IOLoop->new->generate_port with
> Mojo::IOLoop->new->server->generate_port in your testscript.