r24467 - in /trunk/libhtml-formfu-model-dbic-perl: Changes META.yml Makefile.PL debian/changelog debian/control lib/HTML/FormFu/Model/DBIC.pm
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Fri Aug 22 14:19:50 UTC 2008
Author: ansgar-guest
Date: Fri Aug 22 14:19:46 2008
New Revision: 24467
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=24467
Log:
integrate new upstream version
Modified:
trunk/libhtml-formfu-model-dbic-perl/Changes
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/debian/control
trunk/libhtml-formfu-model-dbic-perl/lib/HTML/FormFu/Model/DBIC.pm
Modified: trunk/libhtml-formfu-model-dbic-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-formfu-model-dbic-perl/Changes?rev=24467&op=diff
==============================================================================
--- trunk/libhtml-formfu-model-dbic-perl/Changes (original)
+++ trunk/libhtml-formfu-model-dbic-perl/Changes Fri Aug 22 14:19:46 2008
@@ -1,3 +1,7 @@
+0.03003 2008-08-21
+
+ - Updated to work with is_field/is_block changes in HTML-FormFu
+
0.03002 2008-08-11
- New {label} setting.
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=24467&op=diff
==============================================================================
--- trunk/libhtml-formfu-model-dbic-perl/META.yml (original)
+++ trunk/libhtml-formfu-model-dbic-perl/META.yml Fri Aug 22 14:19:46 2008
@@ -19,9 +19,9 @@
DBD::SQLite: 0
DBIx::Class: 0.08002
DateTime::Format::MySQL: 0
- HTML::FormFu: 0.03002
+ HTML::FormFu: 0.03003
Task::Weaken: 0
perl: 5.8.1
resources:
license: http://dev.perl.org/licenses/
-version: 0.03002
+version: 0.03003
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=24467&op=diff
==============================================================================
--- trunk/libhtml-formfu-model-dbic-perl/Makefile.PL (original)
+++ trunk/libhtml-formfu-model-dbic-perl/Makefile.PL Fri Aug 22 14:19:46 2008
@@ -7,7 +7,7 @@
requires 'DateTime::Format::MySQL';
requires 'DBD::SQLite';
requires 'DBIx::Class' => '0.08002';
-requires 'HTML::FormFu' => '0.03002';
+requires 'HTML::FormFu' => '0.03003';
requires 'Task::Weaken'; # to ensure Scalar::Util was built with weaken()
test_requires 'Test::MockObject';
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=24467&op=diff
==============================================================================
--- trunk/libhtml-formfu-model-dbic-perl/debian/changelog (original)
+++ trunk/libhtml-formfu-model-dbic-perl/debian/changelog Fri Aug 22 14:19:46 2008
@@ -1,4 +1,4 @@
-libhtml-formfu-model-dbic-perl (0.03002-1) UNRELEASED; urgency=low
+libhtml-formfu-model-dbic-perl (0.03003-1) UNRELEASED; urgency=low
* Initial Release. (Closes: #495942)
Modified: trunk/libhtml-formfu-model-dbic-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-formfu-model-dbic-perl/debian/control?rev=24467&op=diff
==============================================================================
--- trunk/libhtml-formfu-model-dbic-perl/debian/control (original)
+++ trunk/libhtml-formfu-model-dbic-perl/debian/control Fri Aug 22 14:19:46 2008
@@ -2,7 +2,7 @@
Section: perl
Priority: optional
Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: perl (>= 5.8.1), libdatetime-format-mysql-perl, libdbd-sqlite3-perl, libtask-weaken-perl, libdbix-class-perl (>= 0.08002), libhtml-formfu-perl (>= 0.03002), libtest-mockobject-perl
+Build-Depends-Indep: perl (>= 5.8.1), libdatetime-format-mysql-perl, libdbd-sqlite3-perl, libtask-weaken-perl, libdbix-class-perl (>= 0.08002), libhtml-formfu-perl (>= 0.03003), libtest-mockobject-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Ansgar Burchardt <ansgar at 43-1.org>
Standards-Version: 3.8.0
@@ -12,7 +12,7 @@
Package: libhtml-formfu-model-dbic-perl
Architecture: all
-Depends: perl (>= 5.8.1), ${misc:Depends}, libdatetime-format-mysql-perl, libtask-weaken-perl, libdbix-class-perl (>= 0.08002), libhtml-formfu-perl (>= 0.03002)
+Depends: perl (>= 5.8.1), ${misc:Depends}, libdatetime-format-mysql-perl, libtask-weaken-perl, libdbix-class-perl (>= 0.08002), libhtml-formfu-perl (>= 0.03003)
Description: integrate HTML::FormFu with DBIx::Class
HTML::FormFu is a HTML form framework which aims to be as easy as
possible to use for basic web forms, but with the power and flexibility
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=24467&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 Fri Aug 22 14:19:46 2008
@@ -8,7 +8,7 @@
use Storable qw( dclone );
use Carp qw( croak );
-our $VERSION = '0.03002';
+our $VERSION = '0.03003';
$VERSION = eval $VERSION;
# sub _compatible_config() is only required as long as we support the legacy
@@ -38,9 +38,9 @@
return _merge_hashes( $config, $dbic );
}
-
+
$config->{new_empty_row} ||= $config->{new_empty_row_multi};
-
+
return $config;
}
@@ -231,7 +231,7 @@
my ( $self, $base, $dbic ) = @_;
for my $block ( @{ $base->get_all_elements } ) {
- next if $block->is_field;
+ next if $block->is_field && !$block->is_block;
next if !$block->can('nested_name');
my $config = _compatible_config($block);
@@ -969,8 +969,7 @@
- type: Text
name: review
model_config:
- dbic:
- delete_if_empty: 1
+ delete_if_empty: 1
=head3 has_many and many_to_many relationships
@@ -995,8 +994,7 @@
- type: Repeatable
nested_name: authors
model_config:
- dbic:
- new_empty_row: author
+ new_empty_row: author
elements:
- type: Hidden
@@ -1008,7 +1006,7 @@
If you want to add more than one new row you can use
C<< $block->model_config->{new_empty_row_multi} >> instead of
C<< $block->model_config->{new_empty_row} >>. To limit the maximum number of new
-rows put a L<range|HTML::FormFu::Constraints::Range> constraint on the
+rows put a L<range|HTML::FormFu::Constraint::Range> constraint on the
C<count> field.
---
@@ -1016,8 +1014,7 @@
- type: Repeatable
nested_name: authors
model_config:
- dbic:
- new_empty_row_multi: author
+ new_empty_row_multi: author
elements:
- type: Hidden
@@ -1044,8 +1041,7 @@
- type: Repeatable
nested_name: authors
model_config:
- dbic:
- delete_if_true: delete
+ delete_if_true: delete
elements:
- type: Hidden
@@ -1076,8 +1072,7 @@
- type: Checkboxgroup
name: authors
model_config:
- dbic:
- default_column: foo
+ default_column: foo
=head3 non-column accessors
@@ -1091,8 +1086,7 @@
- type: Text
name: foo
model_config:
- dbic:
- accessor: method_name
+ accessor: method_name
=head2 update
More information about the Pkg-perl-cvs-commits
mailing list