1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
Description: Fix test failures due to changes in
libcaptcha-recaptcha-perl to use google infrastructure.
Origin: http://html-formfu.googlecode.com/svn/trunk/HTML-FormFu/
Bug: https://rt.cpan.org/Ticket/Display.html?id=59467
Bug-Debian: http://bugs.debian.org/591120
Forwarded: not-needed
Author: Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>
Reviewed-by: Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>
Last-Update: 2010-08-01
--- a/t/elements/recaptcha.t
+++ b/t/elements/recaptcha.t
@@ -18,8 +18,8 @@
var RecaptchaOptions = {};
//]]>
</script>
-<script src="http://api.recaptcha.net/challenge?k=xxx" type="text/javascript"></script>
-<noscript><iframe frameborder="0" height="300" src="http://api.recaptcha.net/noscript?k=xxx" width="500"></iframe><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
+<script src="http://www.google.com/recaptcha/api/challenge?k=xxx" type="text/javascript"></script>
+<noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?k=xxx" width="500"></iframe><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
</span>
</div>
</form>
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -13,7 +13,7 @@
# version 5.567 that ships with perl 5.82 is no good
requires 'Exporter' => '5.57';
-requires 'Captcha::reCAPTCHA' => 0.92;
+requires 'Captcha::reCAPTCHA' => 0.94;
requires 'Class::Accessor::Chained::Fast';
requires 'Clone' => '0.31';
requires 'Config::Any' => '0.18'; # 0.10 - supports multi-doc config files
|