Permalink
Browse files

renamed s/Tags/November::Tags/

  • Loading branch information...
masak committed Dec 11, 2009
1 parent 55d4deb commit 198e75a39e1bd5ee35d134f32853535b3ad8d400
Showing with 10 additions and 10 deletions.
  1. +1 −1 lib/November.pm
  2. +1 −1 lib/{ → November}/Tags.pm
  3. +2 −2 t/tags/norm.t
  4. +2 −2 t/tags/norm_counts.t
  5. +2 −2 t/tags/parser.t
  6. +2 −2 t/tags/update_tags.t
View
@@ -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;
@@ -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';
View
@@ -3,7 +3,7 @@ use v6;
use Test;
plan 1;
-use Tags;
+use November::Tags;
my @counts_to_test =
[ 2, 5, 6, 14 ],
@@ -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 {
View
@@ -3,7 +3,7 @@ use v6;
use Test;
plan 3;
-use Tags;
+use November::Tags;
role Testing {
method clear {
@@ -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;
View
@@ -3,7 +3,7 @@ use v6;
use Test;
plan 11;
-use Tags;
+use November::Tags;
my @to_parse = (
'foo',
@@ -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);
View
@@ -3,7 +3,7 @@ use v6;
use Test;
plan 8;
-use Tags;
+use November::Tags;
role Testing {
method clear ($_:) {
@@ -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';

0 comments on commit 198e75a

Please sign in to comment.