From 113cdfa9f94a72e19e9570d10897c536a1202a70 Mon Sep 17 00:00:00 2001 From: soasme Date: Tue, 6 Sep 2016 15:31:23 +0800 Subject: [PATCH] =?UTF-8?q?Bump=20version:=200.2.5=20=E2=86=92=200.2.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- blackgate/http_proxy.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab86067..d95d787 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM python:2.7-slim MAINTAINER Lin Ju -RUN pip install blackgate==0.2.5 +RUN pip install blackgate==0.2.6 VOLUME /etc/blackgate.yml diff --git a/blackgate/http_proxy.py b/blackgate/http_proxy.py index 129530c..f567694 100644 --- a/blackgate/http_proxy.py +++ b/blackgate/http_proxy.py @@ -47,7 +47,7 @@ def options(self, *args, **kwargs): def _fetch(self, *args, **kwargs): headers = dict(self.request.headers.get_all()) headers.pop('Host', None) - headers['User-Agent'] = 'Blackgate/%s' % '0.2.5' + headers['User-Agent'] = 'Blackgate/%s' % '0.2.6' path = re.sub( self.proxy['request_path_regex'], diff --git a/setup.cfg b/setup.cfg index 1789266..7c9c706 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.2.5 +current_version = 0.2.6 commit = True tag = True diff --git a/setup.py b/setup.py index 1048b72..d6d00b4 100755 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup( name='blackgate', - version='0.2.5', + version='0.2.6', license='MIT', description="A set of utilities to build API gateway.", long_description=readme + '\n\n' + history,