Revision history for Reaction
-0.002000
+
+0.002000 - 29 Apr 2008
- Update CheckUniques role to use around instead of overrides
- Stop using ACCEPT_CONTEXT, use InstancePerContext instead
- - up the dependency version on Devel::Declare to 003004
- Added an error_message attribute to IM::Action
- Updated ViewPort::Action to support action-wide messages and error
messages via attribute message and model's error_message attribute.
- Eliminate memory leak related to InstancePerContext
- Move the short-cut code from flush_view to flush to prevent events
from happening if serving a static file
+ - lots more documentation
+ - dependencies all updated for Catalyst 5.80
+
+0.001002 - 28 Apr 2008
+ - the 002 changes is the real thing but mst shipped a broken dist
+ with this version :(
0.001001 - 12 Aug 2008
- Initital public release
\.DS_Store$
# Don't ship the test db
-^t/var
+^t/var/.+\.db$
# Don't ship the last dist we built :)
\.tar\.gz$
# Skip maint stuff
^maint/
-t/im_dbic
-t/ui_viewport
t/ui_window
+t/.*pod.*
author 'Matt S Trout <mst@shadowcat.co.uk>';
all_from 'lib/Reaction.pm';
-requires 'Catalyst' => '5.80001';
+requires 'Catalyst' => '5.80002';
requires 'Catalyst::Component::ACCEPT_CONTEXT' => '0.05';
requires 'Catalyst::Component::InstancePerContext' => '0.001001';
requires 'Catalyst::Model::DBIC::Schema' => '0.23';
package Reaction;
-our $VERSION = '0.001001';
+our $VERSION = '0.002000';
1;
use namespace::clean -except => [ qw(meta) ];
extends 'Reaction::Meta::Class';
-sub new { shift->SUPER::new(@_) };
-
around initialize => sub {
my $super = shift;
my $class = shift;
$self->get_all_attributes;
};
-__PACKAGE__->meta->make_immutable;
+__PACKAGE__->meta->make_immutable(inline_constructor => 0);
1;
return $valid;
};
-__PACKAGE__->meta->make_immutable;
+__PACKAGE__->meta->make_immutable(inline_constructor => 0);
1;
use namespace::clean -except => [ qw(meta) ];
extends 'Reaction::Meta::Class';
-sub new { shift->SUPER::new(@_) };
-
around initialize => sub {
my $super = shift;
my $class = shift;
$self->get_all_attributes;
};
-__PACKAGE__->meta->make_immutable;
+__PACKAGE__->meta->make_immutable(inline_constructor => 0);
1;
use namespace::clean -except => [ qw(meta) ];
extends 'Reaction::Meta::Attribute';
-
-#i feel like something should happen here, but i aint got nothin.
-sub new { shift->SUPER::new(@_); }; # work around immutable
-
-__PACKAGE__->meta->make_immutable;
+__PACKAGE__->meta->make_immutable(inline_constructor => 0);
1;
is => 'ro',
predicate => 'has_orig_attr_name'
);
-sub new { shift->SUPER::new(@_); }; # work around immutable
-__PACKAGE__->meta->make_immutable;
+__PACKAGE__->meta->make_immutable(inline_constructor => 0);
1;
sub build_per_context_instance {
my ($self, $c, @args) = @_;
my $newself = $self->new($self->_application, {%$self, context => $c, @args});
- weaken $newself->{context}; #stopgap till cat 5.8
return $newself;
}