Permalink
Browse files

Fix spelling mistakes detected by codespell

  • Loading branch information...
1 parent c7963d4 commit 88bb503988ecf322fa39e19a6bdb72365f08c1dc @jamessan jamessan committed Feb 21, 2016
View
@@ -725,7 +725,7 @@
* GH #585, #595: Return 405 Method Not Allowed instead of 500.
(Omar M. Othman)
* GH #570, #579: Ensure keywords pass, send_error and send_file
- exit immediatly when executed. (Russell Jenkins)
+ exit immediately when executed. (Russell Jenkins)
[ ENHANCEMENTS ]
* GH #587: Serializer::Mutable alive! (Pedro Bruno)
@@ -813,7 +813,7 @@
runner is now responsible of including the local ./lib dir if needed.
* GH#469, 418: Dancer2::Plugin provides a ':no_dsl' flag for modern Plugins
(Pedro Melo)
- * GH#485: Keywords 'redirect' and 'forward' exit immediatly when executed in
+ * GH#485: Keywords 'redirect' and 'forward' exit immediately when executed in
a route/hook. New dependency on Return::MultiLevel (Russell Jenkins).
* GH#495: Use accessor and predicates instead of direct access.
Addresses GH#493 too. (Russell Jenkins)
@@ -1052,7 +1052,7 @@
[ PACKAGING ]
* Remove prereq Digest::SHA (mokko)
- * Dancer::P::Bcrypt recomends Dancer::P::Passphrase (Blabos de Blebe)
+ * Dancer::P::Bcrypt recommends Dancer::P::Passphrase (Blabos de Blebe)
0.03 - 2013-03-07 (Alexis Sukrieh)
@@ -1301,7 +1301,7 @@ DISPATCH:
# this is in case we're asked for an old-style dispatching
if ( $runner->{'internal_dispatch'} ) {
# Get the session object from the app before we clean up
- # the request context, so we can propogate this to the
+ # the request context, so we can propagate this to the
# next dispatch cycle (if required).
$self->_has_session
and $runner->{'internal_sessions'}{$cname} =
@@ -9,7 +9,7 @@ use Sub::Quote 'quote_sub';
# the path to the caller script/app
# Note: to remove any ambiguity between the accessor for the
-# 'caller' attribute and the core function caller(), explictly
+# 'caller' attribute and the core function caller(), explicitly
# specify we want the function 'CORE::caller' as the default for
# the attribute.
has caller => (
@@ -58,7 +58,7 @@ sub register_plugin {
my $caller = caller(1);
my %params = @_;
- # if the caller has no dsl method, we cant register the plugin
+ # if the caller has no dsl method, we can't register the plugin
return if !$caller->can('dsl');
# the plugin consumes the DSL role
@@ -50,7 +50,7 @@ inserting/updating data as simple as it should be.
=item L<Dancer2::Plugin::DBIC>
-Provides easy acces to DBIx::Class database virtualization.
+Provides easy access to DBIx::Class database virtualization.
=item L<Dancer2::Plugin::Deferred>
@@ -4,7 +4,7 @@ use Dancer2;
use FindBin '$RealBin';
use Plack::Runner;
-# For some reason Apache SetEnv directives dont propagate
+# For some reason Apache SetEnv directives don't propagate
# correctly to the dispatchers, so forcing PSGI and env here
# is safer.
set apphandler => 'PSGI';
@@ -4,7 +4,7 @@ use Dancer2;
use FindBin '$RealBin';
use Plack::Handler::FCGI;
-# For some reason Apache SetEnv directives dont propagate
+# For some reason Apache SetEnv directives don't propagate
# correctly to the dispatchers, so forcing PSGI and env here
# is safer.
set apphandler => 'PSGI';
View
@@ -51,7 +51,7 @@ sub run_tests {
{
my $r = $test->request( GET '/non_existent_page' );
- is( $r->code, 404, 'Autopage doesnt try to render nonexistent pages' );
+ is( $r->code, 404, 'Autopage doesn\'t try to render nonexistent pages' );
}
{
@@ -163,7 +163,7 @@ for my $t (@tests) {
);
$m = $r->match($failing_request);
- is $m, undef, "dont match failing request";
+ is $m, undef, "don't match failing request";
}
}
View
@@ -225,4 +225,4 @@ foreach my $test (
}
-is $was_in_second_filter, 0, "didnt enter the second filter, because of halt";
+is $was_in_second_filter, 0, "didn't enter the second filter, because of halt";
View
@@ -34,7 +34,7 @@ is $mime->add_alias( xpto => 'SVG' ) => 'image/svg+xml',
'mime gets correctly lowercased for system types';
is $mime->add_alias( zbr => 'baz' ) => $mime->default,
- 'alias of unkown mime type gets default mime type';
+ 'alias of unknown mime type gets default mime type';
is $mime->name_or_type("text/zbr") => "text/zbr",
'name_or_type does not change if it seems a mime type string';
View
@@ -48,7 +48,7 @@ subtest 'plugin reserved keywords' => sub {
register 'foo_method' => sub {1}
},
qr{can't use foo_method, this is a keyword reserved by Foo},
- "cant register a keyword already registered by another plugin",
+ "can't register a keyword already registered by another plugin",
);
}
};
View
@@ -161,7 +161,7 @@ subtest 'hooks in plugins' => sub {
is (
$cb->( GET '/on_import' )->content,
Dancer2->VERSION,
- 'hooks added by on_plugin_import dont stop hooks being added later'
+ 'hooks added by on_plugin_import don\'t stop hooks being added later'
);
};
};
View
@@ -148,7 +148,7 @@ subtest "modify views - absolute paths" => sub {
};
}
-subtest "modify views propogates to TT2 via dynamic INCLUDE_PATH" => sub {
+subtest "modify views propagates to TT2 via dynamic INCLUDE_PATH" => sub {
my $test = Plack::Test->create( Baz->to_app );
View
@@ -30,7 +30,7 @@ packages = Data::Dumper File::Find FindBin Log::Log4perl Carp
[-Modules::RequireVersionVar]
# we want to be able to define short getters
[-Subroutines::RequireFinalReturn]
-# we cant do @_ mesures with that one
+# we can't do @_ mesures with that one
[-Subroutines::RequireArgUnpacking]
# name is a common used name for methods
# but forbidden by this policy ...

0 comments on commit 88bb503

Please sign in to comment.