From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: * X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=1.0 required=3.0 tests=AWL,HK_RANDOM_FROM, MSGID_FROM_MTA_HEADER,TVD_RCVD_IP shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: [PATCH] bump unicorn dependency to 4.6.2+ for Ruby 2.0.0 Date: Tue, 26 Feb 2013 03:19:34 +0000 Message-ID: <20130226031934.GA26866@dcvr.yhbt.net> References: <20130225130619.GA27183@dcvr.yhbt.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1361848780 26291 80.91.229.3 (26 Feb 2013 03:19:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2013 03:19:40 +0000 (UTC) To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Tue Feb 26 04:20:03 2013 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Content-Disposition: inline In-Reply-To: <20130225130619.GA27183-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:455 Archived-At: Received: from 50-56-192-79.static.cloud-ips.com ([50.56.192.79] helo=rubyforge.org) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UAB5G-0005xz-6c for gclrrg-rainbows-talk@m.gmane.org; Tue, 26 Feb 2013 04:20:02 +0100 Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 3FEF32E09B; Tue, 26 Feb 2013 03:19:41 +0000 (UTC) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id D95D92E096 for ; Tue, 26 Feb 2013 03:19:35 +0000 (UTC) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C9A1D1F705; Tue, 26 Feb 2013 03:19:34 +0000 (UTC) Eric Wong wrote: > Due to this weird issue in the unicorn chunk parser C extension: > https://bugs.ruby-lang.org/issues/7957 > I'm pretty sure rb_str_modify() should work... This was a bug in unicorn fixed in the v4.6.2 release ref: commit f7ee06592d7709e96f64efb5e7a9485b54415c9d in git://bogomips.org/unicorn.git Rainbows! will depend on 4.6.2+ >>From 95d6719722f31987c72052b000f67d99989a81c8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 26 Feb 2013 03:16:46 +0000 Subject: [PATCH] bump unicorn dependency to 4.6.2+ for Ruby 2.0.0 This ensures we're compatible with the latest stable Ruby version. --- rainbows.gemspec | 4 +++- t/test_isolate.rb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rainbows.gemspec b/rainbows.gemspec index bcbbf5b..6a906cf 100644 --- a/rainbows.gemspec +++ b/rainbows.gemspec @@ -28,7 +28,9 @@ Gem::Specification.new do |s| s.add_dependency(%q, ['~> 2.5']) # we need Unicorn for the HTTP parser and process management - s.add_dependency(%q, ["~> 4.6"]) # 4.6.0+ supports hijacking + # 4.6.0+ supports hijacking, 4.6.2 fixes the chunk parser (for Ruby 2.0.0) + s.add_dependency(%q, ["~> 4.6", ">= 4.6.2"]) + s.add_development_dependency(%q, "~> 3.1") s.add_development_dependency(%q, "~> 1.6") diff --git a/t/test_isolate.rb b/t/test_isolate.rb index 6b7fe5a..d5daa8c 100644 --- a/t/test_isolate.rb +++ b/t/test_isolate.rb @@ -20,7 +20,7 @@ Isolate.now!(opts) do gem 'rack', '1.5.2' gem 'kcar', '0.4.0' gem 'raindrops', '0.10.0' - gem 'unicorn', '4.6.0' + gem 'unicorn', '4.6.2' if engine == "ruby" gem 'sendfile', '1.1.0' -- 1.8.1.2.526.gf51a757 _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying