Permalink
Browse files

Version Bump! (v0.2.3)

  • Loading branch information...
1 parent 57e7fa9 commit 6684217646c13fc458864e480a20efb25cdab4ad @kennethreitz kennethreitz committed Mar 31, 2011
Showing with 17 additions and 22 deletions.
  1. +4 −0 HISTORY.rst
  2. +9 −12 README.rst
  3. +2 −2 gistapi/__init__.py
  4. +2 −8 gistapi/core.py
View
@@ -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
View
@@ -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
@@ -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
View
@@ -10,6 +10,6 @@
__author__ = 'Kenneth Reitz'
-__version__ = '0.2.2'
-__build__ = 0x000202
+__version__ = '0.2.3'
+__build__ = 0x000203
__license__ = 'MIT'
View
@@ -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:
@@ -31,6 +31,7 @@
u'Great Stuff.'
"""
+
import cStringIO
import os.path
@@ -258,10 +259,3 @@ def from_api(jsondict):
return comment
-
-
-
-
-
-
-

0 comments on commit 6684217

Please sign in to comment.