cid 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.travis.yml +13 -0
- data/Gemfile +3 -0
- data/Rakefile +16 -0
- data/bin/cid +18 -0
- data/cid.gemspec +11 -0
- data/features/publish.feature +29 -0
- data/features/step_definitions/cid.rb +7 -0
- data/features/support/env.rb +28 -0
- data/features/validate.feature +30 -0
- data/lib/cid/datapackage.rb +57 -0
- data/lib/cid/helpers/github.rb +91 -0
- data/lib/cid/publish.rb +28 -0
- data/lib/cid/validation.rb +1 -1
- data/lib/cid/version.rb +1 -1
- data/lib/cid.rb +11 -0
- data/spec/cassettes/Cid_Publish/should_be_able_to_create_a_new_blob.yml +81 -0
- data/spec/cassettes/Cid_Publish/should_be_able_to_create_a_new_commit_from_a_tree.yml +244 -0
- data/spec/cassettes/Cid_Publish/should_be_able_to_create_a_tree_with_the_new_blob_in_it_given_a_filename.yml +240 -0
- data/spec/cassettes/Cid_Publish/should_be_able_to_fetch_the_default_branch_for_a_repo.yml +83 -0
- data/spec/cassettes/Cid_Publish/should_be_able_to_get_a_blob_sha_for_a_file_on_a_branch.yml +82 -0
- data/spec/cassettes/Cid_Publish/should_be_able_to_get_latest_commit_SHA_on_a_branch.yml +83 -0
- data/spec/cassettes/Cid_Publish/should_push_to_the_default_branch.yml +583 -0
- data/spec/datapackage_spec.rb +27 -0
- data/spec/fixtures/multiple_files/datapackage.json +71 -0
- data/spec/fixtures/no_schema/votes/votes-1.csv +13 -0
- data/spec/fixtures/valid/datapackage.json +71 -0
- data/spec/publish_spec.rb +45 -0
- data/spec/spec_helper.rb +10 -0
- data/spec/validate_spec.rb +9 -0
- metadata +209 -35
@@ -0,0 +1,244 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.github.com/repos/theodi/cid-test?access_token=<GITHUB_OAUTH_TOKEN>
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
|
12
|
+
Accept-Charset:
|
13
|
+
- utf-8
|
14
|
+
User-Agent:
|
15
|
+
- Github Ruby Gem 0.11.3
|
16
|
+
Authorization:
|
17
|
+
- Token token="<GITHUB_OAUTH_TOKEN>"
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- GitHub.com
|
27
|
+
Date:
|
28
|
+
- Thu, 22 May 2014 14:10:10 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '5000'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4989'
|
39
|
+
X-Ratelimit-Reset:
|
40
|
+
- '1400771341'
|
41
|
+
Cache-Control:
|
42
|
+
- private, max-age=60, s-maxage=60
|
43
|
+
Last-Modified:
|
44
|
+
- Thu, 22 May 2014 14:09:56 GMT
|
45
|
+
Etag:
|
46
|
+
- '"47f7c7c0132d67ee74b4feb0e63dedba"'
|
47
|
+
X-Oauth-Scopes:
|
48
|
+
- gist, repo, user
|
49
|
+
X-Accepted-Oauth-Scopes:
|
50
|
+
- repo
|
51
|
+
Vary:
|
52
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
53
|
+
- Accept-Encoding
|
54
|
+
X-Github-Media-Type:
|
55
|
+
- github.v3; format=json
|
56
|
+
X-Xss-Protection:
|
57
|
+
- 1; mode=block
|
58
|
+
X-Frame-Options:
|
59
|
+
- deny
|
60
|
+
Content-Security-Policy:
|
61
|
+
- default-src 'none'
|
62
|
+
Access-Control-Allow-Credentials:
|
63
|
+
- 'true'
|
64
|
+
Access-Control-Expose-Headers:
|
65
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
66
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
67
|
+
Access-Control-Allow-Origin:
|
68
|
+
- '*'
|
69
|
+
X-Github-Request-Id:
|
70
|
+
- 4F4C59B3:3035:69C496:537E0542
|
71
|
+
Strict-Transport-Security:
|
72
|
+
- max-age=31536000
|
73
|
+
X-Content-Type-Options:
|
74
|
+
- nosniff
|
75
|
+
X-Served-By:
|
76
|
+
- 3061975e1f37121b3751604ad153c687
|
77
|
+
body:
|
78
|
+
encoding: UTF-8
|
79
|
+
string: '{"id":20057973,"name":"cid-test","full_name":"theodi/cid-test","owner":{"login":"theodi","id":2492770,"avatar_url":"https://avatars.githubusercontent.com/u/2492770?","gravatar_id":"07ab537732bae0cb3167a3bd8f42f885","url":"https://api.github.com/users/theodi","html_url":"https://github.com/theodi","followers_url":"https://api.github.com/users/theodi/followers","following_url":"https://api.github.com/users/theodi/following{/other_user}","gists_url":"https://api.github.com/users/theodi/gists{/gist_id}","starred_url":"https://api.github.com/users/theodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theodi/subscriptions","organizations_url":"https://api.github.com/users/theodi/orgs","repos_url":"https://api.github.com/users/theodi/repos","events_url":"https://api.github.com/users/theodi/events{/privacy}","received_events_url":"https://api.github.com/users/theodi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theodi/cid-test","description":"A
|
80
|
+
test repo for http://github.com/theodi/cid","fork":false,"url":"https://api.github.com/repos/theodi/cid-test","forks_url":"https://api.github.com/repos/theodi/cid-test/forks","keys_url":"https://api.github.com/repos/theodi/cid-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theodi/cid-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theodi/cid-test/teams","hooks_url":"https://api.github.com/repos/theodi/cid-test/hooks","issue_events_url":"https://api.github.com/repos/theodi/cid-test/issues/events{/number}","events_url":"https://api.github.com/repos/theodi/cid-test/events","assignees_url":"https://api.github.com/repos/theodi/cid-test/assignees{/user}","branches_url":"https://api.github.com/repos/theodi/cid-test/branches{/branch}","tags_url":"https://api.github.com/repos/theodi/cid-test/tags","blobs_url":"https://api.github.com/repos/theodi/cid-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theodi/cid-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theodi/cid-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/theodi/cid-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theodi/cid-test/statuses/{sha}","languages_url":"https://api.github.com/repos/theodi/cid-test/languages","stargazers_url":"https://api.github.com/repos/theodi/cid-test/stargazers","contributors_url":"https://api.github.com/repos/theodi/cid-test/contributors","subscribers_url":"https://api.github.com/repos/theodi/cid-test/subscribers","subscription_url":"https://api.github.com/repos/theodi/cid-test/subscription","commits_url":"https://api.github.com/repos/theodi/cid-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/theodi/cid-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/theodi/cid-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/theodi/cid-test/issues/comments/{number}","contents_url":"https://api.github.com/repos/theodi/cid-test/contents/{+path}","compare_url":"https://api.github.com/repos/theodi/cid-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theodi/cid-test/merges","archive_url":"https://api.github.com/repos/theodi/cid-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theodi/cid-test/downloads","issues_url":"https://api.github.com/repos/theodi/cid-test/issues{/number}","pulls_url":"https://api.github.com/repos/theodi/cid-test/pulls{/number}","milestones_url":"https://api.github.com/repos/theodi/cid-test/milestones{/number}","notifications_url":"https://api.github.com/repos/theodi/cid-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theodi/cid-test/labels{/name}","releases_url":"https://api.github.com/repos/theodi/cid-test/releases{/id}","created_at":"2014-05-22T11:02:18Z","updated_at":"2014-05-22T14:09:56Z","pushed_at":"2014-05-22T14:09:56Z","git_url":"git://github.com/theodi/cid-test.git","ssh_url":"git@github.com:theodi/cid-test.git","clone_url":"https://github.com/theodi/cid-test.git","svn_url":"https://github.com/theodi/cid-test","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":false,"push":true,"pull":true},"organization":{"login":"theodi","id":2492770,"avatar_url":"https://avatars.githubusercontent.com/u/2492770?","gravatar_id":"07ab537732bae0cb3167a3bd8f42f885","url":"https://api.github.com/users/theodi","html_url":"https://github.com/theodi","followers_url":"https://api.github.com/users/theodi/followers","following_url":"https://api.github.com/users/theodi/following{/other_user}","gists_url":"https://api.github.com/users/theodi/gists{/gist_id}","starred_url":"https://api.github.com/users/theodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theodi/subscriptions","organizations_url":"https://api.github.com/users/theodi/orgs","repos_url":"https://api.github.com/users/theodi/repos","events_url":"https://api.github.com/users/theodi/events{/privacy}","received_events_url":"https://api.github.com/users/theodi/received_events","type":"Organization","site_admin":false},"network_count":0,"subscribers_count":12}'
|
81
|
+
http_version:
|
82
|
+
recorded_at: Thu, 22 May 2014 14:10:15 GMT
|
83
|
+
- request:
|
84
|
+
method: get
|
85
|
+
uri: https://api.github.com/repos/theodi/cid-test/branches/master?access_token=<GITHUB_OAUTH_TOKEN>
|
86
|
+
body:
|
87
|
+
encoding: US-ASCII
|
88
|
+
string: ''
|
89
|
+
headers:
|
90
|
+
Accept:
|
91
|
+
- application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
|
92
|
+
Accept-Charset:
|
93
|
+
- utf-8
|
94
|
+
User-Agent:
|
95
|
+
- Github Ruby Gem 0.11.3
|
96
|
+
Authorization:
|
97
|
+
- Token token="<GITHUB_OAUTH_TOKEN>"
|
98
|
+
Accept-Encoding:
|
99
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
100
|
+
response:
|
101
|
+
status:
|
102
|
+
code: 200
|
103
|
+
message: OK
|
104
|
+
headers:
|
105
|
+
Server:
|
106
|
+
- GitHub.com
|
107
|
+
Date:
|
108
|
+
- Thu, 22 May 2014 14:10:11 GMT
|
109
|
+
Content-Type:
|
110
|
+
- application/json; charset=utf-8
|
111
|
+
Transfer-Encoding:
|
112
|
+
- chunked
|
113
|
+
Status:
|
114
|
+
- 200 OK
|
115
|
+
X-Ratelimit-Limit:
|
116
|
+
- '5000'
|
117
|
+
X-Ratelimit-Remaining:
|
118
|
+
- '4988'
|
119
|
+
X-Ratelimit-Reset:
|
120
|
+
- '1400771341'
|
121
|
+
Cache-Control:
|
122
|
+
- private, max-age=60, s-maxage=60
|
123
|
+
Etag:
|
124
|
+
- '"415926a4f7e38db12005354bd3cf4b39"'
|
125
|
+
X-Oauth-Scopes:
|
126
|
+
- gist, repo, user
|
127
|
+
X-Accepted-Oauth-Scopes:
|
128
|
+
- ''
|
129
|
+
Vary:
|
130
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
131
|
+
- Accept-Encoding
|
132
|
+
X-Github-Media-Type:
|
133
|
+
- github.v3; format=json
|
134
|
+
X-Xss-Protection:
|
135
|
+
- 1; mode=block
|
136
|
+
X-Frame-Options:
|
137
|
+
- deny
|
138
|
+
Content-Security-Policy:
|
139
|
+
- default-src 'none'
|
140
|
+
Access-Control-Allow-Credentials:
|
141
|
+
- 'true'
|
142
|
+
Access-Control-Expose-Headers:
|
143
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
144
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
145
|
+
Access-Control-Allow-Origin:
|
146
|
+
- '*'
|
147
|
+
X-Github-Request-Id:
|
148
|
+
- 4F4C59B3:3038:28BEF51:537E0542
|
149
|
+
Strict-Transport-Security:
|
150
|
+
- max-age=31536000
|
151
|
+
X-Content-Type-Options:
|
152
|
+
- nosniff
|
153
|
+
X-Served-By:
|
154
|
+
- 88d924ed861736d2749ce1a55766cb53
|
155
|
+
body:
|
156
|
+
encoding: UTF-8
|
157
|
+
string: '{"name":"master","commit":{"sha":"357b6cbb632a533bf20657975b6100a0b837b15c","commit":{"author":{"name":"ODI
|
158
|
+
Robot","email":"odi-jenkins@users.noreply.github.com","date":"2014-05-22T14:09:55Z"},"committer":{"name":"ODI
|
159
|
+
Robot","email":"odi-jenkins@users.noreply.github.com","date":"2014-05-22T14:09:55Z"},"message":"Updated
|
160
|
+
datapackage.json","tree":{"sha":"f93721ec813957d3df629ddc68b3e3c1397d02de","url":"https://api.github.com/repos/theodi/cid-test/git/trees/f93721ec813957d3df629ddc68b3e3c1397d02de"},"url":"https://api.github.com/repos/theodi/cid-test/git/commits/357b6cbb632a533bf20657975b6100a0b837b15c","comment_count":0},"url":"https://api.github.com/repos/theodi/cid-test/commits/357b6cbb632a533bf20657975b6100a0b837b15c","html_url":"https://github.com/theodi/cid-test/commit/357b6cbb632a533bf20657975b6100a0b837b15c","comments_url":"https://api.github.com/repos/theodi/cid-test/commits/357b6cbb632a533bf20657975b6100a0b837b15c/comments","author":{"login":"odi-robot","id":3439860,"avatar_url":"https://avatars.githubusercontent.com/u/3439860?","gravatar_id":"b96a794974d7bd76d161ebe533f2a9d0","url":"https://api.github.com/users/odi-robot","html_url":"https://github.com/odi-robot","followers_url":"https://api.github.com/users/odi-robot/followers","following_url":"https://api.github.com/users/odi-robot/following{/other_user}","gists_url":"https://api.github.com/users/odi-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/odi-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odi-robot/subscriptions","organizations_url":"https://api.github.com/users/odi-robot/orgs","repos_url":"https://api.github.com/users/odi-robot/repos","events_url":"https://api.github.com/users/odi-robot/events{/privacy}","received_events_url":"https://api.github.com/users/odi-robot/received_events","type":"User","site_admin":false},"committer":{"login":"odi-robot","id":3439860,"avatar_url":"https://avatars.githubusercontent.com/u/3439860?","gravatar_id":"b96a794974d7bd76d161ebe533f2a9d0","url":"https://api.github.com/users/odi-robot","html_url":"https://github.com/odi-robot","followers_url":"https://api.github.com/users/odi-robot/followers","following_url":"https://api.github.com/users/odi-robot/following{/other_user}","gists_url":"https://api.github.com/users/odi-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/odi-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odi-robot/subscriptions","organizations_url":"https://api.github.com/users/odi-robot/orgs","repos_url":"https://api.github.com/users/odi-robot/repos","events_url":"https://api.github.com/users/odi-robot/events{/privacy}","received_events_url":"https://api.github.com/users/odi-robot/received_events","type":"User","site_admin":false},"parents":[{"sha":"e55df79f1a47c2175e0857ffeff1e2f84ad76071","url":"https://api.github.com/repos/theodi/cid-test/commits/e55df79f1a47c2175e0857ffeff1e2f84ad76071","html_url":"https://github.com/theodi/cid-test/commit/e55df79f1a47c2175e0857ffeff1e2f84ad76071"}]},"_links":{"self":"https://api.github.com/repos/theodi/cid-test/branches/master","html":"https://github.com/theodi/cid-test/tree/master"}}'
|
161
|
+
http_version:
|
162
|
+
recorded_at: Thu, 22 May 2014 14:10:16 GMT
|
163
|
+
- request:
|
164
|
+
method: post
|
165
|
+
uri: https://api.github.com/repos/theodi/cid-test/git/commits?access_token=<GITHUB_OAUTH_TOKEN>
|
166
|
+
body:
|
167
|
+
encoding: UTF-8
|
168
|
+
string: '{"message":"Updated datapackage.json","parents":["357b6cbb632a533bf20657975b6100a0b837b15c"],"tree":"f56a5cd26fa6c67ff51fcc4994ad9b1057e5095c"}'
|
169
|
+
headers:
|
170
|
+
Accept:
|
171
|
+
- application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
|
172
|
+
Accept-Charset:
|
173
|
+
- utf-8
|
174
|
+
User-Agent:
|
175
|
+
- Github Ruby Gem 0.11.3
|
176
|
+
Content-Type:
|
177
|
+
- application/json
|
178
|
+
Authorization:
|
179
|
+
- Token token="<GITHUB_OAUTH_TOKEN>"
|
180
|
+
Accept-Encoding:
|
181
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
182
|
+
response:
|
183
|
+
status:
|
184
|
+
code: 201
|
185
|
+
message: Created
|
186
|
+
headers:
|
187
|
+
Server:
|
188
|
+
- GitHub.com
|
189
|
+
Date:
|
190
|
+
- Thu, 22 May 2014 14:10:12 GMT
|
191
|
+
Content-Type:
|
192
|
+
- application/json; charset=utf-8
|
193
|
+
Status:
|
194
|
+
- 201 Created
|
195
|
+
X-Ratelimit-Limit:
|
196
|
+
- '5000'
|
197
|
+
X-Ratelimit-Remaining:
|
198
|
+
- '4987'
|
199
|
+
X-Ratelimit-Reset:
|
200
|
+
- '1400771341'
|
201
|
+
Cache-Control:
|
202
|
+
- private, max-age=60, s-maxage=60
|
203
|
+
Etag:
|
204
|
+
- '"2cfe15e7b092e693863b373783b39bee"'
|
205
|
+
X-Oauth-Scopes:
|
206
|
+
- gist, repo, user
|
207
|
+
X-Accepted-Oauth-Scopes:
|
208
|
+
- ''
|
209
|
+
Location:
|
210
|
+
- https://api.github.com/repos/theodi/cid-test/git/commits/a2dcc1d78ea67007f87b19f07e01dddb8c73bef6
|
211
|
+
Vary:
|
212
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
213
|
+
X-Github-Media-Type:
|
214
|
+
- github.v3; format=json
|
215
|
+
X-Xss-Protection:
|
216
|
+
- 1; mode=block
|
217
|
+
X-Frame-Options:
|
218
|
+
- deny
|
219
|
+
Content-Security-Policy:
|
220
|
+
- default-src 'none'
|
221
|
+
Content-Length:
|
222
|
+
- '933'
|
223
|
+
Access-Control-Allow-Credentials:
|
224
|
+
- 'true'
|
225
|
+
Access-Control-Expose-Headers:
|
226
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
227
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
228
|
+
Access-Control-Allow-Origin:
|
229
|
+
- '*'
|
230
|
+
X-Github-Request-Id:
|
231
|
+
- 4F4C59B3:3034:286486:537E0543
|
232
|
+
Strict-Transport-Security:
|
233
|
+
- max-age=31536000
|
234
|
+
X-Content-Type-Options:
|
235
|
+
- nosniff
|
236
|
+
body:
|
237
|
+
encoding: UTF-8
|
238
|
+
string: '{"sha":"a2dcc1d78ea67007f87b19f07e01dddb8c73bef6","url":"https://api.github.com/repos/theodi/cid-test/git/commits/a2dcc1d78ea67007f87b19f07e01dddb8c73bef6","html_url":"https://github.com/theodi/cid-test/commit/a2dcc1d78ea67007f87b19f07e01dddb8c73bef6","author":{"name":"ODI
|
239
|
+
Robot","email":"odi-jenkins@users.noreply.github.com","date":"2014-05-22T14:10:12Z"},"committer":{"name":"ODI
|
240
|
+
Robot","email":"odi-jenkins@users.noreply.github.com","date":"2014-05-22T14:10:12Z"},"tree":{"sha":"f56a5cd26fa6c67ff51fcc4994ad9b1057e5095c","url":"https://api.github.com/repos/theodi/cid-test/git/trees/f56a5cd26fa6c67ff51fcc4994ad9b1057e5095c"},"message":"Updated
|
241
|
+
datapackage.json","parents":[{"sha":"357b6cbb632a533bf20657975b6100a0b837b15c","url":"https://api.github.com/repos/theodi/cid-test/git/commits/357b6cbb632a533bf20657975b6100a0b837b15c","html_url":"https://github.com/theodi/cid-test/commit/357b6cbb632a533bf20657975b6100a0b837b15c"}]}'
|
242
|
+
http_version:
|
243
|
+
recorded_at: Thu, 22 May 2014 14:10:17 GMT
|
244
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,240 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.github.com/repos/theodi/cid-test?access_token=<GITHUB_OAUTH_TOKEN>
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
|
12
|
+
Accept-Charset:
|
13
|
+
- utf-8
|
14
|
+
User-Agent:
|
15
|
+
- Github Ruby Gem 0.11.3
|
16
|
+
Authorization:
|
17
|
+
- Token token="<GITHUB_OAUTH_TOKEN>"
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- GitHub.com
|
27
|
+
Date:
|
28
|
+
- Thu, 22 May 2014 14:10:35 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '5000'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4986'
|
39
|
+
X-Ratelimit-Reset:
|
40
|
+
- '1400771341'
|
41
|
+
Cache-Control:
|
42
|
+
- private, max-age=60, s-maxage=60
|
43
|
+
Last-Modified:
|
44
|
+
- Thu, 22 May 2014 14:09:56 GMT
|
45
|
+
Etag:
|
46
|
+
- '"47f7c7c0132d67ee74b4feb0e63dedba"'
|
47
|
+
X-Oauth-Scopes:
|
48
|
+
- gist, repo, user
|
49
|
+
X-Accepted-Oauth-Scopes:
|
50
|
+
- repo
|
51
|
+
Vary:
|
52
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
53
|
+
- Accept-Encoding
|
54
|
+
X-Github-Media-Type:
|
55
|
+
- github.v3; format=json
|
56
|
+
X-Xss-Protection:
|
57
|
+
- 1; mode=block
|
58
|
+
X-Frame-Options:
|
59
|
+
- deny
|
60
|
+
Content-Security-Policy:
|
61
|
+
- default-src 'none'
|
62
|
+
Access-Control-Allow-Credentials:
|
63
|
+
- 'true'
|
64
|
+
Access-Control-Expose-Headers:
|
65
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
66
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
67
|
+
Access-Control-Allow-Origin:
|
68
|
+
- '*'
|
69
|
+
X-Github-Request-Id:
|
70
|
+
- 4F4C59B3:303A:41A1E75:537E055B
|
71
|
+
Strict-Transport-Security:
|
72
|
+
- max-age=31536000
|
73
|
+
X-Content-Type-Options:
|
74
|
+
- nosniff
|
75
|
+
X-Served-By:
|
76
|
+
- d818ddef80f4c7d10683dd483558952a
|
77
|
+
body:
|
78
|
+
encoding: UTF-8
|
79
|
+
string: '{"id":20057973,"name":"cid-test","full_name":"theodi/cid-test","owner":{"login":"theodi","id":2492770,"avatar_url":"https://avatars.githubusercontent.com/u/2492770?","gravatar_id":"07ab537732bae0cb3167a3bd8f42f885","url":"https://api.github.com/users/theodi","html_url":"https://github.com/theodi","followers_url":"https://api.github.com/users/theodi/followers","following_url":"https://api.github.com/users/theodi/following{/other_user}","gists_url":"https://api.github.com/users/theodi/gists{/gist_id}","starred_url":"https://api.github.com/users/theodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theodi/subscriptions","organizations_url":"https://api.github.com/users/theodi/orgs","repos_url":"https://api.github.com/users/theodi/repos","events_url":"https://api.github.com/users/theodi/events{/privacy}","received_events_url":"https://api.github.com/users/theodi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theodi/cid-test","description":"A
|
80
|
+
test repo for http://github.com/theodi/cid","fork":false,"url":"https://api.github.com/repos/theodi/cid-test","forks_url":"https://api.github.com/repos/theodi/cid-test/forks","keys_url":"https://api.github.com/repos/theodi/cid-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theodi/cid-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theodi/cid-test/teams","hooks_url":"https://api.github.com/repos/theodi/cid-test/hooks","issue_events_url":"https://api.github.com/repos/theodi/cid-test/issues/events{/number}","events_url":"https://api.github.com/repos/theodi/cid-test/events","assignees_url":"https://api.github.com/repos/theodi/cid-test/assignees{/user}","branches_url":"https://api.github.com/repos/theodi/cid-test/branches{/branch}","tags_url":"https://api.github.com/repos/theodi/cid-test/tags","blobs_url":"https://api.github.com/repos/theodi/cid-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theodi/cid-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theodi/cid-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/theodi/cid-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theodi/cid-test/statuses/{sha}","languages_url":"https://api.github.com/repos/theodi/cid-test/languages","stargazers_url":"https://api.github.com/repos/theodi/cid-test/stargazers","contributors_url":"https://api.github.com/repos/theodi/cid-test/contributors","subscribers_url":"https://api.github.com/repos/theodi/cid-test/subscribers","subscription_url":"https://api.github.com/repos/theodi/cid-test/subscription","commits_url":"https://api.github.com/repos/theodi/cid-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/theodi/cid-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/theodi/cid-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/theodi/cid-test/issues/comments/{number}","contents_url":"https://api.github.com/repos/theodi/cid-test/contents/{+path}","compare_url":"https://api.github.com/repos/theodi/cid-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theodi/cid-test/merges","archive_url":"https://api.github.com/repos/theodi/cid-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theodi/cid-test/downloads","issues_url":"https://api.github.com/repos/theodi/cid-test/issues{/number}","pulls_url":"https://api.github.com/repos/theodi/cid-test/pulls{/number}","milestones_url":"https://api.github.com/repos/theodi/cid-test/milestones{/number}","notifications_url":"https://api.github.com/repos/theodi/cid-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theodi/cid-test/labels{/name}","releases_url":"https://api.github.com/repos/theodi/cid-test/releases{/id}","created_at":"2014-05-22T11:02:18Z","updated_at":"2014-05-22T14:09:56Z","pushed_at":"2014-05-22T14:09:56Z","git_url":"git://github.com/theodi/cid-test.git","ssh_url":"git@github.com:theodi/cid-test.git","clone_url":"https://github.com/theodi/cid-test.git","svn_url":"https://github.com/theodi/cid-test","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":false,"push":true,"pull":true},"organization":{"login":"theodi","id":2492770,"avatar_url":"https://avatars.githubusercontent.com/u/2492770?","gravatar_id":"07ab537732bae0cb3167a3bd8f42f885","url":"https://api.github.com/users/theodi","html_url":"https://github.com/theodi","followers_url":"https://api.github.com/users/theodi/followers","following_url":"https://api.github.com/users/theodi/following{/other_user}","gists_url":"https://api.github.com/users/theodi/gists{/gist_id}","starred_url":"https://api.github.com/users/theodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theodi/subscriptions","organizations_url":"https://api.github.com/users/theodi/orgs","repos_url":"https://api.github.com/users/theodi/repos","events_url":"https://api.github.com/users/theodi/events{/privacy}","received_events_url":"https://api.github.com/users/theodi/received_events","type":"Organization","site_admin":false},"network_count":0,"subscribers_count":12}'
|
81
|
+
http_version:
|
82
|
+
recorded_at: Thu, 22 May 2014 14:10:41 GMT
|
83
|
+
- request:
|
84
|
+
method: get
|
85
|
+
uri: https://api.github.com/repos/theodi/cid-test/git/trees/master?access_token=<GITHUB_OAUTH_TOKEN>
|
86
|
+
body:
|
87
|
+
encoding: US-ASCII
|
88
|
+
string: ''
|
89
|
+
headers:
|
90
|
+
Accept:
|
91
|
+
- application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
|
92
|
+
Accept-Charset:
|
93
|
+
- utf-8
|
94
|
+
User-Agent:
|
95
|
+
- Github Ruby Gem 0.11.3
|
96
|
+
Authorization:
|
97
|
+
- Token token="<GITHUB_OAUTH_TOKEN>"
|
98
|
+
Accept-Encoding:
|
99
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
100
|
+
response:
|
101
|
+
status:
|
102
|
+
code: 200
|
103
|
+
message: OK
|
104
|
+
headers:
|
105
|
+
Server:
|
106
|
+
- GitHub.com
|
107
|
+
Date:
|
108
|
+
- Thu, 22 May 2014 14:10:36 GMT
|
109
|
+
Content-Type:
|
110
|
+
- application/json; charset=utf-8
|
111
|
+
Transfer-Encoding:
|
112
|
+
- chunked
|
113
|
+
Status:
|
114
|
+
- 200 OK
|
115
|
+
X-Ratelimit-Limit:
|
116
|
+
- '5000'
|
117
|
+
X-Ratelimit-Remaining:
|
118
|
+
- '4985'
|
119
|
+
X-Ratelimit-Reset:
|
120
|
+
- '1400771341'
|
121
|
+
Cache-Control:
|
122
|
+
- private, max-age=60, s-maxage=60
|
123
|
+
Last-Modified:
|
124
|
+
- Thu, 22 May 2014 14:09:56 GMT
|
125
|
+
Etag:
|
126
|
+
- '"47f7c7c0132d67ee74b4feb0e63dedba"'
|
127
|
+
X-Oauth-Scopes:
|
128
|
+
- gist, repo, user
|
129
|
+
X-Accepted-Oauth-Scopes:
|
130
|
+
- ''
|
131
|
+
Vary:
|
132
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
133
|
+
- Accept-Encoding
|
134
|
+
X-Github-Media-Type:
|
135
|
+
- github.v3; format=json
|
136
|
+
X-Xss-Protection:
|
137
|
+
- 1; mode=block
|
138
|
+
X-Frame-Options:
|
139
|
+
- deny
|
140
|
+
Content-Security-Policy:
|
141
|
+
- default-src 'none'
|
142
|
+
Access-Control-Allow-Credentials:
|
143
|
+
- 'true'
|
144
|
+
Access-Control-Expose-Headers:
|
145
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
146
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
147
|
+
Access-Control-Allow-Origin:
|
148
|
+
- '*'
|
149
|
+
X-Github-Request-Id:
|
150
|
+
- 4F4C59B3:3038:28C12EE:537E055C
|
151
|
+
Strict-Transport-Security:
|
152
|
+
- max-age=31536000
|
153
|
+
X-Content-Type-Options:
|
154
|
+
- nosniff
|
155
|
+
X-Served-By:
|
156
|
+
- 3061975e1f37121b3751604ad153c687
|
157
|
+
body:
|
158
|
+
encoding: UTF-8
|
159
|
+
string: '{"sha":"master","url":"https://api.github.com/repos/theodi/cid-test/git/trees/master","tree":[{"mode":"100644","type":"blob","sha":"c22d8945fac6a4ce4be188002dcd09656bd85898","path":"datapackage.json","size":2473,"url":"https://api.github.com/repos/theodi/cid-test/git/blobs/c22d8945fac6a4ce4be188002dcd09656bd85898"},{"mode":"040000","type":"tree","sha":"d649696e0f04601419e691387e8c8cb8a218521e","path":"votes","url":"https://api.github.com/repos/theodi/cid-test/git/trees/d649696e0f04601419e691387e8c8cb8a218521e"}]}'
|
160
|
+
http_version:
|
161
|
+
recorded_at: Thu, 22 May 2014 14:10:41 GMT
|
162
|
+
- request:
|
163
|
+
method: post
|
164
|
+
uri: https://api.github.com/repos/theodi/cid-test/git/trees?access_token=<GITHUB_OAUTH_TOKEN>
|
165
|
+
body:
|
166
|
+
encoding: UTF-8
|
167
|
+
string: '{"base_tree":"master","tree":[{"path":"datapackage.json","mode":"100644","type":"blob","sha":"28b552e7359c5c3bbe947749aab70d18e3ea554b"}]}'
|
168
|
+
headers:
|
169
|
+
Accept:
|
170
|
+
- application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
|
171
|
+
Accept-Charset:
|
172
|
+
- utf-8
|
173
|
+
User-Agent:
|
174
|
+
- Github Ruby Gem 0.11.3
|
175
|
+
Content-Type:
|
176
|
+
- application/json
|
177
|
+
Authorization:
|
178
|
+
- Token token="<GITHUB_OAUTH_TOKEN>"
|
179
|
+
Accept-Encoding:
|
180
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
181
|
+
response:
|
182
|
+
status:
|
183
|
+
code: 201
|
184
|
+
message: Created
|
185
|
+
headers:
|
186
|
+
Server:
|
187
|
+
- GitHub.com
|
188
|
+
Date:
|
189
|
+
- Thu, 22 May 2014 14:10:37 GMT
|
190
|
+
Content-Type:
|
191
|
+
- application/json; charset=utf-8
|
192
|
+
Status:
|
193
|
+
- 201 Created
|
194
|
+
X-Ratelimit-Limit:
|
195
|
+
- '5000'
|
196
|
+
X-Ratelimit-Remaining:
|
197
|
+
- '4984'
|
198
|
+
X-Ratelimit-Reset:
|
199
|
+
- '1400771341'
|
200
|
+
Cache-Control:
|
201
|
+
- private, max-age=60, s-maxage=60
|
202
|
+
Etag:
|
203
|
+
- '"13a14b2540d40cd471fcff45a57949d3"'
|
204
|
+
X-Oauth-Scopes:
|
205
|
+
- gist, repo, user
|
206
|
+
X-Accepted-Oauth-Scopes:
|
207
|
+
- ''
|
208
|
+
Location:
|
209
|
+
- https://api.github.com/repos/theodi/cid-test/git/trees/f56a5cd26fa6c67ff51fcc4994ad9b1057e5095c
|
210
|
+
Vary:
|
211
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
212
|
+
X-Github-Media-Type:
|
213
|
+
- github.v3; format=json
|
214
|
+
X-Xss-Protection:
|
215
|
+
- 1; mode=block
|
216
|
+
X-Frame-Options:
|
217
|
+
- deny
|
218
|
+
Content-Security-Policy:
|
219
|
+
- default-src 'none'
|
220
|
+
Content-Length:
|
221
|
+
- '584'
|
222
|
+
Access-Control-Allow-Credentials:
|
223
|
+
- 'true'
|
224
|
+
Access-Control-Expose-Headers:
|
225
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
226
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
227
|
+
Access-Control-Allow-Origin:
|
228
|
+
- '*'
|
229
|
+
X-Github-Request-Id:
|
230
|
+
- 4F4C59B3:3036:EB46DA:537E055C
|
231
|
+
Strict-Transport-Security:
|
232
|
+
- max-age=31536000
|
233
|
+
X-Content-Type-Options:
|
234
|
+
- nosniff
|
235
|
+
body:
|
236
|
+
encoding: UTF-8
|
237
|
+
string: '{"sha":"f56a5cd26fa6c67ff51fcc4994ad9b1057e5095c","url":"https://api.github.com/repos/theodi/cid-test/git/trees/f56a5cd26fa6c67ff51fcc4994ad9b1057e5095c","tree":[{"mode":"100644","type":"blob","sha":"28b552e7359c5c3bbe947749aab70d18e3ea554b","path":"datapackage.json","size":16,"url":"https://api.github.com/repos/theodi/cid-test/git/blobs/28b552e7359c5c3bbe947749aab70d18e3ea554b"},{"mode":"040000","type":"tree","sha":"d649696e0f04601419e691387e8c8cb8a218521e","path":"votes","url":"https://api.github.com/repos/theodi/cid-test/git/trees/d649696e0f04601419e691387e8c8cb8a218521e"}]}'
|
238
|
+
http_version:
|
239
|
+
recorded_at: Thu, 22 May 2014 14:10:42 GMT
|
240
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,83 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.github.com/repos/theodi/cid-test?access_token=<GITHUB_OAUTH_TOKEN>
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
|
12
|
+
Accept-Charset:
|
13
|
+
- utf-8
|
14
|
+
User-Agent:
|
15
|
+
- Github Ruby Gem 0.11.3
|
16
|
+
Authorization:
|
17
|
+
- Token token="<GITHUB_OAUTH_TOKEN>"
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- GitHub.com
|
27
|
+
Date:
|
28
|
+
- Thu, 22 May 2014 14:09:01 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Ratelimit-Limit:
|
36
|
+
- '5000'
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- '4999'
|
39
|
+
X-Ratelimit-Reset:
|
40
|
+
- '1400771341'
|
41
|
+
Cache-Control:
|
42
|
+
- private, max-age=60, s-maxage=60
|
43
|
+
Last-Modified:
|
44
|
+
- Thu, 22 May 2014 13:14:36 GMT
|
45
|
+
Etag:
|
46
|
+
- '"3fbf105ac3450cfa9074f2556dda2739"'
|
47
|
+
X-Oauth-Scopes:
|
48
|
+
- gist, repo, user
|
49
|
+
X-Accepted-Oauth-Scopes:
|
50
|
+
- repo
|
51
|
+
Vary:
|
52
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
53
|
+
- Accept-Encoding
|
54
|
+
X-Github-Media-Type:
|
55
|
+
- github.v3; format=json
|
56
|
+
X-Xss-Protection:
|
57
|
+
- 1; mode=block
|
58
|
+
X-Frame-Options:
|
59
|
+
- deny
|
60
|
+
Content-Security-Policy:
|
61
|
+
- default-src 'none'
|
62
|
+
Access-Control-Allow-Credentials:
|
63
|
+
- 'true'
|
64
|
+
Access-Control-Expose-Headers:
|
65
|
+
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
66
|
+
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
67
|
+
Access-Control-Allow-Origin:
|
68
|
+
- '*'
|
69
|
+
X-Github-Request-Id:
|
70
|
+
- 4F4C59B3:0FE8:383D835:537E04FD
|
71
|
+
Strict-Transport-Security:
|
72
|
+
- max-age=31536000
|
73
|
+
X-Content-Type-Options:
|
74
|
+
- nosniff
|
75
|
+
X-Served-By:
|
76
|
+
- a1d8c69b807c8e21f06cad9da377d1b0
|
77
|
+
body:
|
78
|
+
encoding: UTF-8
|
79
|
+
string: '{"id":20057973,"name":"cid-test","full_name":"theodi/cid-test","owner":{"login":"theodi","id":2492770,"avatar_url":"https://avatars.githubusercontent.com/u/2492770?","gravatar_id":"07ab537732bae0cb3167a3bd8f42f885","url":"https://api.github.com/users/theodi","html_url":"https://github.com/theodi","followers_url":"https://api.github.com/users/theodi/followers","following_url":"https://api.github.com/users/theodi/following{/other_user}","gists_url":"https://api.github.com/users/theodi/gists{/gist_id}","starred_url":"https://api.github.com/users/theodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theodi/subscriptions","organizations_url":"https://api.github.com/users/theodi/orgs","repos_url":"https://api.github.com/users/theodi/repos","events_url":"https://api.github.com/users/theodi/events{/privacy}","received_events_url":"https://api.github.com/users/theodi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theodi/cid-test","description":"A
|
80
|
+
test repo for http://github.com/theodi/cid","fork":false,"url":"https://api.github.com/repos/theodi/cid-test","forks_url":"https://api.github.com/repos/theodi/cid-test/forks","keys_url":"https://api.github.com/repos/theodi/cid-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theodi/cid-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theodi/cid-test/teams","hooks_url":"https://api.github.com/repos/theodi/cid-test/hooks","issue_events_url":"https://api.github.com/repos/theodi/cid-test/issues/events{/number}","events_url":"https://api.github.com/repos/theodi/cid-test/events","assignees_url":"https://api.github.com/repos/theodi/cid-test/assignees{/user}","branches_url":"https://api.github.com/repos/theodi/cid-test/branches{/branch}","tags_url":"https://api.github.com/repos/theodi/cid-test/tags","blobs_url":"https://api.github.com/repos/theodi/cid-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theodi/cid-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theodi/cid-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/theodi/cid-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theodi/cid-test/statuses/{sha}","languages_url":"https://api.github.com/repos/theodi/cid-test/languages","stargazers_url":"https://api.github.com/repos/theodi/cid-test/stargazers","contributors_url":"https://api.github.com/repos/theodi/cid-test/contributors","subscribers_url":"https://api.github.com/repos/theodi/cid-test/subscribers","subscription_url":"https://api.github.com/repos/theodi/cid-test/subscription","commits_url":"https://api.github.com/repos/theodi/cid-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/theodi/cid-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/theodi/cid-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/theodi/cid-test/issues/comments/{number}","contents_url":"https://api.github.com/repos/theodi/cid-test/contents/{+path}","compare_url":"https://api.github.com/repos/theodi/cid-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theodi/cid-test/merges","archive_url":"https://api.github.com/repos/theodi/cid-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theodi/cid-test/downloads","issues_url":"https://api.github.com/repos/theodi/cid-test/issues{/number}","pulls_url":"https://api.github.com/repos/theodi/cid-test/pulls{/number}","milestones_url":"https://api.github.com/repos/theodi/cid-test/milestones{/number}","notifications_url":"https://api.github.com/repos/theodi/cid-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theodi/cid-test/labels{/name}","releases_url":"https://api.github.com/repos/theodi/cid-test/releases{/id}","created_at":"2014-05-22T11:02:18Z","updated_at":"2014-05-22T13:14:36Z","pushed_at":"2014-05-22T13:14:37Z","git_url":"git://github.com/theodi/cid-test.git","ssh_url":"git@github.com:theodi/cid-test.git","clone_url":"https://github.com/theodi/cid-test.git","svn_url":"https://github.com/theodi/cid-test","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":false,"push":true,"pull":true},"organization":{"login":"theodi","id":2492770,"avatar_url":"https://avatars.githubusercontent.com/u/2492770?","gravatar_id":"07ab537732bae0cb3167a3bd8f42f885","url":"https://api.github.com/users/theodi","html_url":"https://github.com/theodi","followers_url":"https://api.github.com/users/theodi/followers","following_url":"https://api.github.com/users/theodi/following{/other_user}","gists_url":"https://api.github.com/users/theodi/gists{/gist_id}","starred_url":"https://api.github.com/users/theodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theodi/subscriptions","organizations_url":"https://api.github.com/users/theodi/orgs","repos_url":"https://api.github.com/users/theodi/repos","events_url":"https://api.github.com/users/theodi/events{/privacy}","received_events_url":"https://api.github.com/users/theodi/received_events","type":"Organization","site_admin":false},"network_count":0,"subscribers_count":12}'
|
81
|
+
http_version:
|
82
|
+
recorded_at: Thu, 22 May 2014 14:09:07 GMT
|
83
|
+
recorded_with: VCR 2.4.0
|