Changeset 261


Ignore:
Timestamp:
May 13, 2006, 3:35:05 PM (14 years ago)
Author:
Dominic Hargreaves
Message:

More renames.

Location:
wiki-toolkit-plugin-categoriser/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • wiki-toolkit-plugin-categoriser/trunk/Changes

    r179 r261  
     10.04    13 May 2006
     2        Renamed Wiki::Toolkit::Plugin::Categoriser
     3
    140.03
    25        Updated tests.
  • wiki-toolkit-plugin-categoriser/trunk/MANIFEST

    r179 r261  
    33Makefile.PL
    44README
    5 lib/CGI/Wiki/Plugin/Categoriser.pm
     5lib/Wiki/Toolkit/Plugin/Categoriser.pm
    66t/categoriser.t
    77t/nested_categories.t
  • wiki-toolkit-plugin-categoriser/trunk/Makefile.PL

    r179 r261  
    11use ExtUtils::MakeMaker;
    2 WriteMakefile( NAME         => "CGI::Wiki::Plugin::Categoriser",
    3                VERSION_FROM => "lib/CGI/Wiki/Plugin/Categoriser.pm",
    4                PREREQ_PM    => { 'CGI::Wiki' => 0.53, # for testlib fixes
     2WriteMakefile( NAME         => "Wiki::Toolkit::Plugin::Categoriser",
     3               VERSION_FROM => "lib/Wiki/Toolkit/Plugin/Categoriser.pm",
     4               PREREQ_PM    => { 'Wiki::Toolkit',
    55                                 'Test::More' => 0,
    66                                 'Carp' => 0
  • wiki-toolkit-plugin-categoriser/trunk/lib/CGI/Wiki/Plugin/Categoriser.pm

    r181 r261  
    1 package CGI::Wiki::Plugin::Categoriser;
     1package Wiki::Toolkit::Plugin::Categoriser;
    22use strict;
    3 use CGI::Wiki::Plugin;
     3use Wiki::Toolkit::Plugin;
    44
    55use vars qw( $VERSION @ISA );
    66$VERSION = '0.03';
    7 @ISA = qw( CGI::Wiki::Plugin );
     7@ISA = qw( Wiki::Toolkit::Plugin );
    88
    99=head1 NAME
    1010
    11 CGI::Wiki::Plugin::Categoriser - Category management for CGI::Wiki.
     11Wiki::Toolkit::Plugin::Categoriser - Category management for Wiki::Toolkit.
    1212
    1313=head1 DESCRIPTION
     
    1818=head1 SYNOPSIS
    1919
    20   use CGI::Wiki;
    21   use CGI::Wiki::Plugin::Categoriser;
     20  use Wiki::Toolkit;
     21  use Wiki::Toolkit::Plugin::Categoriser;
    2222
    23   my $wiki = CGI::Wiki->new( ... );
     23  my $wiki = Wiki::Toolkit->new( ... );
    2424  $wiki->write_node( "Red Lion", "nice beer", $checksum,
    2525                     { category => [ "Pubs", "Pub Food" ] }
     
    2929                   ) or die "Can't write node";
    3030
    31   my $categoriser = CGI::Wiki::Plugin::Categoriser->new;
     31  my $categoriser = Wiki::Toolkit::Plugin::Categoriser->new;
    3232  $wiki->register_plugin( plugin => $categoriser );
    3333
     
    4242=item B<new>
    4343
    44   my $categoriser = CGI::Wiki::Plugin::Categoriser->new;
     44  my $categoriser = Wiki::Toolkit::Plugin::Categoriser->new;
    4545  $wiki->register_plugin( plugin => $categoriser );
    4646
     
    140140=over 4
    141141
    142 =item * L<CGI::Wiki>
     142=item * L<Wiki::Toolkit>
    143143
    144 =item * L<CGI::Wiki::Plugin>
     144=item * L<Wiki::Toolkit::Plugin>
    145145
    146146=back
     
    149149
    150150Kake Pugh (kake@earth.li).
     151The Wiki::Toolkit team (http://www.wiki-toolkit.org/)
    151152
    152153=head1 COPYRIGHT
    153154
    154155     Copyright (C) 2003-4 Kake Pugh.  All Rights Reserved.
     156     Copyright (C) 2006 the Wiki::Toolkit team. All Rights Reserved.
    155157
    156158This module is free software; you can redistribute it and/or modify it
  • wiki-toolkit-plugin-categoriser/trunk/t/categoriser.t

    r179 r261  
    11use strict;
    2 use CGI::Wiki::TestLib;
     2use Wiki::Toolkit::TestLib;
    33use Test::More;
    44
    5 my $iterator = CGI::Wiki::TestLib->new_wiki_maker;
     5my $iterator = Wiki::Toolkit::TestLib->new_wiki_maker;
    66plan tests => ( 1 + $iterator->number * 6 );
    77
    8 use_ok( "CGI::Wiki::Plugin::Categoriser" );
     8use_ok( "Wiki::Toolkit::Plugin::Categoriser" );
    99
    1010while ( my $wiki = $iterator->new_wiki ) {
    1111    print "#\n##### TEST CONFIG: Store: " . (ref $wiki->store) . "\n";
    1212
    13     my $categoriser = eval { CGI::Wiki::Plugin::Categoriser->new; };
     13    my $categoriser = eval { Wiki::Toolkit::Plugin::Categoriser->new; };
    1414    is( $@, "", "'new' doesn't croak" );
    15     isa_ok( $categoriser, "CGI::Wiki::Plugin::Categoriser" );
     15    isa_ok( $categoriser, "Wiki::Toolkit::Plugin::Categoriser" );
    1616    $wiki->register_plugin( plugin => $categoriser );
    1717
  • wiki-toolkit-plugin-categoriser/trunk/t/nested_categories.t

    r180 r261  
    11use strict;
    2 use CGI::Wiki::Plugin::Categoriser;
    3 use CGI::Wiki::TestLib;
     2use Wiki::Toolkit::Plugin::Categoriser;
     3use Wiki::Toolkit::TestLib;
    44use Test::More;
    55
    6 my $iterator = CGI::Wiki::TestLib->new_wiki_maker;
     6my $iterator = Wiki::Toolkit::TestLib->new_wiki_maker;
    77plan tests => ( $iterator->number * 1 );
    88
     
    1010    print "#\n##### TEST CONFIG: Store: " . (ref $wiki->store) . "\n";
    1111
    12     my $categoriser = CGI::Wiki::Plugin::Categoriser->new;
     12    my $categoriser = Wiki::Toolkit::Plugin::Categoriser->new;
    1313    $wiki->register_plugin( plugin => $categoriser );
    1414
Note: See TracChangeset for help on using the changeset viewer.