aboutsummaryrefslogtreecommitdiff
path: root/lib/WebCoso
diff options
context:
space:
mode:
authordakkar <dakkar@luxion>2006-02-05 10:49:52 +0000
committerdakkar <dakkar@luxion>2006-02-05 10:49:52 +0000
commit175e61d6f35f8573b6efb844c524a90c2dba8c22 (patch)
tree66c4f14770d1e1dbcd03a9abbed4bada7d68c7b0 /lib/WebCoso
parentcambiato passaggio risorse agli step: ora lavorano sempre sulla stessa (diff)
downloadWebCoso-175e61d6f35f8573b6efb844c524a90c2dba8c22.tar.gz
WebCoso-175e61d6f35f8573b6efb844c524a90c2dba8c22.tar.bz2
WebCoso-175e61d6f35f8573b6efb844c524a90c2dba8c22.zip
spostate le collection fuori da config::
git-svn-id: svn://luxion/repos/WebCoso/trunk@152 fcb26f47-9200-0410-b104-b98ab5b095f3
Diffstat (limited to 'lib/WebCoso')
-rw-r--r--lib/WebCoso/Collection.pm (renamed from lib/WebCoso/Config/Collection.pm)2
-rw-r--r--lib/WebCoso/Collections.pm (renamed from lib/WebCoso/Config/Collections.pm)2
-rw-r--r--lib/WebCoso/Config.pm10
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/WebCoso/Config/Collection.pm b/lib/WebCoso/Collection.pm
index 23b1aea..42442f1 100644
--- a/lib/WebCoso/Config/Collection.pm
+++ b/lib/WebCoso/Collection.pm
@@ -1,4 +1,4 @@
-package WebCoso::Config::Collection;
+package WebCoso::Collection;
use strict;
use warnings;
use Class::Std;
diff --git a/lib/WebCoso/Config/Collections.pm b/lib/WebCoso/Collections.pm
index 7c70e64..f0f9815 100644
--- a/lib/WebCoso/Config/Collections.pm
+++ b/lib/WebCoso/Collections.pm
@@ -1,4 +1,4 @@
-package WebCoso::Config::Collections;
+package WebCoso::Collections;
use strict;
use warnings;
use Class::Std;
diff --git a/lib/WebCoso/Config.pm b/lib/WebCoso/Config.pm
index 78c9dbe..ab62179 100644
--- a/lib/WebCoso/Config.pm
+++ b/lib/WebCoso/Config.pm
@@ -1,13 +1,13 @@
package WebCoso::Config;
use strict;
use warnings;
-use WebCoso::Config::Collections;
+use WebCoso::Collections;
use WebCoso::Pipeline;
use WebCoso::X;
use utf8;
my @resources;
-my $collections=WebCoso::Config::Collections->new();
+my $collections=WebCoso::Collections->new();
my %resource_to_pipeline;
sub read_scalar {
@@ -60,14 +60,14 @@ sub get_pipeline_for {
sub clear {
@resources=();
- $collections=WebCoso::Config::Collections->new();
+ $collections=WebCoso::Collections->new();
%resource_to_pipeline=();
}
package WebCoso::Config::Helpers;
use Path::Class;
use WebCoso::Resource;
-use WebCoso::Config::Collection;
+use WebCoso::Collection;
use Exporter::Lite;
use vars qw($FILENAME @EXPORT);
@@ -123,7 +123,7 @@ sub res {
sub coll {
my ($name,$parents,$children,$resources)=@_;
- my $collection=WebCoso::Config::Collection->new({
+ my $collection=WebCoso::Collection->new({
name=>$name,
parents=>$parents||[],
children=>$children||[],