From 64f1ebcbb89be4c6abd3f6c2f8d2723d292a45c0 Mon Sep 17 00:00:00 2001 From: Benjamin Eckel Date: Tue, 15 May 2018 14:10:56 -0500 Subject: [PATCH 1/2] Bump 2.8.3 --- CHANGELOG | 4 ++++ recurly/__init__.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 5943a631..4453b32c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,9 @@ ## Unreleased # +## Version 2.8.3 – May 15th, 2018 ## + +- Implement API version 2.12 changes + ## Version 2.8.0 – April 5th, 2018 ## - Implement API version 2.11 changes diff --git a/recurly/__init__.py b/recurly/__init__.py index 520810f6..075e1c04 100644 --- a/recurly/__init__.py +++ b/recurly/__init__.py @@ -20,7 +20,7 @@ """ -__version__ = '2.8.1' +__version__ = '2.8.3' __python_version__ = '.'.join(map(str, sys.version_info[:3])) cached_rate_limits = { From 832c3266fddbdd6059fd501a3987b14844f29431 Mon Sep 17 00:00:00 2001 From: Benjamin Eckel Date: Tue, 15 May 2018 17:19:35 -0500 Subject: [PATCH 2/2] Fix bug introduced by sec patch --- recurly/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recurly/__init__.py b/recurly/__init__.py index 075e1c04..c3693b3f 100644 --- a/recurly/__init__.py +++ b/recurly/__init__.py @@ -922,10 +922,9 @@ def pending(self): but does not run any transactions. Returns: - InvoiceCollection: The authorized collection of invoices + InvoiceCollection: The pending collection of invoices """ - url = recurly.base_uri() + self.collection_path + '/pending' - return self.__invoice(url) + return self.__invoice(self.collection_path + '/pending') def __invoice(self, url): # We must null out currency in subscriptions and adjustments