r39805 - in /trunk/libhtml-formfu-model-dbic-perl: ./ debian/ lib/HTML/FormFu/Model/ t/lib/HTMLFormFu/ t/options_from_model/

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Jul 12 23:35:33 UTC 2009


Author: gregoa
Date: Sun Jul 12 23:35:28 2009
New Revision: 39805

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=39805
Log:
New upstream release.

Added:
    trunk/libhtml-formfu-model-dbic-perl/t/lib/HTMLFormFu/MockContext.pm
      - copied unchanged from r39804, branches/upstream/libhtml-formfu-model-dbic-perl/current/t/lib/HTMLFormFu/MockContext.pm
Modified:
    trunk/libhtml-formfu-model-dbic-perl/Changes
    trunk/libhtml-formfu-model-dbic-perl/MANIFEST
    trunk/libhtml-formfu-model-dbic-perl/META.yml
    trunk/libhtml-formfu-model-dbic-perl/Makefile.PL
    trunk/libhtml-formfu-model-dbic-perl/debian/changelog
    trunk/libhtml-formfu-model-dbic-perl/lib/HTML/FormFu/Model/DBIC.pm
    trunk/libhtml-formfu-model-dbic-perl/t/options_from_model/has_many_repeatable_select.t
    trunk/libhtml-formfu-model-dbic-perl/t/options_from_model/many_to_many_select.t

Modified: trunk/libhtml-formfu-model-dbic-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-formfu-model-dbic-perl/Changes?rev=39805&op=diff
==============================================================================
--- trunk/libhtml-formfu-model-dbic-perl/Changes (original)
+++ trunk/libhtml-formfu-model-dbic-perl/Changes Sun Jul 12 23:35:28 2009
@@ -1,3 +1,8 @@
+0.05002 2009-07-06
+
+    - Remove prerequisite Test::MockObject - it uses UNIVERSAL::isa which
+      was causing test failures.
+
 0.05001 2009-07-03
 
     - Fix delete_if_true to work inside a surrounding block.
@@ -7,9 +12,6 @@
     - Bump DBIx::Class prerequisite to 0.08106, when it switched from using
       DateTime::Format::MySQL to DateTime::Format::SQLite.
     
-    - Remove prerequisite Test::MockObject - it uses UNIVERSAL::isa which
-      was causing test failures.
-
 0.05000 2009-05-26
 
     - Fix update() "primary key and the foreign key may not be the same column"

Modified: trunk/libhtml-formfu-model-dbic-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-formfu-model-dbic-perl/MANIFEST?rev=39805&op=diff
==============================================================================
--- trunk/libhtml-formfu-model-dbic-perl/MANIFEST (original)
+++ trunk/libhtml-formfu-model-dbic-perl/MANIFEST Sun Jul 12 23:35:28 2009
@@ -158,6 +158,7 @@
 t/lib/DBICTestLib.pm
 t/lib/HTMLFormFu/I18N.pm
 t/lib/HTMLFormFu/I18N/en.pm
+t/lib/HTMLFormFu/MockContext.pm
 t/lib/MySchema.pm
 t/lib/MySchema/Address.pm
 t/lib/MySchema/Band.pm

Modified: trunk/libhtml-formfu-model-dbic-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-formfu-model-dbic-perl/META.yml?rev=39805&op=diff
==============================================================================
--- trunk/libhtml-formfu-model-dbic-perl/META.yml (original)
+++ trunk/libhtml-formfu-model-dbic-perl/META.yml Sun Jul 12 23:35:28 2009
@@ -5,7 +5,6 @@
 build_requires:
   DateTime::Format::SQLite: 0
   ExtUtils::MakeMaker: 6.42
-  Test::MockObject: 0
 configure_requires:
   ExtUtils::MakeMaker: 6.42
 distribution_type: module
@@ -28,4 +27,4 @@
   perl: 5.8.1
 resources:
   license: http://dev.perl.org/licenses/
-version: 0.05001
+version: 0.05002

Modified: trunk/libhtml-formfu-model-dbic-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-formfu-model-dbic-perl/Makefile.PL?rev=39805&op=diff
==============================================================================
--- trunk/libhtml-formfu-model-dbic-perl/Makefile.PL (original)
+++ trunk/libhtml-formfu-model-dbic-perl/Makefile.PL Sun Jul 12 23:35:28 2009
@@ -15,7 +15,6 @@
 requires 'Task::Weaken'; # to ensure Scalar::Util was built with weaken()
 
 test_requires 'DateTime::Format::SQLite';
-test_requires 'Test::MockObject';
 
 tests_recursive;
 

Modified: trunk/libhtml-formfu-model-dbic-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-formfu-model-dbic-perl/debian/changelog?rev=39805&op=diff
==============================================================================
--- trunk/libhtml-formfu-model-dbic-perl/debian/changelog (original)
+++ trunk/libhtml-formfu-model-dbic-perl/debian/changelog Sun Jul 12 23:35:28 2009
@@ -1,4 +1,4 @@
-libhtml-formfu-model-dbic-perl (0.05001-1) UNRELEASED; urgency=low
+libhtml-formfu-model-dbic-perl (0.05002-1) UNRELEASED; urgency=low
 
   PROBLEM:
   - the testsuite crashes my machine
@@ -9,7 +9,7 @@
   * debian/control: adjust build and runtime dependencies to upstream
     requirements.
 
- -- gregor herrmann <gregoa at debian.org>  Sun, 05 Jul 2009 15:57:11 +0200
+ -- gregor herrmann <gregoa at debian.org>  Mon, 13 Jul 2009 01:33:59 +0200
 
 libhtml-formfu-model-dbic-perl (0.05000-2) unstable; urgency=low
 

Modified: trunk/libhtml-formfu-model-dbic-perl/lib/HTML/FormFu/Model/DBIC.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-formfu-model-dbic-perl/lib/HTML/FormFu/Model/DBIC.pm?rev=39805&op=diff
==============================================================================
--- trunk/libhtml-formfu-model-dbic-perl/lib/HTML/FormFu/Model/DBIC.pm (original)
+++ trunk/libhtml-formfu-model-dbic-perl/lib/HTML/FormFu/Model/DBIC.pm Sun Jul 12 23:35:28 2009
@@ -9,7 +9,7 @@
 use Storable qw( dclone );
 use Carp qw( croak );
 
-our $VERSION = '0.05001';
+our $VERSION = '0.05002';
 $VERSION = eval $VERSION;
 
 # sub _compatible_config() is only required as long as we support deprecated

Modified: trunk/libhtml-formfu-model-dbic-perl/t/options_from_model/has_many_repeatable_select.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-formfu-model-dbic-perl/t/options_from_model/has_many_repeatable_select.t?rev=39805&op=diff
==============================================================================
--- trunk/libhtml-formfu-model-dbic-perl/t/options_from_model/has_many_repeatable_select.t (original)
+++ trunk/libhtml-formfu-model-dbic-perl/t/options_from_model/has_many_repeatable_select.t Sun Jul 12 23:35:28 2009
@@ -6,8 +6,7 @@
 use lib 't/lib';
 use DBICTestLib 'new_db';
 use MySchema;
-use Test::MockObject;
-my $context = Test::MockObject->new();
+
 new_db();
 
 my $form = HTML::FormFu->new;

Modified: trunk/libhtml-formfu-model-dbic-perl/t/options_from_model/many_to_many_select.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-formfu-model-dbic-perl/t/options_from_model/many_to_many_select.t?rev=39805&op=diff
==============================================================================
--- trunk/libhtml-formfu-model-dbic-perl/t/options_from_model/many_to_many_select.t (original)
+++ trunk/libhtml-formfu-model-dbic-perl/t/options_from_model/many_to_many_select.t Sun Jul 12 23:35:28 2009
@@ -5,9 +5,9 @@
 use HTML::FormFu;
 use lib 't/lib';
 use DBICTestLib 'new_db';
+use HTMLFormFu::MockContext;
 use MySchema;
-use Test::MockObject;
-my $context = Test::MockObject->new();
+
 new_db();
 
 my $form = HTML::FormFu->new;
@@ -15,7 +15,11 @@
 $form->load_config_file('t/options_from_model/many_to_many_select.yml');
 
 my $schema = MySchema->connect('dbi:SQLite:dbname=t/test.db');
-$context->mock( model => sub { $schema->resultset('Band') } );
+
+my $context = HTMLFormFu::MockContext->new( {
+    model => $schema->resultset('Band'),
+} );
+
 $form->stash( { context => $context } );
 
 my $master = $schema->resultset('Master')->create({ id => 1 });




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