[Bps-public-commit] LWP-UserAgent-Paranoid branch, master, updated. 0.93-4-gf7454cb

Thomas Sibley trs at bestpractical.com
Mon Jul 1 14:07:48 EDT 2013


The branch, master has been updated
       via  f7454cbe2f85e70a50192f2e2e80f0dcbf747d1a (commit)
       via  3f4da861f545bf07bc61c73b3e62c988cb67281b (commit)
       via  8db23ae217dc84d6af41ed1b9502ce0a3b536ddd (commit)
       via  ccb2f7d6ee08064d172e9fb4680d503d60b3cc2c (commit)
      from  f3f72e1dfa9290223875b620cb4c27f50c55e20f (commit)

Summary of changes:
 Changes                       |  3 +++
 MANIFEST                      |  2 ++
 MANIFEST.SKIP                 | 61 +++++++++++++++++++++++++++++++++++++++++++
 META.yml                      |  3 ++-
 Makefile.PL                   |  1 +
 README                        |  5 ++--
 lib/LWP/UserAgent/Paranoid.pm |  8 +++---
 7 files changed, 77 insertions(+), 6 deletions(-)
 create mode 100644 Changes
 create mode 100644 MANIFEST.SKIP

- Log -----------------------------------------------------------------
commit ccb2f7d6ee08064d172e9fb4680d503d60b3cc2c
Author: Andrew Rodland <andrew at cleverdomain.org>
Date:   Fri Jun 28 21:16:58 2013 -0400

    Use Time::HiRes::alarm so fractional timeouts work

diff --git a/lib/LWP/UserAgent/Paranoid.pm b/lib/LWP/UserAgent/Paranoid.pm
index 6511661..424f4a3 100644
--- a/lib/LWP/UserAgent/Paranoid.pm
+++ b/lib/LWP/UserAgent/Paranoid.pm
@@ -14,6 +14,7 @@ use base 'LWP::UserAgent';
 our $VERSION = "0.93";
 
 use Scalar::Util          qw/ refaddr /;
+use Time::HiRes           qw/ alarm /;
 use LWPx::ParanoidHandler qw//;
 use Net::DNS::Paranoid    qw//;
 

commit 8db23ae217dc84d6af41ed1b9502ce0a3b536ddd
Author: Andrew Rodland <andrew at cleverdomain.org>
Date:   Fri Jun 28 21:18:06 2013 -0400

    Add Time::HiRes to Makefile.PL
    
    As Time::HiRes is core since 5.7.x this has very little effect, but maybe someone wants to install on 5.6. I dunno. Seems right to be explicit.

diff --git a/META.yml b/META.yml
index e9c5672..bdb2918 100644
--- a/META.yml
+++ b/META.yml
@@ -26,6 +26,7 @@ requires:
   LWPx::ParanoidHandler: 0
   Net::DNS::Paranoid: 0
   Scalar::Util: 0
+  Time::HiRes: 0
 resources:
   license: http://opensource.org/licenses/gpl-license.php
   repository: https://github.com/bestpractical/lwp-useragent-paranoid.git
diff --git a/Makefile.PL b/Makefile.PL
index 71677a7..f8fed4a 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -11,6 +11,7 @@ requires 'LWP::UserAgent';
 requires 'LWPx::ParanoidHandler';
 requires 'Net::DNS::Paranoid';
 requires 'Scalar::Util';
+requires 'Time::HiRes';
 
 test_requires 'Test::Requires';
 test_requires 'Test::TCP';

commit 3f4da861f545bf07bc61c73b3e62c988cb67281b
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Jul 1 11:04:09 2013 -0700

    Note that fractional seconds are now OK

diff --git a/README b/README
index 6050f2f..5373c52 100644
--- a/README
+++ b/README
@@ -5,7 +5,7 @@ NAME
 SYNOPSIS
         use LWP::UserAgent::Paranoid;
         my $ua = LWP::UserAgent::Paranoid->new(
-            request_timeout => 5   # seconds
+            request_timeout => 5   # seconds; may be fractional
         );
 
         # use $ua as a normal LWP::UserAgent...
@@ -56,7 +56,8 @@ METHODS
 
   request_timeout
     Gets/sets the timeout which encapsulates each logical request, including
-    any redirects which are followed. The default is 5 seconds.
+    any redirects which are followed. The default is 5 seconds. Fractional
+    seconds are OK.
 
   resolver
     Gets/sets the DNS resolver which is used to block private hosts. There
diff --git a/lib/LWP/UserAgent/Paranoid.pm b/lib/LWP/UserAgent/Paranoid.pm
index 424f4a3..193b412 100644
--- a/lib/LWP/UserAgent/Paranoid.pm
+++ b/lib/LWP/UserAgent/Paranoid.pm
@@ -22,7 +22,7 @@ use Net::DNS::Paranoid    qw//;
 
     use LWP::UserAgent::Paranoid;
     my $ua = LWP::UserAgent::Paranoid->new(
-        request_timeout => 5   # seconds
+        request_timeout => 5   # seconds; may be fractional
     );
 
     # use $ua as a normal LWP::UserAgent...
@@ -82,7 +82,8 @@ the following methods are available:
 =head2 request_timeout
 
 Gets/sets the timeout which encapsulates each logical request, including any
-redirects which are followed.  The default is 5 seconds.
+redirects which are followed.  The default is 5 seconds.  Fractional seconds
+are OK.
 
 =head2 resolver
 

commit f7454cbe2f85e70a50192f2e2e80f0dcbf747d1a
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Jul 1 11:04:25 2013 -0700

    Releng for 0.94

diff --git a/Changes b/Changes
new file mode 100644
index 0000000..b3de2c2
--- /dev/null
+++ b/Changes
@@ -0,0 +1,3 @@
+0.94    Mon Jul  1 11:04:41 PDT 2013
+
+    * Support fractional seconds in request_timeout (Andrew Rodland)
diff --git a/MANIFEST b/MANIFEST
index 0a36695..feecc14 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,3 +1,4 @@
+Changes
 inc/Module/Install.pm
 inc/Module/Install/Base.pm
 inc/Module/Install/Can.pm
@@ -11,6 +12,7 @@ lib/LWP/UserAgent/Paranoid.pm
 lib/LWP/UserAgent/Paranoid/Test.pm
 Makefile.PL
 MANIFEST			This list of files
+MANIFEST.SKIP
 META.yml
 README
 t/alarm.t
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
new file mode 100644
index 0000000..0c524a5
--- /dev/null
+++ b/MANIFEST.SKIP
@@ -0,0 +1,61 @@
+
+#!start included /opt/perlbrew/perls/perl-5.16.2/lib/5.16.3/ExtUtils/MANIFEST.SKIP
+# Avoid version control files.
+\bRCS\b
+\bCVS\b
+\bSCCS\b
+,v$
+\B\.svn\b
+\B\.git\b
+\B\.gitignore\b
+\b_darcs\b
+\B\.cvsignore$
+
+# Avoid VMS specific MakeMaker generated files
+\bDescrip.MMS$
+\bDESCRIP.MMS$
+\bdescrip.mms$
+
+# Avoid Makemaker generated and utility files.
+\bMANIFEST\.bak
+\bMakefile$
+\bblib/
+\bMakeMaker-\d
+\bpm_to_blib\.ts$
+\bpm_to_blib$
+\bblibdirs\.ts$         # 6.18 through 6.25 generated this
+
+# Avoid Module::Build generated and utility files.
+\bBuild$
+\b_build/
+\bBuild.bat$
+\bBuild.COM$
+\bBUILD.COM$
+\bbuild.com$
+
+# Avoid temp and backup files.
+~$
+\.old$
+\#$
+\b\.#
+\.bak$
+\.tmp$
+\.#
+\.rej$
+
+# Avoid OS-specific files/dirs
+# Mac OSX metadata
+\B\.DS_Store
+# Mac OSX SMB mount metadata files
+\B\._
+
+# Avoid Devel::Cover and Devel::CoverX::Covered files.
+\bcover_db\b
+\bcovered\b
+
+# Avoid MYMETA files
+^MYMETA\.
+#!end included /opt/perlbrew/perls/perl-5.16.2/lib/5.16.3/ExtUtils/MANIFEST.SKIP
+
+
+\.tar\.gz$
diff --git a/META.yml b/META.yml
index bdb2918..e035fa4 100644
--- a/META.yml
+++ b/META.yml
@@ -30,4 +30,4 @@ requires:
 resources:
   license: http://opensource.org/licenses/gpl-license.php
   repository: https://github.com/bestpractical/lwp-useragent-paranoid.git
-version: 0.93
+version: 0.94
diff --git a/lib/LWP/UserAgent/Paranoid.pm b/lib/LWP/UserAgent/Paranoid.pm
index 193b412..c67240e 100644
--- a/lib/LWP/UserAgent/Paranoid.pm
+++ b/lib/LWP/UserAgent/Paranoid.pm
@@ -11,7 +11,7 @@ LWP::UserAgent::Paranoid - A modern LWPx::ParanoidAgent for safer requests
 package LWP::UserAgent::Paranoid;
 use base 'LWP::UserAgent';
 
-our $VERSION = "0.93";
+our $VERSION = "0.94";
 
 use Scalar::Util          qw/ refaddr /;
 use Time::HiRes           qw/ alarm /;

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list