Skip to content

Commit

Permalink
update build artifacts to fix POD errors
Browse files Browse the repository at this point in the history
  • Loading branch information
preaction committed Nov 6, 2014
1 parent 80dcaf0 commit e4202db
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 102 deletions.
4 changes: 2 additions & 2 deletions Build.PL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.020.
# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.023.
use strict;
use warnings;

Expand All @@ -26,7 +26,7 @@ my %module_build_args = (
"recursive_test_files" => 1,
"requires" => {
"DBM::Deep" => 0,
"Import::Base" => "0.006",
"Import::Base" => "0.009",
"Mojo::IRC" => 0,
"Mojolicious" => 0,
"Moo::Lax" => 0,
Expand Down
7 changes: 6 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog for Freyr

0.001 2014-11-03T00:30:23
0.001 2014-11-06T06:18:01
- make sure all our subs use signatures
- make sure experimental warnings are turned off
- add basic plugin class
- don't allow treating perl version as a number
- update build from new dist.ini
- update dist.ini for new best practices
- we're only allowing 5.20 here
- under() routes now working
Expand Down
10 changes: 6 additions & 4 deletions Makefile.PL
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.020.
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.023.
use strict;
use warnings;

use 5.020;

use ExtUtils::MakeMaker ;
use ExtUtils::MakeMaker;



Expand All @@ -24,10 +24,11 @@ my %WriteMakefileArgs = (
"bin/freyr"
],
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.020",
"NAME" => "Freyr",
"PREREQ_PM" => {
"DBM::Deep" => 0,
"Import::Base" => "0.006",
"Import::Base" => "0.009",
"Mojo::IRC" => 0,
"Mojolicious" => 0,
"Moo::Lax" => 0,
Expand All @@ -53,7 +54,8 @@ my %WriteMakefileArgs = (

my %FallbackPrereqs = (
"DBM::Deep" => 0,
"Import::Base" => "0.006",
"ExtUtils::MakeMaker" => 0,
"Import::Base" => "0.009",
"Module::Build" => "0.28",
"Mojo::IRC" => 0,
"Mojolicious" => 0,
Expand Down
72 changes: 28 additions & 44 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,50 @@ SYNOPSIS
DESCRIPTION
Freyr is an IRC bot designed for multiple networks and a web interface.

METHODS
BUILD
Initialize the network in single-network mode.

channel( NAME )
Get a channel object, joining the channel if necessary.

route( SPEC => SUB )
Add a route to the entire bot. Routes must be unique. Only one route
will be triggered for every message.

under( SPEC => SUB )
Add a callback to the entire bot. Unlike route, unders do not need to be
unique, and multiple unders may be called for a single message.

_route_message( NETWORK, MESSAGE )
ATTRIBUTES
nick
The default nickname for the bot

prefix
The prefix character. A shortcut to address the bot.

host
The default host to connect to in single-network mode.

port
The default port to connect to in single-network mode.

network
The network the bot is currently connected to.

channels
The channel names to connect to in single-network mode.

plugins
The plugins to attach to this bot, keyed by name.

_routes
The routes for the entire bot.

_unders
The unders for the entire bot.

METHODS
BUILD
Initialize the network in single-network mode.

channel( NAME )
Get a channel object, joining the channel if necessary.

route( SPEC => SUB )
Add a route to the entire bot. Routes must be unique. Only one route
will be triggered for every message.

under( SPEC => SUB )
Add a callback to the entire bot. Unlike route, unders do not need to be
unique, and multiple unders may be called for a single message.

_route_message( NETWORK, MESSAGE )
AUTHOR
Doug Bell <preaction@cpan.org>

Expand All @@ -51,31 +63,3 @@ COPYRIGHT AND LICENSE
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

POD ERRORS
Hey! The above document had some coding errors, which are explained
below:

Around line 220:
Unknown directive: =attr

Around line 224:
Unknown directive: =attr

Around line 228:
Unknown directive: =attr

Around line 232:
Unknown directive: =attr

Around line 236:
Unknown directive: =attr

Around line 240:
Unknown directive: =attr

Around line 244:
Unknown directive: =attr

Around line 248:
Unknown directive: =attr

86 changes: 36 additions & 50 deletions README.mkdn
Original file line number Diff line number Diff line change
Expand Up @@ -18,87 +18,73 @@ version 0.001

Freyr is an IRC bot designed for multiple networks and a web interface.

# METHODS

## BUILD

Initialize the network in single-network mode.

## channel( NAME )
# ATTRIBUTES

Get a [channel](https://metacpan.org/pod/Freyr::Channel) object, joining the channel if necessary.

## route( SPEC => SUB )

Add a route to the entire bot. Routes must be unique. Only one route will be triggered
for every message.

## under( SPEC => SUB )

Add a callback to the entire bot. Unlike [route](https://metacpan.org/pod/route), unders do not need to be
unique, and multiple unders may be called for a single message.

## \_route\_message( NETWORK, MESSAGE )
## nick

The default nickname for the bot

## prefix

The prefix character. A shortcut to address the bot.

The default host to connect to in single-network mode.
## host

The default port to connect to in single-network mode.
The default host to connect to in single-network mode.

The [network](https://metacpan.org/pod/Freyr::Network) the bot is currently connected to.
## port

The channel names to connect to in single-network mode.
The default port to connect to in single-network mode.

The routes for the entire bot.
## network

The unders for the entire bot.
The [network](https://metacpan.org/pod/Freyr::Network) the bot is currently connected to.

# AUTHOR
## channels

Doug Bell <preaction@cpan.org>
The channel names to connect to in single-network mode.

# COPYRIGHT AND LICENSE
## plugins

This software is copyright (c) 2014 by Doug Bell.
The plugins to attach to this bot, keyed by name.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
## \_routes

# POD ERRORS
The routes for the entire bot.

Hey! **The above document had some coding errors, which are explained below:**
## \_unders

- Around line 41:
The unders for the entire bot.

Unknown directive: =attr
# METHODS

- Around line 45:
## BUILD

Unknown directive: =attr
Initialize the network in single-network mode.

- Around line 49:
## channel( NAME )

Unknown directive: =attr
Get a [channel](https://metacpan.org/pod/Freyr::Channel) object, joining the channel if necessary.

- Around line 53:
## route( SPEC => SUB )

Unknown directive: =attr
Add a route to the entire bot. Routes must be unique. Only one route will be triggered
for every message.

- Around line 57:
## under( SPEC => SUB )

Unknown directive: =attr
Add a callback to the entire bot. Unlike [route](https://metacpan.org/pod/route), unders do not need to be
unique, and multiple unders may be called for a single message.

- Around line 61:
## \_route\_message( NETWORK, MESSAGE )

Unknown directive: =attr
# AUTHOR

- Around line 65:
Doug Bell <preaction@cpan.org>

Unknown directive: =attr
# COPYRIGHT AND LICENSE

- Around line 69:
This software is copyright (c) 2014 by Doug Bell.

Unknown directive: =attr
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
2 changes: 1 addition & 1 deletion cpanfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
requires "DBM::Deep" => "0";
requires "Import::Base" => "0.006";
requires "Import::Base" => "0.009";
requires "Mojo::IRC" => "0";
requires "Mojolicious" => "0";
requires "Moo::Lax" => "0";
Expand Down

0 comments on commit e4202db

Please sign in to comment.