Skip to content
Snippets Groups Projects
Commit c07f6dfc authored by Ananthu C V's avatar Ananthu C V
Browse files

New upstream version 1.2.3

parent e599f686
Branches upstream
Tags upstream/1.2.3
No related merge requests found
......@@ -3,6 +3,4 @@ require 'ffi-compiler/compile_task'
FFI::Compiler::CompileTask.new('http-parser-ext') do |t|
t.cflags << "-Wall -Wextra -O3"
t.cflags << "-D_GNU_SOURCE=1" if RbConfig::CONFIG["host_os"].downcase =~ /mingw/
t.cflags << "-arch x86_64" if t.platform.mac?
t.ldflags << "-arch x86_64" if t.platform.mac?
end
......@@ -10,8 +10,8 @@ module HttpParser
#
# Returns a new request/response instance variable
#
def self.new_instance &block
::HttpParser::Instance.new &block
def self.new_instance(&block)
::HttpParser::Instance.new(&block)
end
......
# frozen_string_literal: true
module HttpParser
VERSION = "1.2.1"
VERSION = "1.2.3"
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment