Skip to content

Commit

Permalink
Version Bump! (v0.2.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Reitz committed Mar 31, 2011
1 parent 57e7fa9 commit 6684217
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 22 deletions.
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
History
=======

0.2.3 (2011-03-31)
------------------
* Added Gist Comments support

0.2.2 (2011-01-10)
------------------
* Updated filename handling for special filenames
Expand Down
21 changes: 9 additions & 12 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ Example Usage
from gistapi import Gist, Gists

gist = Gist('d4507e882a07ac6f9f92')
gist.description # 'Example Gist for gist.py'
gist.description # 'Example Gist for gist.py'
gist.created_at # '2010/05/16 10:51:15 -0700'
gist.public # False
gist.filenames # ['exampleEmptyFile', 'exampleFile']
gist.files # {'exampleFile': 'Example file content.', 'exampleEmptyFile': ''}
gist.comments[0].body # Test Comment.

gist.created_at # '2010/05/16 10:51:15 -0700'
gist.public # False
gist.filenames # ['exampleEmptyFile', 'exampleFile']
gist.files # {'exampleFile': 'Example file content.', 'exampleEmptyFile': ''}

Gists.fetch_by_user('kennethreitz')[-1].description # 'My .bashrc configuration'


Installation
Expand All @@ -31,18 +35,11 @@ Installation
Or, if you must:

easy_install gistapi


Roadmap
-------

* Implement Gist API methods as they are introduced
- Token based Authentication
- Listing your private Gists
- Create a new Gist
- Fork a Gist
- Delete a Gist
- Edit a Gist
* Possibly use other hacks in the meantime
- Gist's New Gist method? (Post to web form?)
* Possibly add command line gist interface
Expand Down
4 changes: 2 additions & 2 deletions gistapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@


__author__ = 'Kenneth Reitz'
__version__ = '0.2.2'
__build__ = 0x000202
__version__ = '0.2.3'
__build__ = 0x000203
__license__ = 'MIT'
10 changes: 2 additions & 8 deletions gistapi/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"""
GistAPI.py -- A Python wrapper for GitHub's Gist API
(c) 2010 Kenneth Reitz. MIT License.
(c) 2011 Kenneth Reitz. MIT License.
Example usage:
Expand Down Expand Up @@ -31,6 +31,7 @@
u'Great Stuff.'
"""


import cStringIO
import os.path

Expand Down Expand Up @@ -258,10 +259,3 @@ def from_api(jsondict):

return comment








0 comments on commit 6684217

Please sign in to comment.