Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added # ABSTRACT: lines to modules missing them. #1097

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/Dancer.pm
Expand Up @@ -230,6 +230,8 @@ sub warning { goto &Dancer::Logger::warning }

# When importing the package, strict and warnings pragma are loaded,
# and the appdir detection is performed.
{
my $as_script = 0;
sub import {
my ($class, @args) = @_;
my ($package, $script) = caller;
Expand All @@ -240,7 +242,6 @@ sub import {

my @final_args;
my $syntax_only = 0;
my $as_script = 0;
foreach (@args) {
if ( $_ eq ':moose' ) {
push @final_args, '!before', '!after';
Expand Down Expand Up @@ -270,6 +271,7 @@ sub import {
_init_script_dir($script);
Dancer::Config->load;
}
}

# private code

Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/App.pm
@@ -1,4 +1,5 @@
package Dancer::App;
# ABSTRACT: Base application class for Dancer.

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Continuation.pm
@@ -1,4 +1,5 @@
package Dancer::Continuation;
# ABSTRACT: Continuation exception (internal exception) for Dancer

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Continuation/Halted.pm
@@ -1,4 +1,5 @@
package Dancer::Continuation::Halted;
# ABSTRACT: Halted internal exception class for Dancer

use strict;
use warnings;
Expand Down
13 changes: 9 additions & 4 deletions lib/Dancer/Continuation/Route.pm
@@ -1,15 +1,20 @@
package Dancer::Continuation::Route;
# ABSTRACT: Internal exception class for Route exceptions in Dancer.

use strict;
use warnings;
use Carp;

use base qw(Dancer::Continuation);

# A Dancer::Continuation::Route is a continuation exception, that is caught as
# route execution level (see Dancer::Route::run). It may store a return_value, that
# will be recovered from the continuation catcher, and stored as the returning
# content.
=method return_value

A Dancer::Continuation::Route is a continuation exception, that is caught as
route execution level (see Dancer::Route::run). It may store a return_value, that
will be recovered from the continuation catcher, and stored as the returning
content.

=cut

sub return_value { $#_ ? $_[0]->{return_value} = $_[1] : $_[0]->{return_value} }

Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Continuation/Route/ErrorSent.pm
@@ -1,4 +1,5 @@
package Dancer::Continuation::Route::ErrorSent;
# ABSTRACT: Internal Dancer exception class

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Continuation/Route/FileSent.pm
@@ -1,4 +1,5 @@
package Dancer::Continuation::Route::FileSent;
# ABSTRACT: Internal Dancer exception class

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Continuation/Route/Forwarded.pm
@@ -1,4 +1,5 @@
package Dancer::Continuation::Route::Forwarded;
# ABSTRACT: Internal Dancer exception class

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Continuation/Route/Passed.pm
@@ -1,4 +1,5 @@
package Dancer::Continuation::Route::Passed;
# ABSTRACT: Internal Dancer exception class

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Continuation/Route/Templated.pm
@@ -1,4 +1,5 @@
package Dancer::Continuation::Route::Templated;
# ABSTRACT: Internal Dancer exception class

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Factory/Hook.pm
@@ -1,4 +1,5 @@
package Dancer::Factory::Hook;
# ABSTRACT: Singleton class to create Dancer hooks

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/GetOpt.pm
@@ -1,4 +1,5 @@
package Dancer::GetOpt;
# ABSTRACT: Process command-line options for Dancer scripts

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Handler.pm
@@ -1,4 +1,5 @@
package Dancer::Handler;
# ABSTRACT: Dancer request handler

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Handler/Standalone.pm
@@ -1,4 +1,5 @@
package Dancer::Handler::Standalone;
# ABSTRACT: Web server wrapper for Dancer

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Renderer.pm
@@ -1,4 +1,5 @@
package Dancer::Renderer;
# ABSTRACT: Rendering class for Dancer

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Route.pm
@@ -1,4 +1,5 @@
package Dancer::Route;
# ABSTRACT: Class to represent a route in Dancer

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Route/Registry.pm
@@ -1,4 +1,5 @@
package Dancer::Route::Registry;
# ABSTRACT: Route registry for Dancer

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Serializer/Abstract.pm
@@ -1,4 +1,5 @@
package Dancer::Serializer::Abstract;
# ABSTRACT: Base serialiser class for Dancer

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/Serializer/Dumper.pm
@@ -1,4 +1,5 @@
package Dancer::Serializer::Dumper;
# ABSTRACT: Data::Dumper serialisation for Dancer

use strict;
use warnings;
Expand Down
1 change: 1 addition & 0 deletions lib/Dancer/SharedData.pm
@@ -1,4 +1,5 @@
package Dancer::SharedData;
# ABSTRACT: Shared-data singleton for Dancer

use strict;
use warnings;
Expand Down