From 1f40fbb30acd8a46d097de7d275762657c164943 Mon Sep 17 00:00:00 2001 From: Panchorn Lertvipada Date: Tue, 2 Mar 2021 00:43:20 +0700 Subject: [PATCH 1/3] Update travis username --- .travis.yml | 2 +- JenkinsLibrary/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c17a3c3..db67f87 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ script: - make clean docs dist deploy: provider: pypi - user: __token__ + username: __token__ password: secure: LnRMKO1yXkg0ad3jPKxVHKThhwoT7H5/wOrytCIcs2l+/WqiJ4qjModrYwjciU9hEtnCwtKKVUWlFGbIHASgihqFeqQruSHgWENPxh1zx0zexD8j/sasqo9eqTX+oHvQzjyr+U1YNBhvLakWbfvFSx4siMrgFWGnoGjjM523b3Ap5X4uZ6N16zWe3uby/7Bz0lcsAvbnqtoVxbAZSMsM+oGIcVTio+dd1etWl5axyybXMNlG52zcZh9BZ/ZotgSPuuGb29W68fL25L/bqytdw8rif0vydMmmTOjjQy1sJ9pDPZwbtJ4fyi6T3zIToML9D/MG7nULHvV1L2rd4hSkNLK/NbKBcitr1Gu69xL6FxvmoJygJzuj/6EQmww8tOSIr2accDhXNobsnS/cP3Bf8YMRwqftBGH5xWqYzd7vT/vv/bcISbRYm4ugnYMO7AfFyZCKNVp5bsNxQ4P9IqzX93EgsBvKdySl1Juo9yiy8F5RvAOgJt2++7JBXkvX32xN3u2BTkGyCQM/lTWwkGJ/s5j0HA/2YNO9mPJNMgO9ZAxxK/zPSNOf44Oi7Gcd7OJhytoV503Uo15HA8RaamOnlve/edup0NzeJMmI/SEkyhEW/yUViLcijYZACHCMydTC5XO71chk0tegcZbJpdEpeSXqCrqfTiaoxieCT6fMeTw= on: diff --git a/JenkinsLibrary/version.py b/JenkinsLibrary/version.py index 39d7cd7..0505683 100644 --- a/JenkinsLibrary/version.py +++ b/JenkinsLibrary/version.py @@ -1 +1 @@ -VERSION = '0.8.1' +VERSION = '0.8.2' From aa858bd5b52594a6e1c481046a2f81cc110c2a3a Mon Sep 17 00:00:00 2001 From: Panchorn Lertvipada Date: Tue, 2 Mar 2021 08:31:39 +0700 Subject: [PATCH 2/3] Update version --- JenkinsLibrary/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JenkinsLibrary/version.py b/JenkinsLibrary/version.py index 0505683..cb177c2 100644 --- a/JenkinsLibrary/version.py +++ b/JenkinsLibrary/version.py @@ -1 +1 @@ -VERSION = '0.8.2' +VERSION = '0.8.5' From 5b53bc23ce552dbcffc2293119473a2df13ce56c Mon Sep 17 00:00:00 2001 From: Panchorn Lertvipada Date: Thu, 22 Apr 2021 13:59:33 +0700 Subject: [PATCH 3/3] Remove encoding arg from json.loads() --- JenkinsLibrary/jenkins_face.py | 2 +- JenkinsLibrary/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/JenkinsLibrary/jenkins_face.py b/JenkinsLibrary/jenkins_face.py index 8624aa0..bbf0cc1 100644 --- a/JenkinsLibrary/jenkins_face.py +++ b/JenkinsLibrary/jenkins_face.py @@ -177,7 +177,7 @@ def _send(self, req): @staticmethod def _get_response(response): response.raise_for_status() - return json.loads(response.content, encoding='utf-8') + return json.loads(response.content) def _job_url(self, url_format, params): url = url_format.format(*params) diff --git a/JenkinsLibrary/version.py b/JenkinsLibrary/version.py index cb177c2..ddec2d2 100644 --- a/JenkinsLibrary/version.py +++ b/JenkinsLibrary/version.py @@ -1 +1 @@ -VERSION = '0.8.5' +VERSION = '0.8.6'