Skip to content

Commit 5ee6904

Browse files
committed
Update HISTORY, prepare for a possible beta.
1 parent 0749609 commit 5ee6904

2 files changed

Lines changed: 33 additions & 2 deletions

File tree

HISTORY.rst

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,37 @@ History/Changelog
1414

1515
- is_active() and active return the same value
1616

17+
- Some objects now have ``__str__`` methods. You can now do things like:
18+
19+
::
20+
21+
import github3
22+
u = github3.user('sigmavirus24')
23+
r = github3.repository(u, 'github3.py')
24+
25+
And
26+
27+
::
28+
29+
import github3
30+
31+
r = github3.repository('sigmavirus24', 'github3.py')
32+
33+
template = """Some kind of template where you mention this repository
34+
{0}"""
35+
36+
print(template.format(r))
37+
# Some kind of template where you mention this repository
38+
# sigmavirus24/github3.py
39+
40+
Current list of objects with this feature:
41+
42+
- github3.users.User (uses the login name)
43+
- github3.users.Key (uses the key text)
44+
- github3.users.Repository (uses the login/name pair)
45+
- github3.users.RepoTag (uses the tag name)
46+
- github3.users.Contents (uses the decoded content)
47+
1748
0.2: 2012-11-21
1849
---------------
1950

@@ -44,7 +75,7 @@ History/Changelog
4475
- Handle sending json with `%` symbols better, courtesy of Kristian Glass
4576
- Correctly handle non-GitHub committers and authors courtesy of Paul Swartz
4677
(@paulswartz)
47-
- Correctly display method signatures in documentatio
78+
- Correctly display method signatures in documentation courtesy of (@seveas)
4879

4980
0.1b1: 2012-10-31
5081
-----------------

github3/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
__author__ = 'Ian Cordasco'
1414
__license__ = 'Modified BSD'
1515
__copyright__ = 'Copyright 2012 Ian Cordasco'
16-
__version__ = '0.3.dev'
16+
__version__ = '0.3.b'
1717

1818
from github3.api import *
1919
from github3.github import GitHub

0 commit comments

Comments
 (0)