Skip to content

Commit

Permalink
changed directory structure to separate core and extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
dann committed Jan 14, 2009
1 parent ad1f7e9 commit e59d5b0
Show file tree
Hide file tree
Showing 245 changed files with 164 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions Makefile.PL → angelos-core/Makefile.PL
Expand Up @@ -40,6 +40,7 @@ requires 'String::CamelCase';
requires 'Path::Class';
requires 'Devel::InnerPackage';
requires 'Exception::Class';
requires 'File::Spec';

# components
requires 'Template';
Expand Down
27 changes: 27 additions & 0 deletions angelos-core/README
@@ -0,0 +1,27 @@
This is Perl module Angelos.

INSTALLATION

Angelos installation is straightforward. If your CPAN shell is set up,
you should just be able to do

% cpan Angelos

Download it, unpack it, then build it as per the usual:

% perl Makefile.PL
% make && make test

Then install it:

% make install

DOCUMENTATION

Angelos documentation is available as in POD. So you can do:

% perldoc Angelos

to read the documentation online with your favorite pager.

Takatoshi Kitano
File renamed without changes.
17 changes: 12 additions & 5 deletions bugs/project.yaml → angelos-core/bugs/project.yaml
Expand Up @@ -15,19 +15,26 @@ components:
- !ditz.rubyforge.org,2008-03-06/component
name: dispatcher
- !ditz.rubyforge.org,2008-03-06/component
name: middleware
name: middleware
- !ditz.rubyforge.org,2008-03-06/component
name: configloader
- !ditz.rubyforge.org,2008-03-06/component
name: Tutorial
- !ditz.rubyforge.org,2008-03-06/component
name: script
name: script
- !ditz.rubyforge.org,2008-03-06/component
name: testing
- !ditz.rubyforge.org,2008-03-06/component
name: flavor
- !ditz.rubyforge.org,2008-03-06/component
name: BUGS

releases: []

releases:
- !ditz.rubyforge.org,2008-03-06/release
name: "0.01"
status: :unreleased
release_time:
log_events:
- - 2009-01-14 13:52:45.229106 Z
- dann <techmemo@gmail.com>
- created
- ""
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
32 changes: 32 additions & 0 deletions angelos-core/lib/Angelos/Core.pm
@@ -0,0 +1,32 @@
package Angelos::Core;

use strict;
use warnings;

BEGIN { require 5.008001; }

our $VERSION='0.01';

=head1 NAME
Angelos::Core - Angelos::Core classes
=head1 SYNOPSIS
See L<Angelos>.
=head1 DESCRIPTION
=head1 AUTHOR
Takatoshi Kitano
=head1 COPYRIGHT
This program is free software, you can redistribute it and/or modify it under
the same terms as Perl itself.
=cut

1;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions lib/Angelos/Home.pm → angelos-core/lib/Angelos/Home.pm
Expand Up @@ -3,6 +3,7 @@ use strict;
use warnings;
use Angelos::Utils;
use Path::Class qw(dir file);
use File::Spec;
use Cwd ();

our $HOME;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions angelos-core/t/conf/modperl_startup.pl.in
@@ -0,0 +1,2 @@
use lib '@DocumentRoot@/modperl/angelos/lib';
1;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,24 @@
package TestModPerl::HTTPEngine;
use Mouse;
use HTTP::Engine;
use HTTP::Engine::Response;

__PACKAGE__->meta->make_immutable;

no Mouse;

sub setup_engine {
my ( $self, $conf ) = @_;
$conf->{request_handler} = sub { $self->handle_request(@_) };
HTTP::Engine->new( interface => $conf, );
}

sub handle_request {
my ( $self, $req ) = @_;
HTTP::Engine::Response->new(
status => 200,
body => 'HelloWorld',
);
}

1;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions angelos-core/t/performance/020_modperl/http-engine.t
@@ -0,0 +1,11 @@
use strict;
use lib 't/lib','t/TestApp/lib';
use Angelos::Test::Benchmark::ModPerl;

benchmark_diag(
type => 'http-engine',
mode => 'modperl',
path => '/modperl/http-engine'
);

1;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
27 changes: 27 additions & 0 deletions angelos-ext/README
@@ -0,0 +1,27 @@
This is Perl module Angelos.

INSTALLATION

Angelos installation is straightforward. If your CPAN shell is set up,
you should just be able to do

% cpan Angelos

Download it, unpack it, then build it as per the usual:

% perl Makefile.PL
% make && make test

Then install it:

% make install

DOCUMENTATION

Angelos documentation is available as in POD. So you can do:

% perldoc Angelos

to read the documentation online with your favorite pager.

Takatoshi Kitano
27 changes: 27 additions & 0 deletions angelos-middlewares/README
@@ -0,0 +1,27 @@
This is Perl module Angelos.

INSTALLATION

Angelos installation is straightforward. If your CPAN shell is set up,
you should just be able to do

% cpan Angelos

Download it, unpack it, then build it as per the usual:

% perl Makefile.PL
% make && make test

Then install it:

% make install

DOCUMENTATION

Angelos documentation is available as in POD. So you can do:

% perldoc Angelos

to read the documentation online with your favorite pager.

Takatoshi Kitano

0 comments on commit e59d5b0

Please sign in to comment.