Hello community,

here is the log from the commit of package perl-Test-Spec for openSUSE:Factory 
checked in at 2015-08-02 22:46:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Spec (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-Spec.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-Spec"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Spec/perl-Test-Spec.changes    
2015-04-22 01:18:35.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Test-Spec.new/perl-Test-Spec.changes       
2015-08-02 22:46:18.000000000 +0200
@@ -1,0 +2,10 @@
+Sat Aug  1 09:04:44 UTC 2015 - co...@suse.com
+
+- updated to 0.51
+   see /usr/share/doc/packages/perl-Test-Spec/Changes
+
+  0.51 Mon Jul 27 20:05:00 BST 2015
+    - Fixed top level describe blocks running out of order
+      Contributed by @mla (issue #28)
+
+-------------------------------------------------------------------

Old:
----
  Test-Spec-0.50.tar.gz

New:
----
  Test-Spec-0.51.tar.gz

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

Other differences:
------------------
++++++ perl-Test-Spec.spec ++++++
--- /var/tmp/diff_new_pack.wuKjYn/_old  2015-08-02 22:46:19.000000000 +0200
+++ /var/tmp/diff_new_pack.wuKjYn/_new  2015-08-02 22:46:19.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Test-Spec
-Version:        0.50
+Version:        0.51
 Release:        0
 %define cpan_name Test-Spec
 Summary:        Write tests in a declarative specification style

++++++ Test-Spec-0.50.tar.gz -> Test-Spec-0.51.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spec-0.50/Changes new/Test-Spec-0.51/Changes
--- old/Test-Spec-0.50/Changes  2015-04-19 19:15:56.000000000 +0200
+++ new/Test-Spec-0.51/Changes  2015-07-27 21:07:38.000000000 +0200
@@ -1,5 +1,9 @@
 Revision history for Perl extension Test::Spec.
 
+0.51 Mon Jul 27 20:05:00 BST 2015
+  - Fixed top level describe blocks running out of order
+    Contributed by @mla (issue #28)
+
 0.50 Sun Apr 19 18:13:00 BST 2015
   - Removed several memory leaks
     Reported by @JRaspass (issue #24)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spec-0.50/MANIFEST new/Test-Spec-0.51/MANIFEST
--- old/Test-Spec-0.50/MANIFEST 2015-04-19 19:46:53.000000000 +0200
+++ new/Test-Spec-0.51/MANIFEST 2015-07-27 21:14:00.000000000 +0200
@@ -22,6 +22,7 @@
 t/import_warnings.t
 t/mocks.t
 t/mocks_imports.t
+t/ordering.t
 t/perl_warning_spec.pl
 t/predictable_destroy.pl
 t/predictable_destroy_spec.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spec-0.50/META.json new/Test-Spec-0.51/META.json
--- old/Test-Spec-0.50/META.json        2015-04-19 19:46:53.000000000 +0200
+++ new/Test-Spec-0.51/META.json        2015-07-27 21:14:00.000000000 +0200
@@ -30,5 +30,5 @@
          "web" : "https://github.com/kingpong/perl-Test-Spec";
       }
    },
-   "version" : "0.50"
+   "version" : "0.51"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spec-0.50/META.yml new/Test-Spec-0.51/META.yml
--- old/Test-Spec-0.50/META.yml 2015-04-19 19:46:53.000000000 +0200
+++ new/Test-Spec-0.51/META.yml 2015-07-27 21:14:00.000000000 +0200
@@ -17,4 +17,4 @@
 resources:
   bugtracker: https://github.com/kingpong/perl-Test-Spec/issues
   repository: https://github.com/kingpong/perl-Test-Spec
-version: 0.50
+version: 0.51
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spec-0.50/lib/Test/Spec.pm 
new/Test-Spec-0.51/lib/Test/Spec.pm
--- old/Test-Spec-0.50/lib/Test/Spec.pm 2015-04-19 19:13:07.000000000 +0200
+++ new/Test-Spec-0.51/lib/Test/Spec.pm 2015-07-27 21:07:47.000000000 +0200
@@ -3,7 +3,7 @@
 use warnings;
 use Test::Trap ();        # load as early as possible to override CORE::exit
 
-our $VERSION = '0.50';
+our $VERSION = '0.51';
 
 use base qw(Exporter);
 
@@ -203,7 +203,7 @@
     $container = $_Current_Context->context_lookup;
   }
   else {
-    $container = $_Package_Contexts{$package} ||= {};
+    $container = $_Package_Contexts{$package} ||= Test::Spec::_ixhash();
   }
 
   __PACKAGE__->_accumulate_examples({
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Spec-0.50/t/ordering.t 
new/Test-Spec-0.51/t/ordering.t
--- old/Test-Spec-0.50/t/ordering.t     1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Spec-0.51/t/ordering.t     2015-07-27 21:01:57.000000000 +0200
@@ -0,0 +1,25 @@
+#!/usr/bin/env perl
+#
+# ordering.pl
+#
+# Verify that describe blocks are executed in order of definition.
+#
+########################################################################
+#
+
+use Test::Spec;
+use FindBin qw($Bin);
+BEGIN { require "$Bin/test_helper.pl" };
+
+my $num_contexts = 10;
+
+my $next_expected = 1;
+for my $num (1..$num_contexts) {
+  describe "Context $num" => sub {
+    it "should run in position $num" => sub {
+      is $next_expected++, $num;
+    };
+  }
+};
+
+runtests(@ARGV) unless caller;


Reply via email to