[libtest-requiresinternet-perl] 04/06: Imported Upstream version 0.02

gregor herrmann gregoa at debian.org
Thu Jul 3 18:11:13 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libtest-requiresinternet-perl.

commit 63e6a99c61d04bbbb0175417a898596bd730f8fa
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Jul 3 20:05:59 2014 +0200

    Imported Upstream version 0.02
---
 Changes                      | 5 +++++
 META.json                    | 2 +-
 META.yml                     | 2 +-
 Makefile.PL                  | 2 +-
 README                       | 2 +-
 dist.ini                     | 2 +-
 lib/Test/RequiresInternet.pm | 4 ++--
 t/00_load.t                  | 3 ++-
 8 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/Changes b/Changes
index 89b38ca..d98953b 100644
--- a/Changes
+++ b/Changes
@@ -1,4 +1,9 @@
 Change history for Test-RequiresInternet
 
+0.02        2014-07-02
+            Use 'require_ok' instead of 'use_ok' so we 
+            don't run import() in environments where no
+            network is available.                        (RT #96892)
+
 0.01        2014-06-24
             Initial release
diff --git a/META.json b/META.json
index ad94d0f..5dd488e 100644
--- a/META.json
+++ b/META.json
@@ -45,6 +45,6 @@
          "web" : "https://github.com/mrallen1/Test-RequiresInternet"
       }
    },
-   "version" : "0.01"
+   "version" : "0.02"
 }
 
diff --git a/META.yml b/META.yml
index 638c89d..52838ab 100644
--- a/META.yml
+++ b/META.yml
@@ -21,4 +21,4 @@ resources:
   bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Test-RequiresInternet
   homepage: https://metacpan.org/dist/Test-RequiresInternet
   repository: git://github.com/mrallen1/Test-RequiresInternet.git
-version: 0.01
+version: 0.02
diff --git a/Makefile.PL b/Makefile.PL
index 52d1a1c..04a2cd3 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -27,7 +27,7 @@ my %WriteMakefileArgs = (
   "TEST_REQUIRES" => {
     "Test::More" => 0
   },
-  "VERSION" => "0.01",
+  "VERSION" => "0.02",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff --git a/README b/README
index 0ae6b5a..6645f65 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ NAME
     Test::RequiresInternet - Easily test network connectivity
 
 VERSION
-    version 0.01
+    version 0.02
 
 SYNOPSIS
       use Test::More;
diff --git a/dist.ini b/dist.ini
index cd29d35..be772ac 100644
--- a/dist.ini
+++ b/dist.ini
@@ -4,7 +4,7 @@ license = Perl_5
 copyright_holder = Mark Allen
 copyright_year   = 2014
 
-version = 0.01
+version = 0.02
 
 [NextRelease]
 format = %-9v   %{yyyy-MM-dd}d
diff --git a/lib/Test/RequiresInternet.pm b/lib/Test/RequiresInternet.pm
index ac8a44f..5fcbb3f 100644
--- a/lib/Test/RequiresInternet.pm
+++ b/lib/Test/RequiresInternet.pm
@@ -2,7 +2,7 @@ use strict;
 use warnings;
 package Test::RequiresInternet;
 {
-  $Test::RequiresInternet::VERSION = '0.01';
+  $Test::RequiresInternet::VERSION = '0.02';
 }
 
 # ABSTRACT: Easily test network connectivity
@@ -84,7 +84,7 @@ Test::RequiresInternet - Easily test network connectivity
 
 =head1 VERSION
 
-version 0.01
+version 0.02
 
 =head1 SYNOPSIS
 
diff --git a/t/00_load.t b/t/00_load.t
index b9de04e..3e260e1 100644
--- a/t/00_load.t
+++ b/t/00_load.t
@@ -1,9 +1,10 @@
 #!perl -T
 
 use Test::More tests => 1;
+use strict;
 
 BEGIN {
-    use_ok( 'Test::RequiresInternet' ) || print "Bail out!\n";
+    require_ok( 'Test::RequiresInternet' ) || print "Bail out!\n";
 }
 
 diag( "Testing Test::RequiresInternet $Test::RequiresInternet::VERSION, Perl $], $^X" );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtest-requiresinternet-perl.git



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