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/)
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
7
## [ Unreleased]
8
+
9
+ ## [ 2.0.0] - 2019-11-25
8
10
### Added
9
11
- Support for ` HTTP_PROXY ` environment variables. This should enable use of the
10
12
SDK on the PythonAnywhere platform (see issue #24 )
Original file line number Diff line number Diff line change 13
13
import six
14
14
from six .moves import urllib
15
15
16
- SDK_VERSION = '1.1 .0'
16
+ SDK_VERSION = '2.0 .0'
17
17
18
18
INTEREST_MAX_LENGTH = 164
19
19
INTEREST_REGEX = re .compile ('^(_|-|=|@|,|\\ .|;|[A-Z]|[a-z]|[0-9])*$' )
Original file line number Diff line number Diff line change 2
2
from codecs import open
3
3
from os import path
4
4
5
- __version__ = '1.1 .0'
5
+ __version__ = '2.0 .0'
6
6
7
7
here = path .abspath (path .dirname (__file__ ))
8
8
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):
61
61
'content-type' : 'application/json' ,
62
62
'content-length' : '69' ,
63
63
'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' ,
65
65
'host' : 'instance_id.pushnotifications.pusher.com' ,
66
66
},
67
67
)
@@ -128,7 +128,7 @@ def test_deprecated_alias_still_works(self):
128
128
'content-type' : 'application/json' ,
129
129
'content-length' : '69' ,
130
130
'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' ,
132
132
'host' : 'instance_id.pushnotifications.pusher.com' ,
133
133
},
134
134
)
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):
112
112
'content-type' : 'application/json' ,
113
113
'content-length' : '64' ,
114
114
'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' ,
116
116
'host' : 'instance_id.pushnotifications.pusher.com' ,
117
117
},
118
118
)
@@ -455,7 +455,7 @@ def test_delete_user_should_make_correct_http_request(self):
455
455
{
456
456
'content-length' : '0' ,
457
457
'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' ,
459
459
'host' : 'instance_id.pushnotifications.pusher.com' ,
460
460
},
461
461
)
You can’t perform that action at this time.
0 commit comments