Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Clean up Makefile.PL, bump version.

  • Loading branch information...
commit a53ef9ff7af4208be6dc9d79437924eefb1a7e24 1 parent 1ed765d
Jeremy Stashewsky authored
15 MANIFEST
@@ -5,11 +5,16 @@ MANIFEST.SKIP
5 5 Makefile.PL
6 6 README
7 7 TODO
8   -example/hello.pl
9   -example/oneshot.pl
  8 +bin/feersum
  9 +eg/app.feersum
  10 +eg/app.psgi
  11 +eg/hello.pl
  12 +eg/oneshot.pl
10 13 lib/Feersum.pm
11 14 lib/Feersum/Connection.pm
12 15 lib/Feersum/Connection/Handle.pm
  16 +lib/Feersum/Runner.pm
  17 +lib/Plack/Handler/Feersum.pm
13 18 picohttpparser-git/bench.c
14 19 picohttpparser-git/picohttpparser.c
15 20 picohttpparser-git/picohttpparser.h
@@ -24,4 +29,10 @@ t/04-died.t
24 29 t/05-streaming.t
25 30 t/06-input.t
26 31 t/07-graceful-shutdown.t
  32 +t/08-read-timeout.t
  33 +t/50-psgi-simple.t
  34 +t/51-psgi-streaming.t
  35 +t/52-psgi-iohandle.t
  36 +t/60-plack.t
  37 +t/Utils.pm
27 38 typemap
14 MANIFEST.SKIP
... ... @@ -1,3 +1,11 @@
1   -picohttpparser-git/.git
2   -.gitignore
3   -.gitmodules
  1 +.*\.git.*
  2 +gmon\.out
  3 +.*\.gcda
  4 +.*\.gcno
  5 +blib/.*
  6 +Feersum.(?:o|bs|c)
  7 +http_load.*
  8 +.*\.patch
  9 +Makefile
  10 +Makefile\.old
  11 +pm_to_blib
49 Makefile.PL
@@ -2,7 +2,6 @@ use 5.008007;
2 2 use ExtUtils::MakeMaker;
3 3 use EV::MakeMaker qw/ev_args/;
4 4
5   -
6 5 {
7 6 package MY;
8 7 sub test_via_harness {
@@ -35,30 +34,38 @@ elsif ($ARGV[0] eq '-PROFILEUSE') {
35 34 $otherldflags = '-fprofile-use';
36 35 }
37 36
38   -
39   -# Set this to false if you get core-dumps.
40   -# Look for FEERSUM_STEAL in the code to see what this does.
  37 +# Set this to false if you get core-dumps. Gives a pretty good perf boost for
  38 +# simple responses. Look for FEERSUM_STEAL in the code to see what this does.
  39 +# In a nutshell: certain temporary values passed in as the body of a response
  40 +# have their string-value "stolen".
41 41 my $steal = 1;
42 42
43   -# See lib/ExtUtils/MakeMaker.pm for details of how to influence
44   -# the contents of the Makefile that is written.
45 43 WriteMakefile(ev_args(
46   - NAME => 'Feersum',
47   - VERSION_FROM => 'lib/Feersum.pm',
48   - ABSTRACT_FROM => 'lib/Feersum.pm',
49   - AUTHOR => 'Jeremy Stashewsky <stash@cpan.org>',
50   - PREREQ_PM => {
51   - 'EV' => 3.8,
  44 + NAME => 'Feersum',
  45 + VERSION_FROM => 'lib/Feersum.pm',
  46 + ABSTRACT_FROM => 'lib/Feersum.pm',
  47 + AUTHOR => 'Jeremy Stashewsky <stash@cpan.org>',
  48 + LICENSE => 'perl',
  49 + CONFIGURE_REQUIRES => {
  50 + 'ExtUtils::MakeMaker' => 6.50,
  51 + 'EV' => 3.9,
  52 + },
  53 + BUILD_REQUIRES => {
52 54 'Guard' => 1.012,
53   - # for testing,
54   - 'AnyEvent' => 0,
55   - 'Test::More' => 0,
56   - 'Test::Exception' => 0,
  55 + 'AnyEvent' => 5.261,
  56 + 'Test::More' => 0.94,
  57 + 'Test::Exception' => 0.29,
  58 + 'Scalar::Util' => 1.19,
  59 + },
  60 + PREREQ_PM => {
  61 + 'EV' => 3.9,
  62 + },
  63 + META_MERGE => {
  64 + recommends => {'Plack' => 0.9938},
  65 + 'no_index' => {directory => ['picohttpparser-git']},
57 66 },
58   - LIBS => [''],
59   - DEFINE => ($steal ? '-DFEERSUM_STEAL' : ''),
60   - INC => '-I.', # e.g., '-I. -I/usr/include/other'
61   - # Un-comment this if you add C files to link with later:
62   - # OBJECT => '$(O_FILES)', # link all the C files too
  67 + LIBS => [''],
  68 + DEFINE => ($steal ? '-DFEERSUM_STEAL' : ''),
  69 + INC => '-I.',
63 70 dynamic_lib => {OTHERLDFLAGS => $otherldflags},
64 71 ));
4 README
@@ -5,6 +5,9 @@ If you downloaded this module from a git repository, be sure to run:
5 5 git submodule init
6 6 git submodule update
7 7
  8 +You need to have EV 3.9 and at least ExtUtils::MakeMaker 6.50 installed to
  9 +build and install this module.
  10 +
8 11 To install this module type the following:
9 12
10 13 perl Makefile.PL
@@ -15,6 +18,7 @@ Please report any bugs using the github issue tracker:
15 18
16 19 http://github.com/stash/Feersum/issues/
17 20
  21 +
18 22 COPYRIGHT AND LICENCE
19 23
20 24 Copyright (C) 2010 by Jeremy Stashewsky & Socialtext Inc.
2  lib/Feersum.pm
@@ -5,7 +5,7 @@ use warnings;
5 5 use EV ();
6 6 use Carp ();
7 7
8   -our $VERSION = '0.91';
  8 +our $VERSION = '0.92';
9 9
10 10 require XSLoader;
11 11 XSLoader::load('Feersum', $VERSION);

0 comments on commit a53ef9f

Please sign in to comment.
Something went wrong with that request. Please try again.