1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Change name of parser extension to puma_http11

This commit is contained in:
Evan Phoenix 2011-10-02 11:33:48 -05:00
parent 4f69300f77
commit 40dac162a2
14 changed files with 8 additions and 9 deletions

View file

@ -1,6 +0,0 @@
require 'mkmf'
dir_config("http11")
have_library("c", "main")
create_makefile("http11")

View file

@ -0,0 +1,5 @@
require 'mkmf'
dir_config("puma_http11")
create_makefile("puma_http11")

View file

@ -453,7 +453,7 @@ VALUE HttpParser_body(VALUE self) {
return http->body;
}
void Init_http11()
void Init_puma_http11()
{
VALUE mPuma = rb_define_module("Puma");

View file

@ -6,7 +6,7 @@ require 'puma/thread_pool'
require 'puma/const'
require 'puma/events'
require 'http11'
require 'puma_http11'
require 'socket'

View file

@ -2,7 +2,7 @@
require 'rake/extensiontask'
# build http11 C extension
Rake::ExtensionTask.new('http11', HOE.spec) do |ext|
Rake::ExtensionTask.new('puma_http11', HOE.spec) do |ext|
# define target for extension (supporting fat binaries)
if RUBY_PLATFORM =~ /mingw|mswin/ then
RUBY_VERSION =~ /(\d+\.\d+)/