Skip to content

Commit

Permalink
renamed to disambiguate from other FastCGI module
Browse files Browse the repository at this point in the history
FCGI -> FastCGI::NativeCall
  • Loading branch information
cbvi committed Aug 21, 2015
1 parent 6681e66 commit ddddbed
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions META.info
@@ -1,11 +1,11 @@
{
"name" : "FCGI",
"name" : "FastCGI::NativeCall",
"version" : "0.0.1",
"author" : "github:carbin",
"description" : "An implementation of FastCGI using NativeCall",
"depends" : [ ],
"provides" : {
"FCGI" : "lib/FCGI.pm6"
"FastCGI::NativeCall" : "lib/FastCGI/NativeCall.pm6"
},
"source-url" : "git://github.com/carbin/p6-fcgi.git"
}
8 changes: 4 additions & 4 deletions README.md
@@ -1,13 +1,13 @@
# FCGI #
# FastCGI::NativeCall #

This is an implementation of FastCGI for Perl 6 using NativeCall

## Example ##

use FCGI;
use FastCGI::NativeCall;

my $sock = FCGI::OpenSocket("/var/www/run/example.sock", 5);
my $fcgi = FCGI.new($sock);
my $sock = FastCGI::NativeCall::OpenSocket("/var/www/run/example.sock", 5);
my $fcgi = FastCGI::NativeCall.new($sock);

my $count = 0;

Expand Down
2 changes: 1 addition & 1 deletion lib/FCGI.pm6 → lib/FastCGI/NativeCall.pm6
Expand Up @@ -47,7 +47,7 @@ is native(&library) { ... }

sub free(Pointer $ptr) is native { ... }

class FCGI {
class FastCGI::NativeCall {
has FCGX_Request $!fcgx_req;
my %env;

Expand Down
6 changes: 3 additions & 3 deletions t/01-basic.t
@@ -1,13 +1,13 @@
use v6;
use Test;
use FCGI;
use FastCGI::NativeCall;

plan 2;

my $sock = FCGI::OpenSocket('01-test.sock', 5);
my $sock = FastCGI::NativeCall::OpenSocket('01-test.sock', 5);
ok '01-test.sock'.IO ~~ :e, 'opened socket';

my $fcgi = FCGI.new($sock);
my $fcgi = FastCGI::NativeCall.new($sock);
ok $fcgi, 'created objected';

unlink('01-test.sock');
Expand Down

0 comments on commit ddddbed

Please sign in to comment.