| 1 |
Description: Fix spelling errors |
| 2 |
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=122377 |
| 3 |
Forwarded: yes (not the current version) |
| 4 |
Author: Angel Abad <[email protected]> |
| 5 |
Reviewed-by: gregor herrmann <[email protected]> |
| 6 |
Last-Update: 2020-05-07 |
| 7 |
|
| 8 |
--- libwww-mechanize-shell-perl.orig/Changes |
| 9 |
+++ libwww-mechanize-shell-perl/Changes |
| 10 |
@@ -200,7 +200,7 @@ |
| 11 |
* This means it requires WWW::Mechanize 0.57 or higher |
| 12 |
* added "comment" command, which allows to add comments to both, the shell |
| 13 |
script and the generated script. (Donated by Alexander Goller) |
| 14 |
- * accomodated for most recent version of LWP, which dosen't die on failing host |
| 15 |
+ * accomodated for most recent version of LWP, which doesn't die on failing host |
| 16 |
lookups but returns error 500. |
| 17 |
|
| 18 |
0.29 |
| 19 |
@@ -270,7 +270,7 @@ |
| 20 |
* Documentation fixes for "open" and "links" (also courtesy of Mark Stosberg) |
| 21 |
* The dumprequests feature needs Hook::LexWrap - it didn't work |
| 22 |
properly before. The feature is tested in t/14 |
| 23 |
- * "restart" in a -e oneliner dosen't crash the shell (it also dosen't restart though) |
| 24 |
+ * "restart" in a -e oneliner doesn't crash the shell (it also doesn't restart though) |
| 25 |
* factored out the HTML display into a module of its own (HTML::Display), |
| 26 |
distributed with this. This breaks existing setups, as the "browsercmd" |
| 27 |
and "useole" option disappeared. You can configure the used browser |
| 28 |
@@ -296,7 +296,7 @@ |
| 29 |
the interactive asking method to something noninteractive. |
| 30 |
Field types that do not get asked are : hidden,submit |
| 31 |
* The "eval" command now takes multiline strings. This is not interesting |
| 32 |
- if you're using the plain shell, as the readline shell dosen't know about |
| 33 |
+ if you're using the plain shell, as the readline shell doesn't know about |
| 34 |
about multiline strings, but if you're using the $shell->cmd() feature, |
| 35 |
it's handy to split your evals over more than one line. |
| 36 |
|
| 37 |
--- libwww-mechanize-shell-perl.orig/README.mkdn |
| 38 |
+++ libwww-mechanize-shell-perl/README.mkdn |
| 39 |
@@ -134,7 +134,7 @@ |
| 40 |
|
| 41 |
Restart the shell. |
| 42 |
|
| 43 |
-This is mostly useful when you are modifying the shell itself. It dosen't |
| 44 |
+This is mostly useful when you are modifying the shell itself. It doesn't |
| 45 |
work if you use the shell in oneliner mode with `-e`. |
| 46 |
|
| 47 |
## get |
| 48 |
@@ -608,7 +608,7 @@ |
| 49 |
want to fill out forms using custom Perl code, here is a recipe |
| 50 |
how to achieve this : |
| 51 |
|
| 52 |
-Code passed to the `eval` command gets evalutated in the WWW::Mechanize::Shell |
| 53 |
+Code passed to the `eval` command gets evaluated in the WWW::Mechanize::Shell |
| 54 |
namespace. You can inject new subroutines there and these get picked |
| 55 |
up by the Callback class of WWW::Mechanize::FormFiller : |
| 56 |
|
| 57 |
--- libwww-mechanize-shell-perl.orig/lib/WWW/Mechanize/Shell.pm |
| 58 |
+++ libwww-mechanize-shell-perl/lib/WWW/Mechanize/Shell.pm |
| 59 |
@@ -149,7 +149,7 @@ |
| 60 |
if $self->agent->can('env_proxy'); |
| 61 |
|
| 62 |
# Read our .rc file : |
| 63 |
- # I could use File::Homedir, but the docs claim it dosen't work on Win32. Maybe |
| 64 |
+ # I could use File::Homedir, but the docs claim it doesn't work on Win32. Maybe |
| 65 |
# I should just release a patch for File::Homedir then... Not now. |
| 66 |
my $sourcefile; |
| 67 |
if (exists $args{rcfile}) { |
| 68 |
@@ -534,7 +534,7 @@ |
| 69 |
|
| 70 |
Restart the shell. |
| 71 |
|
| 72 |
-This is mostly useful when you are modifying the shell itself. It dosen't |
| 73 |
+This is mostly useful when you are modifying the shell itself. It doesn't |
| 74 |
work if you use the shell in oneliner mode with C<-e>. |
| 75 |
|
| 76 |
=cut |
| 77 |
@@ -1936,7 +1936,7 @@ |
| 78 |
want to fill out forms using custom Perl code, here is a recipe |
| 79 |
how to achieve this : |
| 80 |
|
| 81 |
-Code passed to the C<eval> command gets evalutated in the WWW::Mechanize::Shell |
| 82 |
+Code passed to the C<eval> command gets evaluated in the WWW::Mechanize::Shell |
| 83 |
namespace. You can inject new subroutines there and these get picked |
| 84 |
up by the Callback class of WWW::Mechanize::FormFiller : |
| 85 |
|
| 86 |
--- libwww-mechanize-shell-perl.orig/t/20-restart-without-script.t |
| 87 |
+++ libwww-mechanize-shell-perl/t/20-restart-without-script.t |
| 88 |
@@ -13,6 +13,6 @@ |
| 89 |
|
| 90 |
my $output= `$^X -I./lib -MWWW::Mechanize::Shell -e "WWW::Mechanize::Shell->new('t',rcfile=>undef,warnings=>undef)->cmd('restart');print'OK'" 2>&1`; |
| 91 |
chomp $output; |
| 92 |
-is($@, "","'restart' on -e dosen't crash"); |
| 93 |
-is($?, 0,"'restart' on -e dosen't crash"); |
| 94 |
-is($output,"OK","'restart' on -e dosen't crash"); |
| 95 |
+is($@, "","'restart' on -e doesn't crash"); |
| 96 |
+is($?, 0,"'restart' on -e doesn't crash"); |
| 97 |
+is($output,"OK","'restart' on -e doesn't crash"); |