Skip to content

Commit 41300ee

Browse files
committed
Bump version to 2.0.0
1 parent afacfbe commit 41300ee

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [2.0.0] - 2019-11-25
810
### Added
911
- Support for `HTTP_PROXY` environment variables. This should enable use of the
1012
SDK on the PythonAnywhere platform (see issue #24)

pusher_push_notifications/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import six
1414
from six.moves import urllib
1515

16-
SDK_VERSION = '1.1.0'
16+
SDK_VERSION = '2.0.0'
1717

1818
INTEREST_MAX_LENGTH = 164
1919
INTEREST_REGEX = re.compile('^(_|-|=|@|,|\\.|;|[A-Z]|[a-z]|[0-9])*$')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from codecs import open
33
from os import path
44

5-
__version__ = '1.1.0'
5+
__version__ = '2.0.0'
66

77
here = path.abspath(path.dirname(__file__))
88

tests/test_interests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_publish_to_interests_should_make_correct_http_request(self):
6161
'content-type': 'application/json',
6262
'content-length': '69',
6363
'authorization': 'Bearer SECRET_KEY',
64-
'x-pusher-library': 'pusher-push-notifications-python 1.1.0',
64+
'x-pusher-library': 'pusher-push-notifications-python 2.0.0',
6565
'host': 'instance_id.pushnotifications.pusher.com',
6666
},
6767
)
@@ -128,7 +128,7 @@ def test_deprecated_alias_still_works(self):
128128
'content-type': 'application/json',
129129
'content-length': '69',
130130
'authorization': 'Bearer SECRET_KEY',
131-
'x-pusher-library': 'pusher-push-notifications-python 1.1.0',
131+
'x-pusher-library': 'pusher-push-notifications-python 2.0.0',
132132
'host': 'instance_id.pushnotifications.pusher.com',
133133
},
134134
)

tests/test_users.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def test_publish_to_users_should_make_correct_http_request(self):
112112
'content-type': 'application/json',
113113
'content-length': '64',
114114
'authorization': 'Bearer SECRET_KEY',
115-
'x-pusher-library': 'pusher-push-notifications-python 1.1.0',
115+
'x-pusher-library': 'pusher-push-notifications-python 2.0.0',
116116
'host': 'instance_id.pushnotifications.pusher.com',
117117
},
118118
)
@@ -455,7 +455,7 @@ def test_delete_user_should_make_correct_http_request(self):
455455
{
456456
'content-length': '0',
457457
'authorization': 'Bearer SECRET_KEY',
458-
'x-pusher-library': 'pusher-push-notifications-python 1.1.0',
458+
'x-pusher-library': 'pusher-push-notifications-python 2.0.0',
459459
'host': 'instance_id.pushnotifications.pusher.com',
460460
},
461461
)

0 commit comments

Comments
 (0)