Depend on Net::SSLeay and test on it (and not Crypt::SSLeay), to
authorIvan Kohler <ivan@freeside.biz>
Mon, 12 May 2014 23:16:43 +0000 (16:16 -0700)
committerIvan Kohler <ivan@freeside.biz>
Mon, 12 May 2014 23:16:43 +0000 (16:16 -0700)
          eliminate spurious test failures and increase installability.  Alas,
          but the last four years have not provided OR relationships in CPAN
          dependencies.

Changes
Makefile.PL
lib/Net/HTTPS/Any.pm
t/get-cryptssleay.t
t/post-cryptssleay.t

diff --git a/Changes b/Changes
index 61dcc92..477a59c 100644 (file)
--- a/Changes
+++ b/Changes
@@ -2,6 +2,12 @@ Revision history for Net-HTTPS-Any
 
 0.11    unreleased
         - doc: update example in synopsis
+        - Depend on Net::SSLeay and test on it (and not Crypt::SSLeay), to
+          eliminate spurious test failures and increase installability.  Alas,
+          but the last four years have not provided OR relationships in CPAN
+          dependencies.
+        - TODO: document our usage of LWP isn't necessarily Crypt::SSLeay with
+          new (which?) LWP versions.
 
 0.10    Sat May  1 13:39:39 PDT 2010
         - Pull in changes from Business::OnlinePayment::HTTPS 0.09 from
index 2fe34d0..3181e4a 100644 (file)
@@ -17,6 +17,11 @@ WriteMakefile(
         # 'Net::SSLeay' => 0,
         # or 'Crypt::SSLeay' => 0,
         #    'LWP' => 0,
+
+        #failing tests is worse, Net::SSLeay appears to finally have emerged
+        # as best-practice with the release of LWP::Protocol::https that uses
+        # IO::Socket::SSL and therefore Net::SSLeay
+        'Net::SSLeay' => 0,
     },
     dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
     clean               => { FILES => 'Net-HTTPS-Any-*' },
index 17faa74..0631d73 100644 (file)
@@ -47,7 +47,7 @@ Net::HTTPS::Any - Simple HTTPS client using whichever underlying SSL module is a
 
 =cut
 
-our $VERSION = '0.11';
+our $VERSION = '0.11_01';
 
 =head1 SYNOPSIS
 
index 53f1cdb..fa2ef21 100644 (file)
@@ -5,6 +5,9 @@ use warnings;
 use Test::More;
 
 BEGIN {
+
+  plan skip_all => "LWP tests disabled to avoid excessive dependencies";
+
   plan( tests=>4 );
   $Net::HTTPS::Any::skip_NetSSLeay=1;
   $Net::HTTPS::Any::skip_NetSSLeay=1;
index 168f1ea..7f99b0a 100644 (file)
@@ -5,6 +5,9 @@ use warnings;
 use Test::More;
 
 BEGIN {
+
+  plan skip_all => "LWP tests disabled to avoid excessive dependencies";
+
   plan( tests=>4 );
   $Net::HTTPS::Any::skip_NetSSLeay=1;
   $Net::HTTPS::Any::skip_NetSSLeay=1;