From 61513817e3d9f74d8d4c8ba3b088b7024931fe23 Mon Sep 17 00:00:00 2001 From: Harrison Harnisch Date: Fri, 3 Apr 2015 18:14:43 -0700 Subject: [PATCH] Update docs, example and bump version to 0.1.5 --- README.md | 10 ++++++++-- example.py | 4 +++- setup.py | 4 ++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a5ade11..4f3f857 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,12 @@ $ pip install python-meteor ## History -**Latest Version** 0.1.4 +**Latest Version** 0.1.5 + +- BUGFIX - unsubscribe was not unsubcribing (missing sub ID) (thanks [@tdamsma](https://github.com/tdamsma)) +- examples and docs support python 3 + +**Latest** 0.1.4 - BUGFIX - update connected status when reconnecting (thanks [@ppettit](https://github.com/ppettit)) - BUGFIX - make sure `logged_in` callback get's fired (thanks [@pmgration](https://github.com/pmgration)) @@ -536,4 +541,5 @@ $ python example.py ##Collaborators - [@ppettit](https://github.com/ppettit) -- [@pmgration](https://github.com/pmgration) \ No newline at end of file +- [@pmgration](https://github.com/pmgration) +- [@tdamsma](https://github.com/tdamsma) \ No newline at end of file diff --git a/example.py b/example.py index 199d42c..8cc83d7 100644 --- a/example.py +++ b/example.py @@ -45,7 +45,7 @@ def subscription_callback(error): client.on('connected', connected) client.connect() -client.subscribe('lists') +client.subscribe('publicLists') # (sort of) hacky way to keep the client alive @@ -55,3 +55,5 @@ def subscription_callback(error): time.sleep(1) except KeyboardInterrupt: break + +client.unsubscribe('publicLists') diff --git a/setup.py b/setup.py index 4a79813..8a35e4d 100644 --- a/setup.py +++ b/setup.py @@ -6,14 +6,14 @@ readme = f.read() setup(name='python-meteor', - version='0.1.4', + version='0.1.5', description='An event driven meteor client', long_description=readme, license='MIT', author='Harrison Harnisch', author_email='hharnisc@gmail.com', url='https://github.com/hharnisc/python-meteor', - keywords = ["meteor", "ddp", "events", "emitter", "node.js", "node", "eventemitter", "event_emitter"], + keywords = ["meteor", "ddp", "events", "emitter", "node.js", "node", "eventemitter", "event_emitter", "ejson"], classifiers = [ "Programming Language :: Python", "Development Status :: 2 - Pre-Alpha",