Guest User

Untitled

a guest
Jun 16th, 2018
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. Fri Apr 24 22:56:10 CDT 2009 doy@tozt.net
  2. * use MooseX::NonMoose
  3. diff -rN -u old-Bot-Games/dist.ini new-Bot-Games/dist.ini
  4. --- old-Bot-Games/dist.ini 2009-04-24 22:57:45.000000000 -0500
  5. +++ new-Bot-Games/dist.ini 2009-04-24 22:57:45.000000000 -0500
  6. @@ -16,3 +16,4 @@
  7. Moose = 0.64
  8. List::Util = 1.05
  9. Games::Word = 0.04
  10. +MooseX::NonMoose = 0.01
  11. diff -rN -u old-Bot-Games/lib/Bot/Games/OO.pm new-Bot-Games/lib/Bot/Games/OO.pm
  12. --- old-Bot-Games/lib/Bot/Games/OO.pm 2009-04-24 22:57:45.000000000 -0500
  13. +++ new-Bot-Games/lib/Bot/Games/OO.pm 2009-04-24 22:57:45.000000000 -0500
  14. @@ -42,7 +42,10 @@
  15. Moose::Util::MetaRole::apply_metaclass_roles(
  16. for_class => $options{for_class},
  17. attribute_metaclass_roles => ['Bot::Games::Meta::Role::Attribute'],
  18. - metaclass_roles => ['Bot::Games::Meta::Role::Class'],
  19. + metaclass_roles => ['Bot::Games::Meta::Role::Class',
  20. + 'MooseX::NonMoose::Meta::Role::Class'],
  21. + constructor_metaclass_roles =>
  22. + ['MooseX::NonMoose::Meta::Role::Constructor'],
  23. );
  24. return $options{for_class}->meta;
  25. }
  26. diff -rN -u old-Bot-Games/lib/Bot/Games.pm new-Bot-Games/lib/Bot/Games.pm
  27. --- old-Bot-Games/lib/Bot/Games.pm 2009-04-24 22:57:45.000000000 -0500
  28. +++ new-Bot-Games/lib/Bot/Games.pm 2009-04-24 22:57:45.000000000 -0500
  29. @@ -5,14 +5,7 @@
  30. search_path => 'Bot::Games::Game',
  31. except => ['Bot::Games::Game::Ghostlike'],
  32. sub_name => 'games';
  33. -extends 'Bot::BasicBot', 'Moose::Object';
  34. -around new => sub {
  35. - my $orig = shift;
  36. - my $class = shift;
  37. - my $self = $class->$orig(@_);
  38. - $self->BUILDALL({@_});
  39. - return $self;
  40. -};
  41. +extends 'Bot::BasicBot';
  42.  
  43. has prefix => (
  44. is => 'rw',
Add Comment
Please, Sign In to add comment