Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf7ff568

Browse files
committed
< 1100 lines left to test
1 parent76dcc6c commitf7ff568

File tree

6 files changed

+67
-9
lines changed

6 files changed

+67
-9
lines changed

‎tests/json/commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"files": [{"status": "modified", "deletions": 3, "raw_url": "https://github.com/sigmavirus24/github3.py/raw/76dcc6cb4b9860034be81b7e58adc286a115aa97/docs/api.rst", "blob_url": "https://github.com/sigmavirus24/github3.py/blob/76dcc6cb4b9860034be81b7e58adc286a115aa97/docs/api.rst", "changes": 58, "filename": "docs/api.rst", "sha": "79d48eb9753ef9280d445b25dfe99f6ae19a245c", "additions": 55, "patch": "@@ -37,6 +37,10 @@ Or you can simply use the following functions\n \n ------\n \n+.. autofunction:: github3.authorize\n+\n+------\n+\n .. autofunction:: github3.create_gist\n \n ------\n@@ -49,11 +53,39 @@ Or you can simply use the following functions\n \n ------\n \n-.. autofunction:: github3.list_events\n+.. autofunction:: github3.iter_events\n+\n+------\n+\n+.. autofunction:: github3.iter_followers\n+\n+------\n+\n+.. autofunction:: github3.iter_following\n+\n+------\n+\n+.. autofunction:: github3.iter_gists\n+\n+------\n+\n+.. autofunction:: github3.iter_orgs\n+\n+------\n+\n+.. autofunction:: github3.iter_repos\n+\n+------\n+\n+.. autofunction:: github3.iter_repo_issues\n \n ------\n \n-.. autofunction:: github3.list_gists\n+.. autofunction:: github3.iter_starred\n+\n+------\n+\n+.. autofunction:: github3.iter_subscriptions\n \n ------\n \n@@ -61,6 +93,26 @@ Or you can simply use the following functions\n \n ------\n \n+.. autofunction:: github3.octocat\n+\n+------\n+\n+.. autofunction:: github3.organization\n+\n+------\n+\n+.. autofunction:: github3.pull_request\n+\n+------\n+\n+.. autofunction:: github3.ratelimit_remaining\n+\n+------\n+\n+.. autofunction:: github3.repository\n+\n+------\n+\n .. autofunction:: github3.search_issues\n \n ------\n@@ -81,7 +133,7 @@ Or you can simply use the following functions\n \n ------\n \n-.. autofunction:: github3.ratelimit_remaining\n+.. autofunction:: github3.zen\n \n ------\n ", "contents_url": "https://api.github.com/repos/sigmavirus24/github3.py/contents/docs/api.rst?ref=76dcc6cb4b9860034be81b7e58adc286a115aa97"}, {"status": "modified", "deletions": 2, "raw_url": "https://github.com/sigmavirus24/github3.py/raw/76dcc6cb4b9860034be81b7e58adc286a115aa97/github3/api.py", "blob_url": "https://github.com/sigmavirus24/github3.py/blob/76dcc6cb4b9860034be81b7e58adc286a115aa97/github3/api.py", "changes": 14, "filename": "github3/api.py", "sha": "aedb345aa9772f8edf6140ad28e57242bd80e522", "additions": 12, "patch": "@@ -13,7 +13,17 @@\n \n \n def authorize(login, password, scopes, note='', note_url=''):\n- \"\"\"See :func:`authorize <github3.github.GitHub.authorize>`\"\"\"\n+ \"\"\"Obtain an authorization token from the GitHub API for the GitHub\n+ API.\n+\n+ :param str login: (required)\n+ :param str password: (required)\n+ :param list scopes: (required), areas you want this token to apply to,\n+ i.e., 'gist', 'user'\n+ :param str note: (optional), note about the authorization\n+ :param str note_url: (optional), url for the application\n+ :returns: :class:`Authorization <Authorization>`\n+ \"\"\"\n return gh.authorize(login, password, scopes, note, note_url)\n \n \n@@ -113,7 +123,7 @@ def iter_repo_issues(owner, repository, filter='', state='', labels='',\n \"\"\"\n if owner and repository:\n return gh.iter_repo_issues(owner, repository, filter, state, labels,\n- sort, direction, since, number)\n+ sort, direction, since, number)\n return iter([])\n \n ", "contents_url": "https://api.github.com/repos/sigmavirus24/github3.py/contents/github3/api.py?ref=76dcc6cb4b9860034be81b7e58adc286a115aa97"}], "committer": {"following_url": "https://api.github.com/users/sigmavirus24/following", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "url": "https://api.github.com/users/sigmavirus24", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "gravatar_id": "c148356d89f925e692178bee1d93acf7", "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "login": "sigmavirus24", "type": "User", "id": 240830, "followers_url": "https://api.github.com/users/sigmavirus24/followers"}, "stats": {"deletions": 5, "additions": 67, "total": 72}, "author": {"following_url": "https://api.github.com/users/sigmavirus24/following", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "url": "https://api.github.com/users/sigmavirus24", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "gravatar_id": "c148356d89f925e692178bee1d93acf7", "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "login": "sigmavirus24", "type": "User", "id": 240830, "followers_url": "https://api.github.com/users/sigmavirus24/followers"}, "url": "https://api.github.com/repos/sigmavirus24/github3.py/commits/76dcc6cb4b9860034be81b7e58adc286a115aa97", "comments_url": "https://api.github.com/repos/sigmavirus24/github3.py/commits/76dcc6cb4b9860034be81b7e58adc286a115aa97/comments", "sha": "76dcc6cb4b9860034be81b7e58adc286a115aa97", "parents": [{"url": "https://api.github.com/repos/sigmavirus24/github3.py/commits/a811e1a270f65eecb65755eca38d888cbefcb0a7", "sha": "a811e1a270f65eecb65755eca38d888cbefcb0a7"}], "commit": {"committer": {"date": "2012-12-03T01:14:19Z", "email": "graffatcolmingov@gmail.com", "name": "Ian Cordasco"}, "author": {"date": "2012-12-03T01:14:19Z", "email": "graffatcolmingov@gmail.com", "name": "Ian Cordasco"}, "url": "https://api.github.com/repos/sigmavirus24/github3.py/git/commits/76dcc6cb4b9860034be81b7e58adc286a115aa97", "tree": {"url": "https://api.github.com/repos/sigmavirus24/github3.py/git/trees/fdc53315b062f8e364460b2842116ddd52d6a6c6", "sha": "fdc53315b062f8e364460b2842116ddd52d6a6c6"}, "comment_count": 0, "message": "Fix docs"}}

‎tests/json/commit_comment

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"body": "Late night commits are never a good idea. I refactored a bit. `User` objects and `Organization` objects share a lot of common attributes. I turned those common attributes into one `BaseAccount` class to make things simpler. ", "commit_id": "d41566090114a752eb3a87dbcf2473eb427ef0f3", "body_text": "Late night commits are never a good idea. I refactored a bit. User objects and Organization objects share a lot of common attributes. I turned those common attributes into one BaseAccount class to make things simpler.", "updated_at": "2012-05-27T04:05:54Z", "created_at": "2012-05-27T04:05:54Z", "html_url": "https://github.com/sigmavirus24/github3.py/commit/d41566090114a752eb3a87dbcf2473eb427ef0f3#commitcomment-1380832", "body_html": "<p>Late night commits are never a good idea. I refactored a bit. <code>User</code> objects and <code>Organization</code> objects share a lot of common attributes. I turned those common attributes into one <code>BaseAccount</code> class to make things simpler. </p>", "url": "https://api.github.com/repos/sigmavirus24/github3.py/comments/1380832", "user": {"following_url": "https://api.github.com/users/sigmavirus24/following", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "url": "https://api.github.com/users/sigmavirus24", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "gravatar_id": "c148356d89f925e692178bee1d93acf7", "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "login": "sigmavirus24", "type": "User", "id": 240830, "followers_url": "https://api.github.com/users/sigmavirus24/followers"}, "position": null, "path": null, "line": null, "id": 1380832}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp