github_api 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -0
- data/features/README.rdoc +4 -0
- data/features/cassettes/errors/repos/create.yml +76 -34
- data/features/cassettes/gists/comments/all.yml +118 -119
- data/features/cassettes/gists/comments/first.yml +43 -44
- data/features/cassettes/gists/gist.yml +62 -63
- data/features/cassettes/gists/gists/public_all.yml +34 -34
- data/features/cassettes/gists/gists/user_all.yml +45 -46
- data/features/cassettes/gists/starred.yml +34 -38
- data/features/cassettes/git_data/references/all.yml +379 -0
- data/features/cassettes/git_data/references/all_tags.yml +141 -0
- data/features/cassettes/git_data/references/one.yml +97 -0
- data/features/cassettes/pagination/repos/commits/list.yml +180 -180
- data/features/cassettes/pagination/repos/commits/next.yml +166 -350
- data/features/cassettes/pagination/repos/commits/sha.yml +138 -129
- data/features/cassettes/pagination/repos/commits/sha/next.yml +139 -133
- data/features/cassettes/pagination/repos/diff.yml +131 -129
- data/features/cassettes/pagination/repos/diff/next.yml +131 -172
- data/features/cassettes/pagination/repos/list.yml +168 -163
- data/features/cassettes/pagination/repos/list/next.yml +171 -209
- data/features/cassettes/pagination/repos/per_page/each_page.yml +441 -412
- data/features/cassettes/pagination/repos/per_page/first.yml +130 -129
- data/features/cassettes/repos/branches.yml +40 -40
- data/features/cassettes/repos/create.yml +46 -0
- data/features/cassettes/repos/get.yml +59 -0
- data/features/cassettes/repos/languages.yml +44 -0
- data/features/cassettes/repos/list.yml +79 -79
- data/features/cassettes/repos/tags.yml +59 -142
- data/features/cassettes/repos/teams.yml +48 -0
- data/features/error_codes.feature +1 -0
- data/features/git_data/references.feature +49 -0
- data/features/repos.feature +32 -2
- data/features/settings.yml +6 -0
- data/features/settings.yml.sample +6 -0
- data/features/step_definitions/github_api_steps.rb +14 -2
- data/features/support/settings.rb +7 -0
- data/features/support/vcr.rb +3 -1
- data/lib/github_api/authorizations.rb +5 -0
- data/lib/github_api/git_data/commits.rb +10 -10
- data/lib/github_api/git_data/references.rb +10 -7
- data/lib/github_api/repos.rb +1 -1
- data/lib/github_api/repos/downloads.rb +5 -0
- data/lib/github_api/version.rb +1 -1
- data/spec/github/git_data/references_spec.rb +17 -14
- metadata +153 -154
- data/features/cassettes/gists/gist/first.yml +0 -65
- data/features/cassettes/pagination/repos/commits.yml +0 -189
data/README.md
CHANGED
@@ -347,6 +347,14 @@ class GithubController < ApplicationController
|
|
347
347
|
end
|
348
348
|
```
|
349
349
|
|
350
|
+
## Testing
|
351
|
+
|
352
|
+
The test suite is split into two groups `live` and `mock`.
|
353
|
+
|
354
|
+
The `live` tests are the ones in `features` folder and they simply exercise the GitHub API by making live requests and then being cached with VCR in directory named `features\cassettes`. For details on how to get setup please navigate to `features` folder.
|
355
|
+
|
356
|
+
The `mock` tests are in `spec` directory and their primary concern is to test the gem internals without the hindrance of external calls.
|
357
|
+
|
350
358
|
## Development
|
351
359
|
|
352
360
|
Questions or problems? Please post them on the [issue tracker](https://github.com/peter-murach/github/issues). You can contribute changes by forking the project and submitting a pull request. You can ensure the tests are passing by running `bundle` and `rake`.
|
data/features/README.rdoc
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
= GithubAPI
|
2
2
|
|
3
|
+
== Setup
|
4
|
+
|
5
|
+
Start by renaming the 'settings.yml.sample' file to 'settings.yml'. Then fill in all the information required such as authentication token etc. This should be enough to get the whole test suite run.
|
6
|
+
|
3
7
|
== Running the specs and features
|
4
8
|
|
5
9
|
To run the specs first run the +bundle+ command to install the necessary gems and then +rake+ command to run the specs.
|
@@ -1,46 +1,88 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/user/repos
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ! '{"homepage":"https://github.com","private":false,"has_issues":true,"has_wiki":true,"has_downloads":true,"name":"basic_auth"}'
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- ! '*/*'
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 422
|
19
|
+
message: Unprocessable Entity
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx/1.0.13
|
23
|
+
Date:
|
24
|
+
- Mon, 07 May 2012 15:42:17 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Status:
|
30
|
+
- 422 Unprocessable Entity
|
31
|
+
X-Ratelimit-Limit:
|
32
|
+
- '5000'
|
33
|
+
Etag:
|
34
|
+
- ! '"f5bdcd2978e6fcd2811b039d8d25df3b"'
|
35
|
+
X-Ratelimit-Remaining:
|
36
|
+
- '4997'
|
37
|
+
Content-Length:
|
38
|
+
- '147'
|
39
|
+
body:
|
40
|
+
encoding: US-ASCII
|
41
|
+
string: ! '{"errors":[{"message":"name already exists on this account","field":"name","resource":"Repository","code":"custom"}],"message":"Validation
|
42
|
+
Failed"}'
|
43
|
+
http_version: !!null
|
44
|
+
recorded_at: Mon, 07 May 2012 15:42:17 GMT
|
45
|
+
- request:
|
4
46
|
method: post
|
5
47
|
uri: https://api.github.com/user/repos
|
6
|
-
body:
|
48
|
+
body:
|
7
49
|
encoding: UTF-8
|
8
|
-
string:
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
50
|
+
string: ! '{"homepage":"https://github.com","private":false,"has_issues":true,"has_wiki":true,"has_downloads":true,"name":"basic_auth"}'
|
51
|
+
headers:
|
52
|
+
Content-Type:
|
11
53
|
- application/json
|
12
|
-
Accept:
|
13
|
-
-
|
14
|
-
User-Agent:
|
54
|
+
Accept:
|
55
|
+
- ! '*/*'
|
56
|
+
User-Agent:
|
15
57
|
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
58
|
+
response:
|
59
|
+
status:
|
18
60
|
code: 401
|
19
61
|
message: Unauthorized
|
20
|
-
headers:
|
21
|
-
Server:
|
22
|
-
- nginx/1.0.
|
23
|
-
Date:
|
24
|
-
-
|
25
|
-
Content-Type:
|
62
|
+
headers:
|
63
|
+
Server:
|
64
|
+
- nginx/1.0.13
|
65
|
+
Date:
|
66
|
+
- Mon, 07 May 2012 16:12:15 GMT
|
67
|
+
Content-Type:
|
26
68
|
- application/json; charset=utf-8
|
27
|
-
Connection:
|
69
|
+
Connection:
|
28
70
|
- keep-alive
|
29
|
-
Status:
|
71
|
+
Status:
|
30
72
|
- 401 Unauthorized
|
31
|
-
Www-Authenticate:
|
73
|
+
Www-Authenticate:
|
32
74
|
- Basic realm="GitHub"
|
33
|
-
X-Ratelimit-Limit:
|
34
|
-
-
|
35
|
-
Etag:
|
36
|
-
- "
|
37
|
-
X-Ratelimit-Remaining:
|
38
|
-
-
|
39
|
-
Content-Length:
|
40
|
-
-
|
41
|
-
body:
|
75
|
+
X-Ratelimit-Limit:
|
76
|
+
- '5000'
|
77
|
+
Etag:
|
78
|
+
- ! '"99852aefab6a0988db8f62bf2fb96f49"'
|
79
|
+
X-Ratelimit-Remaining:
|
80
|
+
- '4997'
|
81
|
+
Content-Length:
|
82
|
+
- '37'
|
83
|
+
body:
|
42
84
|
encoding: US-ASCII
|
43
|
-
string:
|
44
|
-
http_version:
|
45
|
-
recorded_at:
|
46
|
-
recorded_with: VCR 2.
|
85
|
+
string: ! '{"message":"Requires authentication"}'
|
86
|
+
http_version: !!null
|
87
|
+
recorded_at: Mon, 07 May 2012 16:12:15 GMT
|
88
|
+
recorded_with: VCR 2.1.1
|
@@ -1,131 +1,130 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: get
|
5
|
-
uri: https
|
6
|
-
body:
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/gists/999390/comments?access_token=<TOKEN>
|
6
|
+
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string:
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
11
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
-
|
14
|
-
User-Agent:
|
12
|
+
Accept:
|
13
|
+
- ! '*/*'
|
14
|
+
User-Agent:
|
15
15
|
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
16
|
+
response:
|
17
|
+
status:
|
18
18
|
code: 200
|
19
19
|
message: OK
|
20
|
-
headers:
|
21
|
-
Server:
|
22
|
-
- nginx/1.0.
|
23
|
-
Date:
|
24
|
-
-
|
25
|
-
Content-Type:
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx/1.0.13
|
23
|
+
Date:
|
24
|
+
- Mon, 07 May 2012 16:12:18 GMT
|
25
|
+
Content-Type:
|
26
26
|
- application/json; charset=utf-8
|
27
|
-
Transfer-Encoding:
|
27
|
+
Transfer-Encoding:
|
28
28
|
- chunked
|
29
|
-
Connection:
|
29
|
+
Connection:
|
30
30
|
- keep-alive
|
31
|
-
Status:
|
31
|
+
Status:
|
32
32
|
- 200 OK
|
33
|
-
X-Ratelimit-Limit:
|
34
|
-
-
|
35
|
-
Etag:
|
36
|
-
- "
|
37
|
-
X-Ratelimit-Remaining:
|
38
|
-
-
|
39
|
-
Content-Encoding:
|
33
|
+
X-Ratelimit-Limit:
|
34
|
+
- '5000'
|
35
|
+
Etag:
|
36
|
+
- ! '"cb7013ea3796b320f9f1e0258699fdfa"'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4920'
|
39
|
+
Content-Encoding:
|
40
40
|
- gzip
|
41
|
-
body:
|
41
|
+
body:
|
42
42
|
encoding: ASCII-8BIT
|
43
|
-
string: !binary
|
44
|
-
H4sIAAAAAAAAA+
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
/
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
recorded_with: VCR 2.0.0
|
43
|
+
string: !binary |-
|
44
|
+
H4sIAAAAAAAAA+1ba2/bRhb9KxMXu052JZkUqQeJXaRpkKQukAcSb4tuU6RD
|
45
|
+
cigyIjlcDmlZLfLf99wZUqKTSLKF+lNdOLEiPuZ15txz7p3+8sdJo0R14v9x
|
46
|
+
sqj4Ja959SGNTvyTILbd2PJmcTgPhDufWV7gci/mIghjHnrxyeCkqTLcmNR1
|
47
|
+
qfyzM16mo0VaJ00wCmV+Rm9VZ0u5UukS97avvv6IEmFTiVHXsH7O3Hh2qPnH
|
48
|
+
0b83DY/d+UiM+JLnPB0Voj7jSola9Xrzt/HzNOcLofCha63/eWi71qgsFugo
|
49
|
+
D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Q/d1q7f44zPhWdmB6YU0AIlSGbk9D
|
127
|
+
jtuP1waxnf4fbvT/boK43na7uK716df/AznfKYunNAAA
|
128
|
+
http_version: !!null
|
129
|
+
recorded_at: Mon, 07 May 2012 16:12:18 GMT
|
130
|
+
recorded_with: VCR 2.1.1
|
@@ -1,56 +1,55 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: get
|
5
|
-
uri: https
|
6
|
-
body:
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/gists/comments/33469?access_token=<TOKEN>
|
6
|
+
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string:
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
11
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
-
|
14
|
-
User-Agent:
|
12
|
+
Accept:
|
13
|
+
- ! '*/*'
|
14
|
+
User-Agent:
|
15
15
|
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
16
|
+
response:
|
17
|
+
status:
|
18
18
|
code: 200
|
19
19
|
message: OK
|
20
|
-
headers:
|
21
|
-
Server:
|
22
|
-
- nginx/1.0.
|
23
|
-
Date:
|
24
|
-
-
|
25
|
-
Content-Type:
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx/1.0.13
|
23
|
+
Date:
|
24
|
+
- Mon, 07 May 2012 16:12:19 GMT
|
25
|
+
Content-Type:
|
26
26
|
- application/json; charset=utf-8
|
27
|
-
Transfer-Encoding:
|
27
|
+
Transfer-Encoding:
|
28
28
|
- chunked
|
29
|
-
Connection:
|
29
|
+
Connection:
|
30
30
|
- keep-alive
|
31
|
-
Status:
|
31
|
+
Status:
|
32
32
|
- 200 OK
|
33
|
-
X-Ratelimit-Limit:
|
34
|
-
-
|
35
|
-
Etag:
|
36
|
-
- "
|
37
|
-
X-Ratelimit-Remaining:
|
38
|
-
-
|
39
|
-
Content-Encoding:
|
33
|
+
X-Ratelimit-Limit:
|
34
|
+
- '5000'
|
35
|
+
Etag:
|
36
|
+
- ! '"108bdd5b051e4969849493a6260a1d4e"'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4919'
|
39
|
+
Content-Encoding:
|
40
40
|
- gzip
|
41
|
-
body:
|
41
|
+
body:
|
42
42
|
encoding: ASCII-8BIT
|
43
|
-
string: !binary
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
recorded_with: VCR 2.0.0
|
43
|
+
string: !binary |-
|
44
|
+
H4sIAAAAAAAAA4WRTW+cMBCG/8oIqbcFw0KyC1KVQ6UovVc55LIa22OwANuy
|
45
|
+
TVMS5b/HbLrt9tLcRvPxzDvvvGZLIJ91r9lke22yLhvtc9BjtsvwJ0b0p8VP
|
46
|
+
KTvE6ELHWCCxeCp6/1EthJ3ZR8i4qhpVtgcljpya46FseYOtQuJCoWjVnfx6
|
47
|
+
oeC+ORZU4Igz6sJQZBgCxVD0Og4L36hf9vd6xp5CCi7bruO8asrCmT4J/Vch
|
48
|
+
On2FYdt5gf056oI6aZmu+kxygm99h/rYVG+7THjCSPKEMc3uy6rKy5u8rn5U
|
49
|
+
t93+pqvrp9TPrVxT9ZH8CsLaaQeTtWOASY8EcSDw1NMvCoBGgsM4nOuLSwlP
|
50
|
+
MOpp0qYHR15ZP6MRVMC3gcQIdolw8e+vTcwJdJ7J1dicTzq+kIc0CZyMGGb0
|
51
|
+
40ZDkFop8mQiYHAkIlh1veMsJgickOsEWSGHwT5D2r/Chg4gLXwHQyTBGngg
|
52
|
+
P9rlDjbvnfzUkv/+p9chBpYePid1gdV1c9v+tv0cv70DEWRpa6ICAAA=
|
53
|
+
http_version: !!null
|
54
|
+
recorded_at: Mon, 07 May 2012 16:12:19 GMT
|
55
|
+
recorded_with: VCR 2.1.1
|