Skip to content

Commit

Permalink
Merge branch 'topic/Recomplete' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquev6 committed Mar 30, 2012
2 parents 64c6a1e + ab3f9b4 commit e7dca91
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ReferenceOfApis.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ API `/repos/:user/:repo/git/refs/:ref`
======================================
* GET: `Repository.get_git_ref`
* PATCH: `GitRef.edit`
* DELETE: (TODO)
* DELETE: `GitRef.delete`

API `/repos/:user/:repo/git/tags`
=================================
Expand Down Expand Up @@ -465,7 +465,7 @@ API `/users/:user/following`
API `/users/:user/gists`
========================
* GET: `NamedUser.get_gists`
* POST: (TODO)
* POST: `NamedUser.create_gist`

API `/users/:user/orgs`
=======================
Expand Down
5 changes: 5 additions & 0 deletions ReferenceOfClasses.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,10 @@ Modification
------------
* `edit( sha, [force] )`

Deletion
--------
* `delete()`

Class `GitTag`
==============

Expand Down Expand Up @@ -583,6 +587,7 @@ Watched
Gists
-----
* `get_gists()`: list of `Gist`
* `create_gist( public, files, [description] )`: `Gist`

Class `Organization`
====================
Expand Down
1 change: 1 addition & 0 deletions github/GithubObjects/GitRef.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
"_repo",
),
Editable( Parameters( [ "sha" ], [ "force" ] ) ),
Deletable(),
)
1 change: 1 addition & 0 deletions github/GithubObjects/NamedUser_complete.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@ def __getPublicReceivedEvents( user ):
NamedUser._addAttributePolicy(
ExternalListOfObjects( "gists", "gist", Gist,
ListGetable( Parameters( [], [] ) ),
ElementCreatable( Parameters( [ "public", "files" ], [ "description" ] ) ),
)
)

0 comments on commit e7dca91

Please sign in to comment.