Adam

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         "requires" : {
            "MooseX::Aliases" : "0.10",
            "MooseX::Declare" : "0.34",
            "MooseX::Getopt" : "0.37",
            "MooseX::LogDispatch" : "1.2002",
            "MooseX::POE" : "0.214",
            "MooseX::SimpleConfig" : "0.09",
            "POE::Component::IRC" : "6.64",
            "Sub::Identify" : "0.04",
            "aliased" : "0.30",
            "namespace::autoclean" : "0.12"
         }
      },
      "test" : {
         "requires" : {
            "Test::Deep" : "0.103",
            "Test::More" : "0.94"
         }
      }
   },
   "provides" : {

META.yml  view on Meta::CPAN

requires:
  MooseX::Aliases: 0.10
  MooseX::Declare: 0.34
  MooseX::Getopt: 0.37
  MooseX::LogDispatch: 1.2002
  MooseX::POE: 0.214
  MooseX::SimpleConfig: 0.09
  POE::Component::IRC: 6.64
  Sub::Identify: 0.04
  aliased: 0.30
  namespace::autoclean: 0.12
resources:
  homepage: http://github.com/perigrin/adam-bot-framework
  repository: git://github.com/perigrin/adam-bot-framework.git
version: 0.91
x_Dist_Zilla:
  plugins:
    -
      class: Dist::Zilla::Plugin::Prereqs
      config:
        Dist::Zilla::Plugin::Prereqs:

Makefile.PL  view on Meta::CPAN

  'PREREQ_PM' => {
    'MooseX::Aliases' => '0.10',
    'MooseX::Declare' => '0.34',
    'MooseX::Getopt' => '0.37',
    'MooseX::LogDispatch' => '1.2002',
    'MooseX::POE' => '0.214',
    'MooseX::SimpleConfig' => '0.09',
    'POE::Component::IRC' => '6.64',
    'Sub::Identify' => '0.04',
    'aliased' => '0.30',
    'namespace::autoclean' => '0.12'
  },
  'VERSION' => '0.91',
  'test' => {
    'TESTS' => 't/*.t'
  }
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
  my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};

dist.ini  view on Meta::CPAN

name    = Adam
author  = Chris Prather <chris@prather.org>
author  = Torsten Raudssus <torsten@raudssus.de> L<http://www.raudssus.de/>
license = Perl_5
copyright_holder = Chris Prather, Torsten Raudssus
copyright_year   = 2010

[Prereqs]
MooseX::POE = 0.214
namespace::autoclean = 0.12
MooseX::Aliases = 0.10
POE::Component::IRC = 6.64
MooseX::Getopt = 0.37
MooseX::SimpleConfig = 0.09
MooseX::LogDispatch = 1.2002
MooseX::Declare = 0.34
aliased = 0.30
Sub::Identify = 0.04

[Prereqs / TestRequires]

lib/Adam.pm  view on Meta::CPAN

package Adam;
BEGIN {
  $Adam::VERSION = '0.91';
}
# ABSTRACT: The patriarch of IRC Bots
# Dist::Zilla: +PodWeaver
use MooseX::POE;
use namespace::autoclean;

use POE::Component::IRC::Common qw( :ALL );
use POE qw(
  Component::IRC::State
  Component::IRC::Plugin::PlugMan
  Component::IRC::Plugin::Connector
  Component::IRC::Plugin::ISupport
  Component::IRC::Plugin::NickReclaim
  Component::IRC::Plugin::BotAddressed
  Component::IRC::Plugin::AutoJoin

lib/Adam/Plugin.pm  view on Meta::CPAN

package Adam::Plugin;
BEGIN {
  $Adam::Plugin::VERSION = '0.91';
}
# ABSTRACT: A base class for Adam/Moses plugins
# Dist::Zilla: +PodWeaver
use Moose;
use namespace::autoclean;

has bot => (
    isa      => 'Adam',
    is       => 'ro',
    required => 1,
    handles  => [
        qw(
          log
          owner
          irc

lib/Moses.pm  view on Meta::CPAN

Moses - A framework for building IRC bots quickly and easily.

=head1 VERSION

version 0.91

=head1 SYNOPSIS

	package SampleBot;
	use Moses;
	use namespace::autoclean;
	
	server 'irc.perl.org';
	nickname 'sample-bot';
	channels '#bots';

	has message => (
	    isa     => 'Str',
	    is      => 'rw',
	    default => 'Hello',
	);

t/02.override.t  view on Meta::CPAN

use Test::More;
use Test::Deep;
POE::Kernel->run;
use POE::Component::IRC::Qnet::State;
{

    package QnetBot;
    use Moses;
    use namespace::autoclean;

    sub _build__irc {
        POE::Component::IRC::Qnet::State->spawn(
            Nick     => $_[0]->get_nickname,
            Server   => $_[0]->get_server,
            Port     => $_[0]->get_port,
            Ircname  => $_[0]->get_nickname,
            Options  => $_[0]->get_poco_irc_options,
            Flood    => $_[0]->can_flood,
            Username => $_[0]->get_username,

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.273 second using v1.00-cache-2.02-grep-82fe00e-cpan-c98054f2a92 )