From: Peter Rabbitson Date: Thu, 25 Sep 2014 11:34:47 +0000 (+0200) Subject: Boldly take the author nicknames bold X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f06eb015d1f5a43c9fc6c44e6d0b2f73a5aca1e0;p=dbsrgits%2FDBIx-Class-Historic.git Boldly take the author nicknames bold --- diff --git a/AUTHORS b/AUTHORS index b0f74ed..180d485 100644 --- a/AUTHORS +++ b/AUTHORS @@ -187,7 +187,7 @@ stonecolddevin: Devin Austin talexb: Alex Beamish tamias: Ronald J Kimball TBSliver: Tom Bloor -teejay : Aaron Trevena +teejay: Aaron Trevena theorbtwo: James Mastros Thomas Kratz timbunce: Tim Bunce diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index a6964fd..070bdc0 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -306,13 +306,13 @@ The fine folks nudging the project in a particular direction: =over -ribasushi: Peter Rabbitson +B: Peter Rabbitson (present day maintenance and controlled evolution) -castaway: Jess Robinson +B: Jess Robinson (lions share of the reference documentation and manuals) -mst: Matt S Trout (project founder - +B: Matt S Trout (project founder - original idea, architecture and implementation) =back diff --git a/maint/gen_pod_authors b/maint/gen_pod_authors index 0bfa32c..5745b2b 100755 --- a/maint/gen_pod_authors +++ b/maint/gen_pod_authors @@ -10,6 +10,9 @@ my @known_authors = do { map { chomp; ( ( ! $_ or $_ =~ /^\s*\#/ ) ? () : $_ ) } <$fh>; } or die "Known AUTHORS file seems empty... can't happen..."; +$_ =~ s!^ ( [^\:]+ ) : \s !B<$1>:!x + for @known_authors; + $_ =~ s!( \b https? :// [^\s\>]+ )!L<$1|$1>!x for @known_authors; diff --git a/xt/authors.t b/xt/authors.t index 5eb533b..48e693f 100644 --- a/xt/authors.t +++ b/xt/authors.t @@ -19,9 +19,15 @@ my @known_authors = do { } or die "Known AUTHORS file seems empty... can't happen..."; is_deeply ( - [ grep { /^\s/ } @known_authors ], + [ grep { /^\s/ or /\s\s/ } @known_authors ], [], - "No entries with leading space", + "No entries with leading or doubled space", +); + +is_deeply ( + [ grep { / \:[^\s\/] /x or /^ [^:]*? \s+ \: /x } @known_authors ], + [], + "No entries with malformed nicks", ); is_deeply (