From f1da43fa5e09d9b35968e136172afdcc0ef068be Mon Sep 17 00:00:00 2001 From: Mastahyeti Date: Thu, 2 Oct 2014 17:01:10 +0200 Subject: [PATCH 1/2] fix excon warning --- lib/excon/middlewares/hijack.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/excon/middlewares/hijack.rb b/lib/excon/middlewares/hijack.rb index cc7f71bd1..681bb157f 100644 --- a/lib/excon/middlewares/hijack.rb +++ b/lib/excon/middlewares/hijack.rb @@ -1,4 +1,6 @@ module Excon + VALID_REQUEST_KEYS << :hijack_block + module Middleware # Hijack is an Excon middleware which parses response headers and then # yields the underlying TCP socket for raw TCP communication (used to From f6e1f480fa19cc89fc4b01d46ba7e37dab673195 Mon Sep 17 00:00:00 2001 From: Mastahyeti Date: Thu, 2 Oct 2014 17:13:23 +0200 Subject: [PATCH 2/2] ws --- lib/excon/middlewares/hijack.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/excon/middlewares/hijack.rb b/lib/excon/middlewares/hijack.rb index 681bb157f..727cf2928 100644 --- a/lib/excon/middlewares/hijack.rb +++ b/lib/excon/middlewares/hijack.rb @@ -1,6 +1,6 @@ module Excon VALID_REQUEST_KEYS << :hijack_block - + module Middleware # Hijack is an Excon middleware which parses response headers and then # yields the underlying TCP socket for raw TCP communication (used to