Hello community,

here is the log from the commit of package perl-Test-FailWarnings for 
openSUSE:Factory checked in at 2013-08-27 21:04:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-FailWarnings (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-FailWarnings.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-FailWarnings"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Test-FailWarnings/perl-Test-FailWarnings.changes
    2013-08-01 16:00:43.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-FailWarnings.new/perl-Test-FailWarnings.changes
       2013-08-27 21:04:26.000000000 +0200
@@ -2 +2,6 @@
-Wed Jul 17 12:59:05 UTC 2013 - [email protected]
+Tue Aug 27 11:09:18 UTC 2013 - [email protected] 
+
+- Update to version 0.006 
+
+-------------------------------------------------------------------
+Wed Jul 17 12:59:05 UTC 2013 - [email protected]

Old:
----
  Test-FailWarnings-0.005.tar.gz

New:
----
  Test-FailWarnings-0.006.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Test-FailWarnings.spec ++++++
--- /var/tmp/diff_new_pack.wUHx06/_old  2013-08-27 21:04:27.000000000 +0200
+++ /var/tmp/diff_new_pack.wUHx06/_new  2013-08-27 21:04:27.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Test-FailWarnings
-Version:        0.005
+Version:        0.006
 Release:        0
 %define cpan_name Test-FailWarnings
 Summary:        Add test failures if warnings are caught
@@ -31,8 +31,6 @@
 BuildRequires:  perl-macros
 BuildRequires:  perl(Capture::Tiny) >= 0.12
 BuildRequires:  perl(Test::More) >= 0.96
-#BuildRequires: perl(Noisy)
-#BuildRequires: perl(Test::FailWarnings)
 Requires:       perl(Test::More) >= 0.86
 %{perl_requires}
 

++++++ Test-FailWarnings-0.005.tar.gz -> Test-FailWarnings-0.006.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-FailWarnings-0.005/Changes 
new/Test-FailWarnings-0.006/Changes
--- old/Test-FailWarnings-0.005/Changes 2013-05-03 20:03:31.000000000 +0200
+++ new/Test-FailWarnings-0.006/Changes 2013-08-22 16:41:14.000000000 +0200
@@ -1,5 +1,11 @@
 Revision history for Test-FailWarnings
 
+0.006     2013-08-22 10:41:11 America/New_York
+
+    [CHANGED]
+
+    - The label of the failing test has been revised for clarity
+
 0.005     2013-05-03 14:03:28 America/New_York
 
     [DOCUMENTED]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-FailWarnings-0.005/META.json 
new/Test-FailWarnings-0.006/META.json
--- old/Test-FailWarnings-0.005/META.json       2013-05-03 20:03:31.000000000 
+0200
+++ new/Test-FailWarnings-0.006/META.json       2013-08-22 16:41:14.000000000 
+0200
@@ -4,7 +4,7 @@
       "David Golden <[email protected]>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 4.300034, CPAN::Meta::Converter 
version 2.130880",
+   "generated_by" : "Dist::Zilla version 4.300035, CPAN::Meta::Converter 
version 2.132140",
    "license" : [
       "apache_2_0"
    ],
@@ -51,19 +51,20 @@
          "requires" : {
             "Capture::Tiny" : "0.12",
             "ExtUtils::MakeMaker" : "0",
-            "File::Find" : "0",
             "File::Spec::Functions" : "0",
             "File::Temp" : "0",
             "List::Util" : "0",
             "Test::More" : "0.96",
-            "constant" : "0"
+            "blib" : "0",
+            "constant" : "0",
+            "lib" : "0"
          }
       }
    },
    "provides" : {
       "Test::FailWarnings" : {
          "file" : "lib/Test/FailWarnings.pm",
-         "version" : "0.005"
+         "version" : "0.006"
       }
    },
    "release_status" : "stable",
@@ -78,6 +79,7 @@
          "web" : "https://github.com/dagolden/test-failwarnings";
       }
    },
-   "version" : "0.005"
+   "version" : "0.006",
+   "x_authority" : "cpan:DAGOLDEN"
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-FailWarnings-0.005/META.yml 
new/Test-FailWarnings-0.006/META.yml
--- old/Test-FailWarnings-0.005/META.yml        2013-05-03 20:03:31.000000000 
+0200
+++ new/Test-FailWarnings-0.006/META.yml        2013-08-22 16:41:14.000000000 
+0200
@@ -5,16 +5,17 @@
 build_requires:
   Capture::Tiny: 0.12
   ExtUtils::MakeMaker: 0
-  File::Find: 0
   File::Spec::Functions: 0
   File::Temp: 0
   List::Util: 0
   Test::More: 0.96
+  blib: 0
   constant: 0
+  lib: 0
 configure_requires:
   ExtUtils::MakeMaker: 6.30
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300034, CPAN::Meta::Converter version 
2.130880'
+generated_by: 'Dist::Zilla version 4.300035, CPAN::Meta::Converter version 
2.132140'
 license: apache
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -31,7 +32,7 @@
 provides:
   Test::FailWarnings:
     file: lib/Test/FailWarnings.pm
-    version: 0.005
+    version: 0.006
 requires:
   Carp: 0
   Test::More: 0.86
@@ -42,4 +43,5 @@
   bugtracker: https://github.com/dagolden/test-failwarnings/issues
   homepage: https://metacpan.org/release/Test-FailWarnings
   repository: git://github.com/dagolden/test-failwarnings.git
-version: 0.005
+version: 0.006
+x_authority: cpan:DAGOLDEN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-FailWarnings-0.005/Makefile.PL 
new/Test-FailWarnings-0.006/Makefile.PL
--- old/Test-FailWarnings-0.005/Makefile.PL     2013-05-03 20:03:31.000000000 
+0200
+++ new/Test-FailWarnings-0.006/Makefile.PL     2013-08-22 16:41:14.000000000 
+0200
@@ -28,14 +28,15 @@
   "TEST_REQUIRES" => {
     "Capture::Tiny" => "0.12",
     "ExtUtils::MakeMaker" => 0,
-    "File::Find" => 0,
     "File::Spec::Functions" => 0,
     "File::Temp" => 0,
     "List::Util" => 0,
     "Test::More" => "0.96",
-    "constant" => 0
+    "blib" => 0,
+    "constant" => 0,
+    "lib" => 0
   },
-  "VERSION" => "0.005",
+  "VERSION" => "0.006",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-FailWarnings-0.005/README 
new/Test-FailWarnings-0.006/README
--- old/Test-FailWarnings-0.005/README  2013-05-03 20:03:31.000000000 +0200
+++ new/Test-FailWarnings-0.006/README  2013-08-22 16:41:14.000000000 +0200
@@ -2,7 +2,7 @@
     Test::FailWarnings - Add test failures if warnings are caught
 
 VERSION
-    version 0.005
+    version 0.006
 
 SYNOPSIS
     Test file:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-FailWarnings-0.005/lib/Test/FailWarnings.pm 
new/Test-FailWarnings-0.006/lib/Test/FailWarnings.pm
--- old/Test-FailWarnings-0.005/lib/Test/FailWarnings.pm        2013-05-03 
20:03:31.000000000 +0200
+++ new/Test-FailWarnings-0.006/lib/Test/FailWarnings.pm        2013-08-22 
16:41:14.000000000 +0200
@@ -4,7 +4,7 @@
 
 package Test::FailWarnings;
 # ABSTRACT: Add test failures if warnings are caught
-our $VERSION = '0.005'; # VERSION
+our $VERSION = '0.006'; # VERSION
 
 use Test::More 0.86;
 use Carp;
@@ -45,7 +45,7 @@
         $msg = "'$msg'";
     }
     my $builder = Test::More->builder;
-    $builder->ok( 0, "Caught warning" )
+    $builder->ok( 0, "Test::FailWarnings should catch no warnings" )
       or $builder->diag("Warning was $msg");
 }
 
@@ -76,7 +76,7 @@
 
 =head1 VERSION
 
-version 0.005
+version 0.006
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-FailWarnings-0.005/t/00-compile.t 
new/Test-FailWarnings-0.006/t/00-compile.t
--- old/Test-FailWarnings-0.005/t/00-compile.t  2013-05-03 20:03:31.000000000 
+0200
+++ new/Test-FailWarnings-0.006/t/00-compile.t  2013-08-22 16:41:14.000000000 
+0200
@@ -1,74 +1,42 @@
-#!perl
-
 use strict;
 use warnings;
 
-use Test::More;
+# This test was generated via Dist::Zilla::Plugin::Test::Compile 2.018
+
+use Test::More 0.88;
+
+
 
+use Capture::Tiny qw{ capture };
 
+my @module_files = qw(
+Test/FailWarnings.pm
+);
 
-use File::Find;
-use File::Temp qw{ tempdir };
+my @scripts = qw(
 
-my @modules;
-find(
-  sub {
-    return if $File::Find::name !~ /\.pm\z/;
-    my $found = $File::Find::name;
-    $found =~ s{^lib/}{};
-    $found =~ s{[/\\]}{::}g;
-    $found =~ s/\.pm$//;
-    # nothing to skip
-    push @modules, $found;
-  },
-  'lib',
 );
 
-sub _find_scripts {
-    my $dir = shift @_;
+# fake home for cpan-testers
+use File::Temp;
+local $ENV{HOME} = File::Temp::tempdir( CLEANUP => 1 );
 
-    my @found_scripts = ();
-    find(
-      sub {
-        return unless -f;
-        my $found = $File::Find::name;
-        # nothing to skip
-        open my $FH, '<', $_ or do {
-          note( "Unable to open $found in ( $! ), skipping" );
-          return;
-        };
-        my $shebang = <$FH>;
-        return unless $shebang =~ /^#!.*?\bperl\b\s*$/;
-        push @found_scripts, $found;
-      },
-      $dir,
-    );
 
-    return @found_scripts;
+my @warnings;
+for my $lib (@module_files)
+{
+    my ($stdout, $stderr, $exit) = capture {
+        system($^X, '-Mblib', '-e', qq{require q[$lib]});
+    };
+    is($?, 0, "$lib loaded ok");
+    warn $stderr if $stderr;
+    push @warnings, $stderr if $stderr;
 }
 
-my @scripts;
-do { push @scripts, _find_scripts($_) if -d $_ }
-    for qw{ bin script scripts };
 
-my $plan = scalar(@modules) + scalar(@scripts);
-$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run");
 
-{
-    # fake home for cpan-testers
-     local $ENV{HOME} = tempdir( CLEANUP => 1 );
+is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
 
-    like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_ 
loaded ok" )
-        for sort @modules;
 
-    SKIP: {
-        eval "use Test::Script 1.05; 1;";
-        skip "Test::Script needed to test script compilation", 
scalar(@scripts) if $@;
-        foreach my $file ( @scripts ) {
-            my $script = $file;
-            $script =~ s!.*/!!;
-            script_compiles( $file, "$script script compiles" );
-        }
-    }
 
-}
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-FailWarnings-0.005/t/00-report-prereqs.t 
new/Test-FailWarnings-0.006/t/00-report-prereqs.t
--- old/Test-FailWarnings-0.005/t/00-report-prereqs.t   2013-05-03 
20:03:31.000000000 +0200
+++ new/Test-FailWarnings-0.006/t/00-report-prereqs.t   2013-08-22 
16:41:14.000000000 +0200
@@ -13,12 +13,13 @@
   Capture::Tiny
   Carp
   ExtUtils::MakeMaker
-  File::Find
   File::Spec::Functions
   File::Temp
   List::Util
   Test::More
+  blib
   constant
+  lib
   perl
   strict
   warnings

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to