Skip to content

Commit

Permalink
improved compatibility with different object systems
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 10, 2013
1 parent ccf0745 commit 0177187
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,4 +1,7 @@

4.36 2013-09-11
- Improved compatibility with different object systems.

4.35 2013-09-10
- Added origin attribute to Mojo::Cookie::Response.
- Fixed RFC 6265 compliance bugs in Mojo::Cookie::Request,
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Content/Single.pm
Expand Up @@ -46,7 +46,7 @@ sub parse {

# Content needs to be upgraded to multipart
$self->unsubscribe(read => $self->{read});
my $multi = Mojo::Content::MultiPart->new($self);
my $multi = Mojo::Content::MultiPart->new(%$self);
$self->emit(upgrade => $multi);
return $multi->parse;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -41,7 +41,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Top Hat';
our $VERSION = '4.35';
our $VERSION = '4.36';

sub AUTOLOAD {
my $self = shift;
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Routes.pm
Expand Up @@ -153,7 +153,7 @@ sub _class {
}

# Success
my $new = $class->new($c);
my $new = $class->new(%$c);
weaken $new->{$_} for qw(app tx);
return $new;
}
Expand Down

0 comments on commit 0177187

Please sign in to comment.