<div dir="ltr">You're right. I removed the stringification when redoing the API. I didn't return it and the docs still retain that message.<div><br></div><div>I'm still not sure whether it should stringify. That's always a source of trouble.</div><div><br></div><div>We could stringify with a deprecation or just keep it.</div><div>What is your opinion?</div><div>(other than that the docs should be up-to-date :)</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 14, 2014 at 11:46 AM, Gabor Szabo <span dir="ltr"><<a href="mailto:gabor@szabgab.com" target="_blank">gabor@szabgab.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Actually, I just noticed the documentation of both modules (Dancer:: and Dancer2::) have this in their pod:<div><br></div><div>"<span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14.3999996185303px;line-height:20px">For convenience the object will automagically return the RFC 2307 representation when no method is called on it."</span></div><div><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14.3999996185303px;line-height:20px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14.3999996185303px;line-height:20px">Which means it should still stringify to the rfc2307 value.</span></div><span class="HOEnZb"><font color="#888888"><div><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14.3999996185303px;line-height:20px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14.3999996185303px;line-height:20px">Gabor</span></div></font></span><div><div class="h5"><div><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14.3999996185303px;line-height:20px"><br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 14, 2014 at 11:26 AM, Gabor Szabo <span dir="ltr"><<a href="mailto:gabor@szabgab.com" target="_blank">gabor@szabgab.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Finally I got to the point where I was actually testing the part where Dancer2::Plugin::Passphrase is used and I think<br>I there is a change from the API of Dancer::Plugin::Passphrase<br><br>It seems that the 'generate' method of the new module return a Dancer2::Plugin::Passphrase::Hashed object<br>and does not stringify to the rfc2307 value as happened in the case of the Dancer1 version.<br><br>Looking at the documentation I see both say that I should store the ->rfc2307 value, but because of the stringification I have missed<br>that earlier.<br><br>If you decided to not include the stringification, then maybe this should be emphasized in the docs as well.<span><font color="#888888"><br><br>Gabor<br></font></span></div>
</blockquote></div><br clear="all"><div><br></div>
</div></div></div></div>
<br>_______________________________________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>
<br></blockquote></div></div>