Skip to content

Commit

Permalink
renamed s/Tags/November::Tags/
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Masak committed Dec 11, 2009
1 parent 55d4deb commit 198e75a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lib/November.pm
Expand Up @@ -7,7 +7,7 @@ use Digest;
class November does Session does Cache {

use CGI;
use Tags;
use November::Tags;
use HTML::Template;
use Dispatcher;
use Utils;
Expand Down
2 changes: 1 addition & 1 deletion lib/Tags.pm → lib/November/Tags.pm
Expand Up @@ -2,7 +2,7 @@ use v6;

use Config;

class Tags {
class November::Tags {
my $server_root = Config.new.server_root;
my $.page_tags_path is rw = $server_root ~ 'data/page_tags/';
my $.tags_count_path is rw = $server_root ~ 'data/tags_count';
Expand Down
4 changes: 2 additions & 2 deletions t/tags/norm.t
Expand Up @@ -3,7 +3,7 @@ use v6;
use Test;
plan 1;

use Tags;
use November::Tags;

my @counts_to_test =
[ 2, 5, 6, 14 ],
Expand All @@ -13,7 +13,7 @@ my @counts_to_test =
# [ 5, 5, 2, 1 ],
# [ 10, 10, 4, 0 ]
;
my $t = Tags.new;
my $t = November::Tags.new;

for @counts_to_test -> $in, $expected {

Expand Down
4 changes: 2 additions & 2 deletions t/tags/norm_counts.t
Expand Up @@ -3,7 +3,7 @@ use v6;
use Test;
plan 3;

use Tags;
use November::Tags;

role Testing {
method clear {
Expand All @@ -12,7 +12,7 @@ role Testing {
}
}

my $t = Tags.new does Testing;
my $t = November::Tags.new does Testing;
$t.tags_count_path = 't/tags/data/tags_count';
$t.clear;

Expand Down
4 changes: 2 additions & 2 deletions t/tags/parser.t
Expand Up @@ -3,7 +3,7 @@ use v6;
use Test;
plan 11;

use Tags;
use November::Tags;

my @to_parse = (
'foo',
Expand All @@ -30,7 +30,7 @@ my @to_parse = (
['foo', 'bar', 'perl 6'],
);

my $t = Tags.new;
my $t = November::Tags.new;

for @to_parse -> $in, $expected {
is_deeply( [$t.tags_parse($in)], $expected, 'Parse tags: ' ~ $in.perl);
Expand Down
4 changes: 2 additions & 2 deletions t/tags/update_tags.t
Expand Up @@ -3,7 +3,7 @@ use v6;
use Test;
plan 8;

use Tags;
use November::Tags;

role Testing {
method clear ($_:) {
Expand All @@ -15,7 +15,7 @@ role Testing {
}
}

my $t = Tags.new does Testing;
my $t = November::Tags.new does Testing;
$t.page_tags_path = 't/tags/data/page_tags/';
$t.tags_count_path = 't/tags/data/tags_count';
$t.tags_index_path = 't/tags/data/tags_index';
Expand Down

0 comments on commit 198e75a

Please sign in to comment.