File tree Expand file tree Collapse file tree 5 files changed +8
-6
lines changed
pusher_push_notifications Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55and 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 )
Original file line number Diff line number Diff line change 1313import six
1414from six .moves import urllib
1515
16- SDK_VERSION = '1.1 .0'
16+ SDK_VERSION = '2.0 .0'
1717
1818INTEREST_MAX_LENGTH = 164
1919INTEREST_REGEX = re .compile ('^(_|-|=|@|,|\\ .|;|[A-Z]|[a-z]|[0-9])*$' )
Original file line number Diff line number Diff line change 22from codecs import open
33from os import path
44
5- __version__ = '1.1 .0'
5+ __version__ = '2.0 .0'
66
77here = path .abspath (path .dirname (__file__ ))
88
Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments