3 # Testing Plagger config samples from Miyagawa-san's YAPC::NA 2006 talk
6 if( $ENV{PERL_CORE} ) {
8 @INC = ('../lib', 'lib');
11 unshift @INC, 't/lib/';
21 use File::Spec::Functions ':ALL';
22 use Parse::CPAN::Meta::Test;
23 use Test::More tests(2);
29 #####################################################################
30 # Example Plagger Configuration 1
35 - module: Subscription::Bloglines
37 username: you@example.pl
41 - module: Publish::Gmail
43 mailto: example@gmail.com
44 mailfrom: miyagawa@example.com
47 host: smtp.example.com
51 module => 'Subscription::Bloglines',
53 username => 'you@example.pl',
59 module => 'Publish::Gmail',
61 mailto => 'example@gmail.com',
62 mailfrom => 'miyagawa@example.com',
65 host => 'smtp.example.com',
77 #####################################################################
78 # Example Plagger Configuration 2
83 - module: Subscription::Config
86 # Trac's feed for changesets
87 - http://plagger.org/.../rss
89 # I don't like to be notified of the same items
91 - module: Filter::Rule
95 path: /tmp/rssbot.time
102 server_host: chat.freenode.net
110 module => 'Subscription::Config',
112 feed => [ 'http://plagger.org/.../rss' ],
115 module => 'Filter::Rule',
119 path => '/tmp/rssbot.time',
124 module => 'Notify::IRC',
127 nickname => 'plaggerbot',
128 server_host => 'chat.freenode.net',