r24465 - in /branches/upstream/libhtml-formfu-model-dbic-perl/current: Changes META.yml Makefile.PL lib/HTML/FormFu/Model/DBIC.pm
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Fri Aug 22 13:56:50 UTC 2008
Author: ansgar-guest
Date: Fri Aug 22 13:56:47 2008
New Revision: 24465
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=24465
Log:
[svn-upgrade] Integrating new upstream version, libhtml-formfu-model-dbic-perl (0.03003)
Modified:
branches/upstream/libhtml-formfu-model-dbic-perl/current/Changes
branches/upstream/libhtml-formfu-model-dbic-perl/current/META.yml
branches/upstream/libhtml-formfu-model-dbic-perl/current/Makefile.PL
branches/upstream/libhtml-formfu-model-dbic-perl/current/lib/HTML/FormFu/Model/DBIC.pm
Modified: branches/upstream/libhtml-formfu-model-dbic-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-formfu-model-dbic-perl/current/Changes?rev=24465&op=diff
==============================================================================
--- branches/upstream/libhtml-formfu-model-dbic-perl/current/Changes (original)
+++ branches/upstream/libhtml-formfu-model-dbic-perl/current/Changes Fri Aug 22 13:56:47 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: branches/upstream/libhtml-formfu-model-dbic-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-formfu-model-dbic-perl/current/META.yml?rev=24465&op=diff
==============================================================================
--- branches/upstream/libhtml-formfu-model-dbic-perl/current/META.yml (original)
+++ branches/upstream/libhtml-formfu-model-dbic-perl/current/META.yml Fri Aug 22 13:56:47 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: branches/upstream/libhtml-formfu-model-dbic-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-formfu-model-dbic-perl/current/Makefile.PL?rev=24465&op=diff
==============================================================================
--- branches/upstream/libhtml-formfu-model-dbic-perl/current/Makefile.PL (original)
+++ branches/upstream/libhtml-formfu-model-dbic-perl/current/Makefile.PL Fri Aug 22 13:56:47 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: branches/upstream/libhtml-formfu-model-dbic-perl/current/lib/HTML/FormFu/Model/DBIC.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-formfu-model-dbic-perl/current/lib/HTML/FormFu/Model/DBIC.pm?rev=24465&op=diff
==============================================================================
--- branches/upstream/libhtml-formfu-model-dbic-perl/current/lib/HTML/FormFu/Model/DBIC.pm (original)
+++ branches/upstream/libhtml-formfu-model-dbic-perl/current/lib/HTML/FormFu/Model/DBIC.pm Fri Aug 22 13:56:47 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