Skip to content

Commit

Permalink
removed experimental status from config method in Mojo
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 20, 2012
1 parent 0087a04 commit ef0378f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions Changes
@@ -1,6 +1,7 @@
This file documents the revision history for Perl extension Mojolicious.

2.52 2012-02-20 00:00:00
- Removed experimental status from config method in Mojo.
- Renamed to_psgi method in Mojo::Server::PSGI to to_psgi_app.
- Improved documentation.
- Fixed bug that prevented Mojo::IOLoop from dying when started
Expand Down
3 changes: 1 addition & 2 deletions lib/Mojo.pm
Expand Up @@ -156,8 +156,7 @@ object.
$app = $app->config({foo => 'bar'});
$app = $app->config(foo => 'bar');
Application configuration. Note that this method is EXPERIMENTAL and might
change without warning!
Application configuration.
$app->config->{foo} = 'bar';
my $foo = $app->config->{foo};
Expand Down
3 changes: 1 addition & 2 deletions lib/Mojo/IOLoop.pm
Expand Up @@ -173,8 +173,7 @@ sub start {

sub stop {
my $self = shift;
$self = $self->singleton unless ref $self;
$self->iowatcher->stop;
(ref $self ? $self : $self->singleton)->iowatcher->stop;
}

sub stream {
Expand Down

0 comments on commit ef0378f

Please sign in to comment.