fuselage 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/README.markdown +65 -0
- data/Rakefile +15 -0
- data/examples/authenticated.rb +21 -0
- data/examples/simple.rb +6 -0
- data/fuselage.gemspec +25 -0
- data/lib/.DS_Store +0 -0
- data/lib/fuselage/api.rb +100 -0
- data/lib/fuselage/base.rb +27 -0
- data/lib/fuselage/blob.rb +31 -0
- data/lib/fuselage/commit.rb +49 -0
- data/lib/fuselage/error.rb +28 -0
- data/lib/fuselage/reference.rb +50 -0
- data/lib/fuselage/repository.rb +111 -0
- data/lib/fuselage/tag.rb +44 -0
- data/lib/fuselage/tree.rb +41 -0
- data/lib/fuselage/user.rb +80 -0
- data/lib/fuselage/version.rb +3 -0
- data/lib/fuselage.rb +31 -0
- data/test/base_test.rb +17 -0
- data/test/blob_test.rb +29 -0
- data/test/commits_test.rb +30 -0
- data/test/references_test.rb +38 -0
- data/test/repository_test.rb +103 -0
- data/test/stubs/blobs/tester/new +16 -0
- data/test/stubs/blobs/tester/old +18 -0
- data/test/stubs/commits/tester/new +36 -0
- data/test/stubs/commits/tester/old +58 -0
- data/test/stubs/refs/tester/all +58 -0
- data/test/stubs/refs/tester/master +20 -0
- data/test/stubs/refs/tester/new +20 -0
- data/test/stubs/repos/coreycollins/tester/branches +27 -0
- data/test/stubs/repos/coreycollins/tester/commits +71 -0
- data/test/stubs/repos/coreycollins/tester/main +41 -0
- data/test/stubs/repos/coreycollins/tester/tags +40 -0
- data/test/stubs/repos/show/coreycollins +39 -0
- data/test/stubs/repos/show/coreycollins-private +39 -0
- data/test/stubs/repos/show/gitpilot +39 -0
- data/test/stubs/repos/show/gitpilot-private +120 -0
- data/test/stubs/tags/tester/new +27 -0
- data/test/stubs/tags/tester/old +27 -0
- data/test/stubs/trees/tester/new +26 -0
- data/test/stubs/trees/tester/old +25 -0
- data/test/stubs/users/coreycollins +34 -0
- data/test/stubs/users/coreycollins-private +34 -0
- data/test/stubs/users/emails +0 -0
- data/test/stubs/users/followers +25 -0
- data/test/stubs/users/following +25 -0
- data/test/stubs/users/repositories +40 -0
- data/test/test_helper.rb +103 -0
- data/test/user_test.rb +60 -0
- metadata +139 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Thu, 14 Jul 2011 19:28:38 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
X-RateLimit-Remaining: 4993
|
9
|
+
Content-Length: 1010
|
10
|
+
|
11
|
+
{
|
12
|
+
"clone_url": "https://github.com/coreycollins/tester.git",
|
13
|
+
"ssh_url": "git@github.com:coreycollins/tester.git",
|
14
|
+
"url": "https://api.github.com/repos/coreycollins/tester",
|
15
|
+
"has_issues": true,
|
16
|
+
"description": "",
|
17
|
+
"integrate_branch": null,
|
18
|
+
"svn_url": "https://svn.github.com/coreycollins/tester",
|
19
|
+
"has_downloads": true,
|
20
|
+
"fork": false,
|
21
|
+
"homepage": "",
|
22
|
+
"created_at": "2011-07-14T18:11:20Z",
|
23
|
+
"language": null,
|
24
|
+
"private": false,
|
25
|
+
"size": 0,
|
26
|
+
"forks": 1,
|
27
|
+
"git_url": "git://github.com/coreycollins/tester.git",
|
28
|
+
"owner": {
|
29
|
+
"url": "https://api.github.com/users/coreycollins",
|
30
|
+
"avatar_url": "https://secure.gravatar.com/avatar/d07a7d07dad7a1aa6fbbaf85e72396d5?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
31
|
+
"login": "coreycollins",
|
32
|
+
"id": 854689
|
33
|
+
},
|
34
|
+
"watchers": 1,
|
35
|
+
"name": "tester",
|
36
|
+
"has_wiki": true,
|
37
|
+
"master_branch": null,
|
38
|
+
"pushed_at": null,
|
39
|
+
"open_issues": 0,
|
40
|
+
"html_url": "https://github.com/coreycollins/tester"
|
41
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Thu, 14 Jul 2011 19:56:20 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
X-RateLimit-Remaining: 4991
|
9
|
+
Content-Length: 1113
|
10
|
+
|
11
|
+
[
|
12
|
+
{
|
13
|
+
"tarball_url": "https://github.com/coreycollins/tester/tarball/0.0.2",
|
14
|
+
"zipball_url": "https://github.com/coreycollins/tester/zipball/0.0.2",
|
15
|
+
"commit": {
|
16
|
+
"url": "https://api.github.com/repos/coreycollins/tester/commits/6c5b0e754460477ed049e5b1b0785e667eadaeb9",
|
17
|
+
"sha": "6c5b0e754460477ed049e5b1b0785e667eadaeb9"
|
18
|
+
},
|
19
|
+
"name": "0.0.2"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"tarball_url": "https://github.com/coreycollins/tester/tarball/0.1",
|
23
|
+
"zipball_url": "https://github.com/coreycollins/tester/zipball/0.1",
|
24
|
+
"commit": {
|
25
|
+
"url": "https://api.github.com/repos/coreycollins/tester/commits/6c5b0e754460477ed049e5b1b0785e667eadaeb9",
|
26
|
+
"sha": "6c5b0e754460477ed049e5b1b0785e667eadaeb9"
|
27
|
+
},
|
28
|
+
"name": "0.1"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"tarball_url": "https://github.com/coreycollins/tester/tarball/0.0.1",
|
32
|
+
"zipball_url": "https://github.com/coreycollins/tester/zipball/0.0.1",
|
33
|
+
"commit": {
|
34
|
+
"url": "https://api.github.com/repos/coreycollins/tester/commits/6c5b0e754460477ed049e5b1b0785e667eadaeb9",
|
35
|
+
"sha": "6c5b0e754460477ed049e5b1b0785e667eadaeb9"
|
36
|
+
},
|
37
|
+
"name": "0.0.1"
|
38
|
+
}
|
39
|
+
]
|
40
|
+
|
@@ -0,0 +1,39 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Thu, 14 Jul 2011 18:14:45 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
X-RateLimit-Remaining: 4998
|
9
|
+
Content-Length: 973
|
10
|
+
|
11
|
+
[
|
12
|
+
{
|
13
|
+
"clone_url": "https://github.com/coreycollins/tester.git",
|
14
|
+
"ssh_url": "git@github.com:coreycollins/tester.git",
|
15
|
+
"url": "https://api.github.com/repos/coreycollins/tester",
|
16
|
+
"pushed_at": null,
|
17
|
+
"description": "",
|
18
|
+
"git_url": "git://github.com/coreycollins/tester.git",
|
19
|
+
"html_url": "https://github.com/coreycollins/tester",
|
20
|
+
"fork": false,
|
21
|
+
"homepage": "",
|
22
|
+
"created_at": "2011-07-14T18:11:20Z",
|
23
|
+
"language": null,
|
24
|
+
"private": false,
|
25
|
+
"size": 0,
|
26
|
+
"forks": 1,
|
27
|
+
"owner": {
|
28
|
+
"url": "https://api.github.com/users/coreycollins",
|
29
|
+
"avatar_url": "https://secure.gravatar.com/avatar/d07a7d07dad7a1aa6fbbaf85e72396d5?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
30
|
+
"id": 854689,
|
31
|
+
"login": "coreycollins"
|
32
|
+
},
|
33
|
+
"watchers": 1,
|
34
|
+
"name": "tester",
|
35
|
+
"svn_url": "https://svn.github.com/coreycollins/tester",
|
36
|
+
"master_branch": null,
|
37
|
+
"open_issues": 0
|
38
|
+
}
|
39
|
+
]
|
@@ -0,0 +1,39 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Thu, 14 Jul 2011 18:14:45 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
X-RateLimit-Remaining: 4998
|
9
|
+
Content-Length: 973
|
10
|
+
|
11
|
+
[
|
12
|
+
{
|
13
|
+
"clone_url": "https://github.com/coreycollins/tester.git",
|
14
|
+
"ssh_url": "git@github.com:coreycollins/tester.git",
|
15
|
+
"url": "https://api.github.com/repos/coreycollins/tester",
|
16
|
+
"pushed_at": null,
|
17
|
+
"description": "",
|
18
|
+
"git_url": "git://github.com/coreycollins/tester.git",
|
19
|
+
"html_url": "https://github.com/coreycollins/tester",
|
20
|
+
"fork": false,
|
21
|
+
"homepage": "",
|
22
|
+
"created_at": "2011-07-14T18:11:20Z",
|
23
|
+
"language": null,
|
24
|
+
"private": false,
|
25
|
+
"size": 0,
|
26
|
+
"forks": 1,
|
27
|
+
"owner": {
|
28
|
+
"url": "https://api.github.com/users/coreycollins",
|
29
|
+
"avatar_url": "https://secure.gravatar.com/avatar/d07a7d07dad7a1aa6fbbaf85e72396d5?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
30
|
+
"id": 854689,
|
31
|
+
"login": "coreycollins"
|
32
|
+
},
|
33
|
+
"watchers": 1,
|
34
|
+
"name": "tester",
|
35
|
+
"svn_url": "https://svn.github.com/coreycollins/tester",
|
36
|
+
"master_branch": null,
|
37
|
+
"open_issues": 0
|
38
|
+
}
|
39
|
+
]
|
@@ -0,0 +1,39 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Thu, 14 Jul 2011 18:40:47 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
X-RateLimit-Remaining: 4998
|
9
|
+
Content-Length: 1054
|
10
|
+
|
11
|
+
[
|
12
|
+
{
|
13
|
+
"pushed_at": "2011-07-06T21:42:56Z",
|
14
|
+
"svn_url": "https://svn.github.com/gitpilot/octopi",
|
15
|
+
"clone_url": "https://github.com/gitpilot/octopi.git",
|
16
|
+
"ssh_url": "git@github.com:gitpilot/octopi.git",
|
17
|
+
"url": "https://api.github.com/repos/gitpilot/octopi",
|
18
|
+
"description": "A Ruby interface to GitHub API v2",
|
19
|
+
"open_issues": 0,
|
20
|
+
"fork": true,
|
21
|
+
"homepage": "http://hasmany.info/2009/4/18/ruby-interface-to-github-api",
|
22
|
+
"created_at": "2011-07-13T19:38:36Z",
|
23
|
+
"language": "Ruby",
|
24
|
+
"private": false,
|
25
|
+
"size": 184,
|
26
|
+
"forks": 0,
|
27
|
+
"owner": {
|
28
|
+
"url": "https://api.github.com/users/gitpilot",
|
29
|
+
"avatar_url": "https://secure.gravatar.com/avatar/9de51c16937e480d678ee6ef90f3c589?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-orgs.png",
|
30
|
+
"login": "gitpilot",
|
31
|
+
"id": 906223
|
32
|
+
},
|
33
|
+
"watchers": 1,
|
34
|
+
"name": "octopi",
|
35
|
+
"git_url": "git://github.com/gitpilot/octopi.git",
|
36
|
+
"master_branch": null,
|
37
|
+
"html_url": "https://github.com/gitpilot/octopi"
|
38
|
+
}
|
39
|
+
]
|
@@ -0,0 +1,120 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Thu, 14 Jul 2011 18:41:35 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
X-RateLimit-Remaining: 4997
|
9
|
+
Content-Length: 4010
|
10
|
+
|
11
|
+
[
|
12
|
+
{
|
13
|
+
"clone_url": "https://github.com/gitpilot/gitpilot_app.git",
|
14
|
+
"ssh_url": "git@github.com:gitpilot/gitpilot_app.git",
|
15
|
+
"url": "https://api.github.com/repos/gitpilot/gitpilot_app",
|
16
|
+
"description": "",
|
17
|
+
"pushed_at": "2011-07-13T18:42:10Z",
|
18
|
+
"open_issues": 0,
|
19
|
+
"fork": false,
|
20
|
+
"homepage": "",
|
21
|
+
"svn_url": "https://svn.github.com/gitpilot/gitpilot_app",
|
22
|
+
"created_at": "2011-07-10T16:38:44Z",
|
23
|
+
"language": "Ruby",
|
24
|
+
"private": true,
|
25
|
+
"size": 548,
|
26
|
+
"forks": 0,
|
27
|
+
"owner": {
|
28
|
+
"url": "https://api.github.com/users/gitpilot",
|
29
|
+
"login": "gitpilot",
|
30
|
+
"avatar_url": "https://secure.gravatar.com/avatar/9de51c16937e480d678ee6ef90f3c589?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-orgs.png",
|
31
|
+
"id": 906223
|
32
|
+
},
|
33
|
+
"watchers": 1,
|
34
|
+
"name": "gitpilot_app",
|
35
|
+
"master_branch": null,
|
36
|
+
"git_url": "git://github.com/gitpilot/gitpilot_app.git",
|
37
|
+
"html_url": "https://github.com/gitpilot/gitpilot_app"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"clone_url": "https://github.com/gitpilot/gitpilot_test.git",
|
41
|
+
"ssh_url": "git@github.com:gitpilot/gitpilot_test.git",
|
42
|
+
"url": "https://api.github.com/repos/gitpilot/gitpilot_test",
|
43
|
+
"description": "",
|
44
|
+
"pushed_at": null,
|
45
|
+
"open_issues": 0,
|
46
|
+
"fork": false,
|
47
|
+
"homepage": "",
|
48
|
+
"svn_url": "https://svn.github.com/gitpilot/gitpilot_test",
|
49
|
+
"created_at": "2011-07-13T13:57:16Z",
|
50
|
+
"language": null,
|
51
|
+
"private": true,
|
52
|
+
"size": 0,
|
53
|
+
"forks": 0,
|
54
|
+
"owner": {
|
55
|
+
"url": "https://api.github.com/users/gitpilot",
|
56
|
+
"login": "gitpilot",
|
57
|
+
"avatar_url": "https://secure.gravatar.com/avatar/9de51c16937e480d678ee6ef90f3c589?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-orgs.png",
|
58
|
+
"id": 906223
|
59
|
+
},
|
60
|
+
"watchers": 1,
|
61
|
+
"name": "gitpilot_test",
|
62
|
+
"master_branch": null,
|
63
|
+
"git_url": "git://github.com/gitpilot/gitpilot_test.git",
|
64
|
+
"html_url": "https://github.com/gitpilot/gitpilot_test"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"clone_url": "https://github.com/gitpilot/octopi.git",
|
68
|
+
"ssh_url": "git@github.com:gitpilot/octopi.git",
|
69
|
+
"url": "https://api.github.com/repos/gitpilot/octopi",
|
70
|
+
"description": "A Ruby interface to GitHub API v2",
|
71
|
+
"pushed_at": "2011-07-06T21:42:56Z",
|
72
|
+
"open_issues": 0,
|
73
|
+
"fork": true,
|
74
|
+
"homepage": "http://hasmany.info/2009/4/18/ruby-interface-to-github-api",
|
75
|
+
"svn_url": "https://svn.github.com/gitpilot/octopi",
|
76
|
+
"created_at": "2011-07-13T19:38:36Z",
|
77
|
+
"language": "Ruby",
|
78
|
+
"private": false,
|
79
|
+
"size": 184,
|
80
|
+
"forks": 0,
|
81
|
+
"owner": {
|
82
|
+
"url": "https://api.github.com/users/gitpilot",
|
83
|
+
"login": "gitpilot",
|
84
|
+
"avatar_url": "https://secure.gravatar.com/avatar/9de51c16937e480d678ee6ef90f3c589?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-orgs.png",
|
85
|
+
"id": 906223
|
86
|
+
},
|
87
|
+
"watchers": 1,
|
88
|
+
"name": "octopi",
|
89
|
+
"master_branch": null,
|
90
|
+
"git_url": "git://github.com/gitpilot/octopi.git",
|
91
|
+
"html_url": "https://github.com/gitpilot/octopi"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"clone_url": "https://github.com/gitpilot/cockpit.git",
|
95
|
+
"ssh_url": "git@github.com:gitpilot/cockpit.git",
|
96
|
+
"url": "https://api.github.com/repos/gitpilot/cockpit",
|
97
|
+
"description": "",
|
98
|
+
"pushed_at": "2011-07-14T01:32:29Z",
|
99
|
+
"open_issues": 0,
|
100
|
+
"fork": false,
|
101
|
+
"homepage": "",
|
102
|
+
"svn_url": "https://svn.github.com/gitpilot/cockpit",
|
103
|
+
"created_at": "2011-07-14T01:29:05Z",
|
104
|
+
"language": "Ruby",
|
105
|
+
"private": true,
|
106
|
+
"size": 100,
|
107
|
+
"forks": 0,
|
108
|
+
"owner": {
|
109
|
+
"url": "https://api.github.com/users/gitpilot",
|
110
|
+
"login": "gitpilot",
|
111
|
+
"avatar_url": "https://secure.gravatar.com/avatar/9de51c16937e480d678ee6ef90f3c589?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-orgs.png",
|
112
|
+
"id": 906223
|
113
|
+
},
|
114
|
+
"watchers": 1,
|
115
|
+
"name": "cockpit",
|
116
|
+
"master_branch": null,
|
117
|
+
"git_url": "git://github.com/gitpilot/cockpit.git",
|
118
|
+
"html_url": "https://github.com/gitpilot/cockpit"
|
119
|
+
}
|
120
|
+
]
|
@@ -0,0 +1,27 @@
|
|
1
|
+
HTTP/1.1 201 Created
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Mon, 18 Jul 2011 17:15:43 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 201 Created
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
Location: https://api.github.com/repos/coreycollins/tester/git/tags/dafb25e44a8b2aa8ae21636e4a2e445d40e0c4cc
|
9
|
+
X-RateLimit-Remaining: 4997
|
10
|
+
Content-Length: 554
|
11
|
+
|
12
|
+
{
|
13
|
+
"url": "https://api.github.com/repos/coreycollins/tester/git/tags/dafb25e44a8b2aa8ae21636e4a2e445d40e0c4cc",
|
14
|
+
"message": "This is a new tag",
|
15
|
+
"tag": "new tag",
|
16
|
+
"sha": "dafb25e44a8b2aa8ae21636e4a2e445d40e0c4cc",
|
17
|
+
"object": {
|
18
|
+
"url": "https://api.github.com/repos/coreycollins/tester/git/commits/b39e901ca87cb74d2486503941bc5530c5543729",
|
19
|
+
"type": "commit",
|
20
|
+
"sha": "b39e901ca87cb74d2486503941bc5530c5543729"
|
21
|
+
},
|
22
|
+
"tagger": {
|
23
|
+
"date": "2011-07-18T10:15:43-07:00",
|
24
|
+
"name": "coreycollins",
|
25
|
+
"email": "corey@gitpilot.com"
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Mon, 18 Jul 2011 17:16:23 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
X-RateLimit-Remaining: 4996
|
9
|
+
Content-Length: 554
|
10
|
+
|
11
|
+
{
|
12
|
+
"object": {
|
13
|
+
"type": "commit",
|
14
|
+
"url": "https://api.github.com/repos/coreycollins/tester/git/commits/b39e901ca87cb74d2486503941bc5530c5543729",
|
15
|
+
"sha": "b39e901ca87cb74d2486503941bc5530c5543729"
|
16
|
+
},
|
17
|
+
"message": "This is a new tag",
|
18
|
+
"tag": "new tag",
|
19
|
+
"url": "https://api.github.com/repos/coreycollins/tester/git/tags/dafb25e44a8b2aa8ae21636e4a2e445d40e0c4cc",
|
20
|
+
"sha": "dafb25e44a8b2aa8ae21636e4a2e445d40e0c4cc",
|
21
|
+
"tagger": {
|
22
|
+
"date": "2011-07-18T10:15:43-07:00",
|
23
|
+
"name": "coreycollins",
|
24
|
+
"email": "corey@gitpilot.com"
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
HTTP/1.1 201 Created
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Mon, 18 Jul 2011 17:20:06 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 201 Created
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
Location: https://api.github.com/repos/coreycollins/tester/git/trees/41b3ea0cc7605e216269d2d3c1db858ae125580c
|
9
|
+
X-RateLimit-Remaining: 4993
|
10
|
+
Content-Length: 458
|
11
|
+
|
12
|
+
{
|
13
|
+
"tree": [
|
14
|
+
{
|
15
|
+
"url": "https://api.github.com/repos/coreycollins/tester/git/blobs/45f6d8e74e145b910be4e15f67ef3892fe7abb26",
|
16
|
+
"type": "blob",
|
17
|
+
"size": 4,
|
18
|
+
"sha": "45f6d8e74e145b910be4e15f67ef3892fe7abb26",
|
19
|
+
"path": "new.file",
|
20
|
+
"mode": "100644"
|
21
|
+
}
|
22
|
+
],
|
23
|
+
"url": "https://api.github.com/repos/coreycollins/tester/git/trees/41b3ea0cc7605e216269d2d3c1db858ae125580c",
|
24
|
+
"sha": "41b3ea0cc7605e216269d2d3c1db858ae125580c"
|
25
|
+
}
|
26
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Mon, 18 Jul 2011 17:20:37 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
X-RateLimit-Remaining: 4992
|
9
|
+
Content-Length: 458
|
10
|
+
|
11
|
+
{
|
12
|
+
"tree": [
|
13
|
+
{
|
14
|
+
"url": "https://api.github.com/repos/coreycollins/tester/git/blobs/45f6d8e74e145b910be4e15f67ef3892fe7abb26",
|
15
|
+
"type": "blob",
|
16
|
+
"size": 4,
|
17
|
+
"sha": "45f6d8e74e145b910be4e15f67ef3892fe7abb26",
|
18
|
+
"path": "new.file",
|
19
|
+
"mode": "100644"
|
20
|
+
}
|
21
|
+
],
|
22
|
+
"url": "https://api.github.com/repos/coreycollins/tester/git/trees/41b3ea0cc7605e216269d2d3c1db858ae125580c",
|
23
|
+
"sha": "41b3ea0cc7605e216269d2d3c1db858ae125580c"
|
24
|
+
}
|
25
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Thu, 14 Jul 2011 14:28:59 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
X-RateLimit-Remaining: 4999
|
9
|
+
Content-Length: 684
|
10
|
+
|
11
|
+
{
|
12
|
+
"public_repos": 0,
|
13
|
+
"type": "User",
|
14
|
+
"url": "https://api.github.com/users/coreycollins",
|
15
|
+
"plan": {
|
16
|
+
"space": 307200,
|
17
|
+
"collaborators": 0,
|
18
|
+
"name": "free",
|
19
|
+
"private_repos": 0
|
20
|
+
},
|
21
|
+
"login": "coreycollins",
|
22
|
+
"total_private_repos": 0,
|
23
|
+
"collaborators": 0,
|
24
|
+
"html_url": "https://github.com/coreycollins",
|
25
|
+
"avatar_url": "https://secure.gravatar.com/avatar/d07a7d07dad7a1aa6fbbaf85e72396d5?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
26
|
+
"owned_private_repos": 0,
|
27
|
+
"created_at": "2011-06-16T18:11:19Z",
|
28
|
+
"disk_usage": 0,
|
29
|
+
"public_gists": 0,
|
30
|
+
"id": 854689,
|
31
|
+
"private_gists": 0,
|
32
|
+
"followers": 0,
|
33
|
+
"following": 0
|
34
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Thu, 14 Jul 2011 14:28:59 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
X-RateLimit-Remaining: 4999
|
9
|
+
Content-Length: 684
|
10
|
+
|
11
|
+
{
|
12
|
+
"public_repos": 0,
|
13
|
+
"type": "User",
|
14
|
+
"url": "https://api.github.com/users/coreycollins",
|
15
|
+
"plan": {
|
16
|
+
"space": 307200,
|
17
|
+
"collaborators": 0,
|
18
|
+
"name": "free",
|
19
|
+
"private_repos": 0
|
20
|
+
},
|
21
|
+
"login": "coreycollins",
|
22
|
+
"total_private_repos": 0,
|
23
|
+
"collaborators": 0,
|
24
|
+
"html_url": "https://github.com/coreycollins",
|
25
|
+
"avatar_url": "https://secure.gravatar.com/avatar/d07a7d07dad7a1aa6fbbaf85e72396d5?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
26
|
+
"owned_private_repos": 0,
|
27
|
+
"created_at": "2011-06-16T18:11:19Z",
|
28
|
+
"disk_usage": 0,
|
29
|
+
"public_gists": 0,
|
30
|
+
"id": 854689,
|
31
|
+
"private_gists": 0,
|
32
|
+
"followers": 0,
|
33
|
+
"following": 0
|
34
|
+
}
|
File without changes
|
@@ -0,0 +1,25 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Thu, 14 Jul 2011 16:22:53 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
X-RateLimit-Remaining: 4982
|
9
|
+
Content-Length: 581
|
10
|
+
|
11
|
+
[
|
12
|
+
{
|
13
|
+
"url": "https://api.github.com/users/jprichardson",
|
14
|
+
"login": "jprichardson",
|
15
|
+
"avatar_url": "https://secure.gravatar.com/avatar/0f56a5e429de009a27b0ae8f796ef2df?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
16
|
+
"id": 150063
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"url": "https://api.github.com/users/gitpilot-team",
|
20
|
+
"login": "gitpilot-team",
|
21
|
+
"avatar_url": "https://secure.gravatar.com/avatar/02f953234f3f009ec7c783b9ac5bff11?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
22
|
+
"id": 912802
|
23
|
+
}
|
24
|
+
]
|
25
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Thu, 14 Jul 2011 16:22:53 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
X-RateLimit-Remaining: 4982
|
9
|
+
Content-Length: 581
|
10
|
+
|
11
|
+
[
|
12
|
+
{
|
13
|
+
"url": "https://api.github.com/users/jprichardson",
|
14
|
+
"login": "jprichardson",
|
15
|
+
"avatar_url": "https://secure.gravatar.com/avatar/0f56a5e429de009a27b0ae8f796ef2df?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
16
|
+
"id": 150063
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"url": "https://api.github.com/users/gitpilot-team",
|
20
|
+
"login": "gitpilot-team",
|
21
|
+
"avatar_url": "https://secure.gravatar.com/avatar/02f953234f3f009ec7c783b9ac5bff11?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
22
|
+
"id": 912802
|
23
|
+
}
|
24
|
+
]
|
25
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.4
|
3
|
+
Date: Thu, 14 Jul 2011 18:14:45 GMT
|
4
|
+
Content-Type: application/json
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
X-RateLimit-Remaining: 4998
|
9
|
+
Content-Length: 973
|
10
|
+
|
11
|
+
[
|
12
|
+
{
|
13
|
+
"clone_url": "https://github.com/coreycollins/tester.git",
|
14
|
+
"ssh_url": "git@github.com:coreycollins/tester.git",
|
15
|
+
"url": "https://api.github.com/repos/coreycollins/tester",
|
16
|
+
"pushed_at": null,
|
17
|
+
"description": "",
|
18
|
+
"git_url": "git://github.com/coreycollins/tester.git",
|
19
|
+
"html_url": "https://github.com/coreycollins/tester",
|
20
|
+
"fork": false,
|
21
|
+
"homepage": "",
|
22
|
+
"created_at": "2011-07-14T18:11:20Z",
|
23
|
+
"language": null,
|
24
|
+
"private": false,
|
25
|
+
"size": 0,
|
26
|
+
"forks": 1,
|
27
|
+
"owner": {
|
28
|
+
"url": "https://api.github.com/users/coreycollins",
|
29
|
+
"avatar_url": "https://secure.gravatar.com/avatar/d07a7d07dad7a1aa6fbbaf85e72396d5?d=https://gs1.wac.edgecastcdn.net/80460E/assets%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
30
|
+
"id": 854689,
|
31
|
+
"login": "coreycollins"
|
32
|
+
},
|
33
|
+
"watchers": 1,
|
34
|
+
"name": "tester",
|
35
|
+
"svn_url": "https://svn.github.com/coreycollins/tester",
|
36
|
+
"master_branch": null,
|
37
|
+
"open_issues": 0
|
38
|
+
}
|
39
|
+
]
|
40
|
+
|