r50692 - in /trunk/libmediawiki-api-perl: Changes META.yml debian/changelog lib/MediaWiki/API.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Mon Jan 11 03:26:50 UTC 2010


Author: jawnsy-guest
Date: Mon Jan 11 03:26:44 2010
New Revision: 50692

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=50692
Log:
New upstream release

Modified:
    trunk/libmediawiki-api-perl/Changes
    trunk/libmediawiki-api-perl/META.yml
    trunk/libmediawiki-api-perl/debian/changelog
    trunk/libmediawiki-api-perl/lib/MediaWiki/API.pm

Modified: trunk/libmediawiki-api-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmediawiki-api-perl/Changes?rev=50692&op=diff
==============================================================================
--- trunk/libmediawiki-api-perl/Changes (original)
+++ trunk/libmediawiki-api-perl/Changes Mon Jan 11 03:26:44 2010
@@ -1,4 +1,7 @@
 Revision history for MediaWiki-API
+
+0.29    2010-01-10
+        Module will now use any proxy settings if set in the environment. To force the module not to use a proxy even if set there is a new configuration option MediaWiki::API->{config}->{noproxy} that can be set.
 
 0.28    2009-09-09
         The skip_encoding option was ignored for the list function. Thanks to Estelle for reporting the problem.

Modified: trunk/libmediawiki-api-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmediawiki-api-perl/META.yml?rev=50692&op=diff
==============================================================================
--- trunk/libmediawiki-api-perl/META.yml (original)
+++ trunk/libmediawiki-api-perl/META.yml Mon Jan 11 03:26:44 2010
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:                MediaWiki-API
-version:             0.28
+version:             0.29
 abstract:            Provides a Perl interface to the MediaWiki API (http://www.mediawiki.org/wiki/API)
 license:             GPL-3+
 author:              

Modified: trunk/libmediawiki-api-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmediawiki-api-perl/debian/changelog?rev=50692&op=diff
==============================================================================
--- trunk/libmediawiki-api-perl/debian/changelog (original)
+++ trunk/libmediawiki-api-perl/debian/changelog Mon Jan 11 03:26:44 2010
@@ -1,8 +1,12 @@
-libmediawiki-api-perl (0.28-2) UNRELEASED; urgency=low
+libmediawiki-api-perl (0.29-1) UNRELEASED; urgency=low
 
+  [ Jonathan Yu ]
+  * New upstream release
+
+  [ Ryan Niebur ]
   * Update ryan52's email address
 
- -- Ryan Niebur <ryan at debian.org>  Fri, 25 Sep 2009 00:25:26 -0700
+ -- Jonathan Yu <jawnsy at cpan.org>  Sun, 10 Jan 2010 22:29:16 -0500
 
 libmediawiki-api-perl (0.28-1) unstable; urgency=low
 

Modified: trunk/libmediawiki-api-perl/lib/MediaWiki/API.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmediawiki-api-perl/lib/MediaWiki/API.pm?rev=50692&op=diff
==============================================================================
--- trunk/libmediawiki-api-perl/lib/MediaWiki/API.pm (original)
+++ trunk/libmediawiki-api-perl/lib/MediaWiki/API.pm Mon Jan 11 03:26:44 2010
@@ -40,11 +40,11 @@
 
 =head1 VERSION
 
-Version 0.28
-
-=cut
-
-our $VERSION  = "0.28";
+Version 0.29
+
+=cut
+
+our $VERSION  = "0.29";
 
 =head1 SYNOPSIS
 
@@ -112,6 +112,8 @@
 
 =item * max_lag_retries = Integer value; The number of retries to send an API request if the server has reported a lag more than the value of max_lag. If the maximum retries is reached, an error is returned. Setting this to a negative value like -1 will mean the request is resent until the servers max_lag is below the threshold or another error occurs. Defaults to 4.
 
+=item * no_proxy = Boolean; Set to 1 to Disable use of any proxy set in the environment. Note by default if you have proxy environment variables set, then the module will attempt to use them. This feature was added at version 0.29. Versions below this ignore any proxy settings, but you can set this yourself by doing MediaWiki::API->{ua}->env_proxy() after creating a new instance of the API class. More information about env_proxy can be found at http://search.cpan.org/~gaas/libwww-perl-5.834/lib/LWP/UserAgent.pm#Proxy_attributes
+
 =back
 
 An example for the on_error configuration could be something like:
@@ -172,6 +174,7 @@
   $ua->cookie_jar({});
   $ua->agent(__PACKAGE__ . "/$VERSION");
   $ua->default_header("Accept-Encoding" => "gzip, deflate");
+  $ua->env_proxy() unless ($config->{no_proxy});
 
   $self->{ua} = $ua;
 
@@ -844,7 +847,7 @@
 
 =head1 COPYRIGHT & LICENSE
 
-Copyright 2008 Jools Wills, all rights reserved.
+Copyright 2008 - 2010 Jools Wills, all rights reserved.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by




More information about the Pkg-perl-cvs-commits mailing list