File: fix_pod_misspells.patch

package info (click to toggle)
libbot-basicbot-pluggable-perl 1.00-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 564 kB
  • ctags: 273
  • sloc: perl: 3,049; makefile: 17
file content (163 lines) | stat: -rw-r--r-- 6,946 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
Description: fix misspells in pod documentation
 There are some misspells on the POD documentation on different 
 files provided by this module.
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=89805
Author: Jotam Jr. Trejo <jotamjr@debian.org.sv>
Last-Update:  2016-07-29
--- a/lib/Bot/BasicBot/Pluggable.pm
+++ b/lib/Bot/BasicBot/Pluggable.pm
@@ -195,7 +195,7 @@
     my ( $self, $name ) = @_;
     my $logger = Log::Log4perl->get_logger( ref $self );
     $logger->logdie("Need a name for removing a handler") unless $name;
-    $logger->logdie("Hander $name not defined")
+    $logger->logdie("Handler $name not defined")
       unless $self->{handlers}{ lc($name) };
     $self->{handlers}{ lc($name) }->stop();
     delete $self->{handlers}{ lc($name) };
@@ -458,7 +458,7 @@
 
 Bot::BasicBot::Pluggable started as Yet Another Infobot replacement, but now
 is a generalised framework for writing infobot-type bots that lets you keep
-each specific function seperate. You can have seperate modules for factoid
+each specific function separate. You can have separate modules for factoid
 tracking, 'seen' status, karma, googling, etc. Included default modules are
 below. Use C<perldoc Bot::BasicBot::Pluggable::Module::<module name>> for help
 on their individual terminology.
@@ -501,7 +501,7 @@
 
 Reload the module C<$module> - equivalent to unloading it (if it's already
 loaded) and reloading it. Will stomp the old module's namespace - warnings
-are expected here. Not toally clean - if you're experiencing odd bugs, restart
+are expected here. Not totally clean - if you're experiencing odd bugs, restart
 the bot if possible. Works for minor bug fixes, etc.
 
 =item unload($module)
@@ -511,7 +511,7 @@
 =item module($module)
 
 Returns the handler object for the loaded module C<$module>. Used, e.g.,
-to get the 'Auth' hander to check if a given user is authenticated.
+to get the 'Auth' handler to check if a given user is authenticated.
 
 =item modules
 
@@ -550,7 +550,7 @@
 
 Returns the bot configuration file for logging. Please refer to
 L<Log::Log4perl::Config> for the configurations files format. Setting
-this to a differant file after calling init() has no effect.
+this to a different file after calling init() has no effect.
 
 Returns or set 
 
--- a/lib/Bot/BasicBot/Pluggable/Module.pm
+++ b/lib/Bot/BasicBot/Pluggable/Module.pm
@@ -321,7 +321,7 @@
     return "OK!"; # "eat" the message and send a reply back to the user
   }
 
-The preferred way, however, is to override one of the seperate C<seen()>, C<admin()>,
+The preferred way, however, is to override one of the separate C<seen()>, C<admin()>,
 C<told()> and C<fallback()> methods, corresponding to priorities 0, 1, 2 and 3
 in order - this will lead to nicer code. This approach is new, though, which
 is why it's not yet used in most of the shipped modules yet. It will eventually
@@ -365,7 +365,7 @@
 
 =item authed($who)
 
-This is a convinient method that trys to check for the users
+This is a convenient method that tries to check for the users
 authentication level via Auth.pm. It is exactly equivalent to
 
     $self->bot->module('Auth')
--- a/lib/Bot/BasicBot/Pluggable/Module/Auth.pm
+++ b/lib/Bot/BasicBot/Pluggable/Module/Auth.pm
@@ -219,10 +219,10 @@
 
 If this variable is true, the implicit authentication handling is
 disabled. Every module will have to check for authentication via the
-authed method, otherwise access is just granted. This is only usefull
+authed method, otherwise access is just granted. This is only useful
 to allow modules to handle directives starting with an exclamation
 mark without needing any authentication. And to make things even more
-interesting, you won't be warned that you have't authenticated, so modules
+interesting, you won't be warned that you haven't authenticated, so modules
 needing authentication will fail without any warning. It defaults to
 false and should probably never be changed. You've been warned.
 
--- a/lib/Test/Bot/BasicBot/Pluggable.pm
+++ b/lib/Test/Bot/BasicBot/Pluggable.pm
@@ -124,7 +124,7 @@
 
 =head2 DESTROY
 
-The special subrouting is explicitly overriden with an empty
+The special subroutine is explicitly overridden with an empty
 subroutine as otherwise AUTOLOAD in Bot::BasicBot will be called
 for it.
 
--- a/lib/Test/Bot/BasicBot/Pluggable/Store.pm
+++ b/lib/Test/Bot/BasicBot/Pluggable/Store.pm
@@ -64,7 +64,7 @@
 
 This functions justs tests some basic behaviour every storage module
 should provide, like store creation, get and set. You can't use it
-directly with Test::More as we harcode the number of tests to nine
+directly with Test::More as we hardcode the number of tests to nine
 in the moment. (Man, i'm so excited about nested tap streams in the
 newest development release of Test::Simple)
 
--- a/bin/bot-basicbot-pluggable
+++ b/bin/bot-basicbot-pluggable
@@ -46,7 +46,7 @@
 =item --logconfig FILE
 
 The logging configuration will be read from the specified file.
-Please refer to L<Log::Log4perl::Config> for its format. The paramter
+Please refer to L<Log::Log4perl::Config> for its format. The parameter
 loglevel will be ignored if this options is supplied.
 
 =item --loglevel LEVEL
@@ -61,7 +61,7 @@
 
 =item --channel CHANNELNAME
 
-Channel to connect to. This paramter may be provided several times.
+Channel to connect to. This parameter may be provided several times.
 You do not have to prefix the channel name with a hash symbol, which
 would have to be escaped in shell. It's automatically added for
 you.
@@ -74,7 +74,7 @@
 
 =item --module
 
-Modules to load. This paramter may be profided several times. You
+Modules to load. This parameter may be provided several times. You
 can call --list-modules to get a list of all available modules. If
 you do not define any module via this option, I<Auth> and I<Loader>
 are loaded by default.
@@ -97,7 +97,7 @@
 
 This options take a string in the form I<key>=I<value> and can be
 specified multiple times. The value of the key I<type> define which
-storage backend to load, all other paramters are passed the the
+storage backend to load, all other parameters are passed to the
 object constructor as hash reference. 
 
 For example:
@@ -131,11 +131,11 @@
 =head1 CONFIGFILE
 
 The bot read a configfile either found by L<Config::Find> (usually
-named ~/.bot-basicbot-pluggable.yaml) or specified on the comamnd
-line via I<--configfile> on startup. The file should be a synatctical
+named ~/.bot-basicbot-pluggable.yaml) or specified on the command
+line via I<--configfile> on startup. The file should be a syntactical
 correct yaml file with a hash as its first level element. It
 understands every option listed above and the special settings
-paramter, which is a hash, where the keys are module names and the
+parameter, which is a hash, where the keys are module names and the
 value is a hash of configurable module settings. Easier to show
 than to explain: