worochi 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +20 -0
- data/lib/worochi/agent/dropbox.rb +26 -4
- data/lib/worochi/agent/github.rb +14 -9
- data/lib/worochi/agent/sample.rb +8 -3
- data/lib/worochi/agent.rb +64 -23
- data/lib/worochi/config.rb +34 -2
- data/lib/worochi/error.rb +1 -0
- data/lib/worochi/helper/github.rb +1 -0
- data/lib/worochi/helper.rb +10 -8
- data/lib/worochi/item.rb +18 -9
- data/lib/worochi/log.rb +11 -0
- data/lib/worochi/version.rb +4 -0
- data/lib/worochi.rb +23 -16
- data/spec/cassettes/Worochi_Agent_Dropbox/_list/works_with_absolute_paths.yml +60 -0
- data/spec/cassettes/Worochi_Agent_Dropbox/_push_item/pushes_a_single_item.yml +303 -0
- data/spec/cassettes/Worochi_Agent_Dropbox/_push_item_chunked/pushes_a_single_item_in_chunks.yml +349 -0
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/accepts_a_different_path.yml +60 -0
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml +60 -0
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/contains_file1.yml +79 -0
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/accepts_a_different_path.yml +60 -0
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml +60 -0
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml +79 -0
- data/spec/cassettes/Worochi_Agent_Github/_list/works_with_absolute_paths.yml +133 -0
- data/spec/cassettes/Worochi_Agent_Github/_push_all/pushes_a_list_of_items_to_create_a_new_commit.yml +989 -0
- data/spec/cassettes/Worochi_Agent_Github/_push_all/pushes_the_file_to_the_right_place.yml +687 -0
- data/spec/cassettes/Worochi_Agent_Github/_source_branch/retrieves_the_master_branch_correctly.yml +68 -0
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/accepts_a_different_path.yml +133 -0
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml +133 -0
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/contains_file1.yml +133 -0
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/accepts_a_different_path.yml +133 -0
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml +133 -0
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml +133 -0
- data/spec/cassettes/Worochi_Item/_open/opens_a_single_file/with_Hash_parameter.yml +107 -0
- data/spec/cassettes/Worochi_Item/_open/opens_a_single_file/with_String_parameter.yml +107 -0
- data/spec/cassettes/Worochi_Item/_open/opens_multiple_files/with_Hash_parameters.yml +211 -0
- data/spec/cassettes/Worochi_Item/_open/opens_multiple_files/with_String_parameters.yml +107 -0
- data/spec/cassettes/Worochi_Item/_open_single/accepts_a_String.yml +107 -0
- data/spec/cassettes/Worochi_Item/_open_single/works_with_AWS_S3_paths.yml +46 -0
- data/spec/helper.rb +46 -0
- data/spec/support/aws_uri_matcher.rb +12 -0
- data/spec/support/shared_exampes_for_agents.rb +36 -0
- data/spec/support/test_file +1 -0
- data/spec/support/test_files.rb +34 -0
- data/spec/worochi/agent/dropbox_spec.rb +48 -0
- data/spec/worochi/agent/github_spec.rb +77 -0
- data/spec/worochi/agent_spec.rb +2 -0
- data/spec/worochi/helper/github_spec.rb +57 -0
- data/spec/worochi/helper_spec.rb +23 -0
- data/spec/worochi/item_spec.rb +85 -0
- data/spec/worochi_spec.rb +109 -0
- data/worochi.gemspec +27 -4
- metadata +193 -4
data/spec/cassettes/Worochi_Agent_Github/_push_all/pushes_a_list_of_items_to_create_a_new_commit.yml
ADDED
@@ -0,0 +1,989 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: delete
|
5
|
+
uri: https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Octokit Ruby Gem 1.25.0
|
12
|
+
Accept:
|
13
|
+
- application/vnd.github.beta+json
|
14
|
+
Authorization:
|
15
|
+
- token <GITHUB_TOKEN>
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 422
|
21
|
+
message: Unprocessable Entity
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- GitHub.com
|
25
|
+
Date:
|
26
|
+
- Sat, 10 Aug 2013 00:14:58 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Status:
|
30
|
+
- 422 Unprocessable Entity
|
31
|
+
X-Ratelimit-Limit:
|
32
|
+
- '5000'
|
33
|
+
X-Ratelimit-Remaining:
|
34
|
+
- '4909'
|
35
|
+
X-Ratelimit-Reset:
|
36
|
+
- '1376096590'
|
37
|
+
X-Oauth-Scopes:
|
38
|
+
- user, public_repo, repo, gist
|
39
|
+
X-Accepted-Oauth-Scopes:
|
40
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
41
|
+
X-Github-Media-Type:
|
42
|
+
- github.beta; format=json
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
Content-Length:
|
46
|
+
- '31'
|
47
|
+
Access-Control-Allow-Credentials:
|
48
|
+
- 'true'
|
49
|
+
Access-Control-Expose-Headers:
|
50
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
51
|
+
X-Accepted-OAuth-Scopes
|
52
|
+
Access-Control-Allow-Origin:
|
53
|
+
- '*'
|
54
|
+
body:
|
55
|
+
encoding: UTF-8
|
56
|
+
string: '{"message":"Validation Failed"}'
|
57
|
+
http_version:
|
58
|
+
recorded_at: Sat, 10 Aug 2013 00:14:58 GMT
|
59
|
+
- request:
|
60
|
+
method: get
|
61
|
+
uri: http://soraven.com/blog/wp-content/uploads/2013/06/sr3.gif
|
62
|
+
body:
|
63
|
+
encoding: US-ASCII
|
64
|
+
string: ''
|
65
|
+
headers:
|
66
|
+
Accept-Encoding:
|
67
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
68
|
+
Accept:
|
69
|
+
- '*/*'
|
70
|
+
User-Agent:
|
71
|
+
- Ruby
|
72
|
+
Host:
|
73
|
+
- soraven.com
|
74
|
+
response:
|
75
|
+
status:
|
76
|
+
code: 200
|
77
|
+
message: OK
|
78
|
+
headers:
|
79
|
+
Date:
|
80
|
+
- Sat, 10 Aug 2013 00:14:58 GMT
|
81
|
+
Server:
|
82
|
+
- Apache
|
83
|
+
Last-Modified:
|
84
|
+
- Sat, 15 Jun 2013 08:47:57 GMT
|
85
|
+
Accept-Ranges:
|
86
|
+
- bytes
|
87
|
+
Content-Length:
|
88
|
+
- '2985'
|
89
|
+
Content-Type:
|
90
|
+
- image/gif
|
91
|
+
body:
|
92
|
+
encoding: ASCII-8BIT
|
93
|
+
string: !binary |-
|
94
|
+
R0lGODlhlgCWANU0AAAAAP///w8PD8DAwICAgBAQEPDw8EBAQKCgoDAwMGBg
|
95
|
+
YNDQ0ODg4CAgIHBwcFBQUJCQkLCwsMnJyfPz8/n5+Xh4eBISEo2NjSQkJIeH
|
96
|
+
h9vb22ZmZjk5OZaWlicnJx4eHi0tLQkJCQYGBqKiovz8/KWlpZmZmYqKisPD
|
97
|
+
w/b29pOTk2lpad7e3jY2NoSEhAMDAzMzM9jY2GNjY11dXf///wAAAAAAAAAA
|
98
|
+
AAAAAAAAAAAAAAAA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
160
|
+
S9rSmva0qE2tarEQBAA7
|
161
|
+
http_version:
|
162
|
+
recorded_at: Sat, 10 Aug 2013 00:14:59 GMT
|
163
|
+
- request:
|
164
|
+
method: get
|
165
|
+
uri: https://api.github.com/repos/darkmirage/test/branches/master
|
166
|
+
body:
|
167
|
+
encoding: US-ASCII
|
168
|
+
string: ''
|
169
|
+
headers:
|
170
|
+
User-Agent:
|
171
|
+
- Octokit Ruby Gem 1.25.0
|
172
|
+
Accept:
|
173
|
+
- application/vnd.github.beta+json
|
174
|
+
Authorization:
|
175
|
+
- token <GITHUB_TOKEN>
|
176
|
+
Accept-Encoding:
|
177
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
178
|
+
response:
|
179
|
+
status:
|
180
|
+
code: 200
|
181
|
+
message: OK
|
182
|
+
headers:
|
183
|
+
Server:
|
184
|
+
- GitHub.com
|
185
|
+
Date:
|
186
|
+
- Sat, 10 Aug 2013 00:14:59 GMT
|
187
|
+
Content-Type:
|
188
|
+
- application/json; charset=utf-8
|
189
|
+
Transfer-Encoding:
|
190
|
+
- chunked
|
191
|
+
Status:
|
192
|
+
- 200 OK
|
193
|
+
X-Ratelimit-Limit:
|
194
|
+
- '5000'
|
195
|
+
X-Ratelimit-Remaining:
|
196
|
+
- '4908'
|
197
|
+
X-Ratelimit-Reset:
|
198
|
+
- '1376096590'
|
199
|
+
X-Oauth-Scopes:
|
200
|
+
- user, public_repo, repo, gist
|
201
|
+
X-Accepted-Oauth-Scopes:
|
202
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
203
|
+
X-Github-Media-Type:
|
204
|
+
- github.beta; format=json
|
205
|
+
X-Content-Type-Options:
|
206
|
+
- nosniff
|
207
|
+
Access-Control-Allow-Credentials:
|
208
|
+
- 'true'
|
209
|
+
Access-Control-Expose-Headers:
|
210
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
211
|
+
X-Accepted-OAuth-Scopes
|
212
|
+
Access-Control-Allow-Origin:
|
213
|
+
- '*'
|
214
|
+
Etag:
|
215
|
+
- '"9f1960e9f71a26ef10999b56127f5ff5"'
|
216
|
+
Cache-Control:
|
217
|
+
- max-age=0, private, must-revalidate
|
218
|
+
Vary:
|
219
|
+
- Accept-Encoding
|
220
|
+
body:
|
221
|
+
encoding: UTF-8
|
222
|
+
string: '{"name":"master","commit":{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","commit":{"author":{"name":"Raven
|
223
|
+
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"committer":{"name":"Raven
|
224
|
+
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"message":"Added
|
225
|
+
subfolder testing","tree":{"sha":"6553d302dfc55bf5cd09c07a6125753af023c7a5","url":"https://api.github.com/repos/darkmirage/test/git/trees/6553d302dfc55bf5cd09c07a6125753af023c7a5"},"url":"https://api.github.com/repos/darkmirage/test/git/commits/cdddc3941866854cdb41c023d0f5240ed10df053","comment_count":0},"url":"https://api.github.com/repos/darkmirage/test/commits/cdddc3941866854cdb41c023d0f5240ed10df053","html_url":"https://github.com/darkmirage/test/commit/cdddc3941866854cdb41c023d0f5240ed10df053","comments_url":"https://api.github.com/repos/darkmirage/test/commits/cdddc3941866854cdb41c023d0f5240ed10df053/comments","author":{"login":"darkmirage","id":1635019,"avatar_url":"https://secure.gravatar.com/avatar/5111569f6bba258cfe81d12af3ba99a2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"5111569f6bba258cfe81d12af3ba99a2","url":"https://api.github.com/users/darkmirage","html_url":"https://github.com/darkmirage","followers_url":"https://api.github.com/users/darkmirage/followers","following_url":"https://api.github.com/users/darkmirage/following{/other_user}","gists_url":"https://api.github.com/users/darkmirage/gists{/gist_id}","starred_url":"https://api.github.com/users/darkmirage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkmirage/subscriptions","organizations_url":"https://api.github.com/users/darkmirage/orgs","repos_url":"https://api.github.com/users/darkmirage/repos","events_url":"https://api.github.com/users/darkmirage/events{/privacy}","received_events_url":"https://api.github.com/users/darkmirage/received_events","type":"User"},"committer":{"login":"darkmirage","id":1635019,"avatar_url":"https://secure.gravatar.com/avatar/5111569f6bba258cfe81d12af3ba99a2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"5111569f6bba258cfe81d12af3ba99a2","url":"https://api.github.com/users/darkmirage","html_url":"https://github.com/darkmirage","followers_url":"https://api.github.com/users/darkmirage/followers","following_url":"https://api.github.com/users/darkmirage/following{/other_user}","gists_url":"https://api.github.com/users/darkmirage/gists{/gist_id}","starred_url":"https://api.github.com/users/darkmirage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkmirage/subscriptions","organizations_url":"https://api.github.com/users/darkmirage/orgs","repos_url":"https://api.github.com/users/darkmirage/repos","events_url":"https://api.github.com/users/darkmirage/events{/privacy}","received_events_url":"https://api.github.com/users/darkmirage/received_events","type":"User"},"parents":[{"sha":"9da46c5d5e0758a759f80de6283eba05c1f04735","url":"https://api.github.com/repos/darkmirage/test/commits/9da46c5d5e0758a759f80de6283eba05c1f04735","html_url":"https://github.com/darkmirage/test/commit/9da46c5d5e0758a759f80de6283eba05c1f04735"}]},"_links":{"self":"https://api.github.com/repos/darkmirage/test/branches/master","html":"https://github.com/darkmirage/test/tree/master"}}'
|
226
|
+
http_version:
|
227
|
+
recorded_at: Sat, 10 Aug 2013 00:14:59 GMT
|
228
|
+
- request:
|
229
|
+
method: post
|
230
|
+
uri: https://api.github.com/repos/darkmirage/test/git/blobs
|
231
|
+
body:
|
232
|
+
encoding: UTF-8
|
233
|
+
string: '{"content":"R0lGODlhlgCWANU0AAAAAP///w8PD8DAwICAgBAQEPDw8EBAQKCgoDAwMGBgYNDQ0ODg4CAgIHBwcFBQUJCQkLCwsMnJyfPz8/n5+Xh4eBISEo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lsBHCLt4qA/zjBALjDioVlw94YDvgGEHnzY0vSQQJrVsIvHwxFj3icRIsKhADPcT+hEKMQUKv+ObiisQxArVkHXpXEOZTRLH+2QOgAYkTzl+88f5YBBO4Gvf3oYGsPYiMYRzqGEbeHiHAoJgNXth36KtOQc4uiU3sEvfHoAY3pYuLVFzmGP26taHnMFoQg+x5UGvJAAMebGOpgsPTq8pSjnoEq2sHKTvayDzrpTJWHWkVaCoaQbOGmiLIFskGfD5RyqWCalNfASDYAPaChzxmwOkw6BLAs230DNFEIAh2VZgALKmZN22iEBBIjA3d4CgXl+BSzJ/Gcy7CnQWRC0oLE4KEIPE9CF7kKhDkVdQyNq0IlSNKEWvShDp6jRh2a0oxLlKEgrKtKRYrSkJt0oEhKS0mQ0JAmsA2kpMg6SBE3KVBQzsMdNhbGPJMRjp8CIwRKkCVRKvIMcRc1FOpbQjaTGQhzWcOoqttGEZ0hVFNR4ggREcNVPMCMKI+jqJVwhBVyIVRG9mAIJVnDWRKzAFlU4wQvaqocXnCALKIAGXe2AARRsIQUuMEpXBeCCFHjBABdow14BAIILGGAMGlDBBmDgiaR6AAYbUEE9zsDZznr2s6ANrWhHS9rSmva0qE2tarEQBAA7","encoding":"base64"}'
|
234
|
+
headers:
|
235
|
+
User-Agent:
|
236
|
+
- Octokit Ruby Gem 1.25.0
|
237
|
+
Accept:
|
238
|
+
- application/vnd.github.beta+json
|
239
|
+
Authorization:
|
240
|
+
- token <GITHUB_TOKEN>
|
241
|
+
Content-Type:
|
242
|
+
- application/json
|
243
|
+
Accept-Encoding:
|
244
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
245
|
+
response:
|
246
|
+
status:
|
247
|
+
code: 201
|
248
|
+
message: Created
|
249
|
+
headers:
|
250
|
+
Server:
|
251
|
+
- GitHub.com
|
252
|
+
Date:
|
253
|
+
- Sat, 10 Aug 2013 00:15:00 GMT
|
254
|
+
Content-Type:
|
255
|
+
- application/json; charset=utf-8
|
256
|
+
Status:
|
257
|
+
- 201 Created
|
258
|
+
X-Ratelimit-Limit:
|
259
|
+
- '5000'
|
260
|
+
X-Ratelimit-Remaining:
|
261
|
+
- '4907'
|
262
|
+
X-Ratelimit-Reset:
|
263
|
+
- '1376096590'
|
264
|
+
X-Oauth-Scopes:
|
265
|
+
- user, public_repo, repo, gist
|
266
|
+
X-Accepted-Oauth-Scopes:
|
267
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
268
|
+
Location:
|
269
|
+
- https://api.github.com/repos/darkmirage/test/git/blobs/c024fc0376c148568229e0e5553f1b04c7708699
|
270
|
+
X-Github-Media-Type:
|
271
|
+
- github.beta; format=json
|
272
|
+
X-Content-Type-Options:
|
273
|
+
- nosniff
|
274
|
+
Content-Length:
|
275
|
+
- '154'
|
276
|
+
Access-Control-Allow-Credentials:
|
277
|
+
- 'true'
|
278
|
+
Access-Control-Expose-Headers:
|
279
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
280
|
+
X-Accepted-OAuth-Scopes
|
281
|
+
Access-Control-Allow-Origin:
|
282
|
+
- '*'
|
283
|
+
Etag:
|
284
|
+
- '"3434d1cbdfc3d1165b25aa7d40ab856a"'
|
285
|
+
Cache-Control:
|
286
|
+
- max-age=0, private, must-revalidate
|
287
|
+
body:
|
288
|
+
encoding: UTF-8
|
289
|
+
string: '{"sha":"c024fc0376c148568229e0e5553f1b04c7708699","url":"https://api.github.com/repos/darkmirage/test/git/blobs/c024fc0376c148568229e0e5553f1b04c7708699"}'
|
290
|
+
http_version:
|
291
|
+
recorded_at: Sat, 10 Aug 2013 00:15:00 GMT
|
292
|
+
- request:
|
293
|
+
method: post
|
294
|
+
uri: https://api.github.com/repos/darkmirage/test/git/trees
|
295
|
+
body:
|
296
|
+
encoding: UTF-8
|
297
|
+
string: '{"base_tree":"cdddc3941866854cdb41c023d0f5240ed10df053","tree":[{"path":"folder1/sr3.gif","sha":"c024fc0376c148568229e0e5553f1b04c7708699","type":"blob","mode":"100644"}]}'
|
298
|
+
headers:
|
299
|
+
User-Agent:
|
300
|
+
- Octokit Ruby Gem 1.25.0
|
301
|
+
Accept:
|
302
|
+
- application/vnd.github.beta+json
|
303
|
+
Authorization:
|
304
|
+
- token <GITHUB_TOKEN>
|
305
|
+
Content-Type:
|
306
|
+
- application/json
|
307
|
+
Accept-Encoding:
|
308
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
309
|
+
response:
|
310
|
+
status:
|
311
|
+
code: 201
|
312
|
+
message: Created
|
313
|
+
headers:
|
314
|
+
Server:
|
315
|
+
- GitHub.com
|
316
|
+
Date:
|
317
|
+
- Sat, 10 Aug 2013 00:15:00 GMT
|
318
|
+
Content-Type:
|
319
|
+
- application/json; charset=utf-8
|
320
|
+
Status:
|
321
|
+
- 201 Created
|
322
|
+
X-Ratelimit-Limit:
|
323
|
+
- '5000'
|
324
|
+
X-Ratelimit-Remaining:
|
325
|
+
- '4906'
|
326
|
+
X-Ratelimit-Reset:
|
327
|
+
- '1376096590'
|
328
|
+
X-Oauth-Scopes:
|
329
|
+
- user, public_repo, repo, gist
|
330
|
+
X-Accepted-Oauth-Scopes:
|
331
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
332
|
+
Location:
|
333
|
+
- https://api.github.com/repos/darkmirage/test/git/trees/d048a5fd2027c76600084a3c313a5a7f12b0ba25
|
334
|
+
X-Github-Media-Type:
|
335
|
+
- github.beta; format=json
|
336
|
+
X-Content-Type-Options:
|
337
|
+
- nosniff
|
338
|
+
Content-Length:
|
339
|
+
- '1407'
|
340
|
+
Access-Control-Allow-Credentials:
|
341
|
+
- 'true'
|
342
|
+
Access-Control-Expose-Headers:
|
343
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
344
|
+
X-Accepted-OAuth-Scopes
|
345
|
+
Access-Control-Allow-Origin:
|
346
|
+
- '*'
|
347
|
+
Etag:
|
348
|
+
- '"0fbb46e306000b5aa7c7f9502b2afba0"'
|
349
|
+
Cache-Control:
|
350
|
+
- max-age=0, private, must-revalidate
|
351
|
+
body:
|
352
|
+
encoding: UTF-8
|
353
|
+
string: '{"sha":"d048a5fd2027c76600084a3c313a5a7f12b0ba25","url":"https://api.github.com/repos/darkmirage/test/git/trees/d048a5fd2027c76600084a3c313a5a7f12b0ba25","tree":[{"mode":"100644","type":"blob","sha":"398cd945a422cff4321d613a3c5aef57b0b27da2","path":"LICENSE","size":1078,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/398cd945a422cff4321d613a3c5aef57b0b27da2"},{"mode":"100644","type":"blob","sha":"453312977f72f7e37d96bdc6c5b5e4c9c59072f1","path":"README.md","size":20,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/453312977f72f7e37d96bdc6c5b5e4c9c59072f1"},{"mode":"100644","type":"blob","sha":"38a226454dab3931dbb694b3c3ae94e02d110dcf","path":"file1","size":18,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/38a226454dab3931dbb694b3c3ae94e02d110dcf"},{"mode":"040000","type":"tree","sha":"6d51570dab1f8b44bef454038c36ef0e9a69ca0d","path":"folder1","url":"https://api.github.com/repos/darkmirage/test/git/trees/6d51570dab1f8b44bef454038c36ef0e9a69ca0d"},{"mode":"040000","type":"tree","sha":"26a9ff72316b4b9af6481e28d3bb508c555d31a1","path":"folder2","url":"https://api.github.com/repos/darkmirage/test/git/trees/26a9ff72316b4b9af6481e28d3bb508c555d31a1"},{"mode":"040000","type":"tree","sha":"d750655104da52a0f691c399528a29cf5fa594c2","path":"folder3","url":"https://api.github.com/repos/darkmirage/test/git/trees/d750655104da52a0f691c399528a29cf5fa594c2"}]}'
|
354
|
+
http_version:
|
355
|
+
recorded_at: Sat, 10 Aug 2013 00:15:00 GMT
|
356
|
+
- request:
|
357
|
+
method: post
|
358
|
+
uri: https://api.github.com/repos/darkmirage/test/git/blobs
|
359
|
+
body:
|
360
|
+
encoding: UTF-8
|
361
|
+
string: '{"content":"VGhpcyBpcyBhIGZpbGUgdXNlZCBmb3IgUlNwZWMgdGVzdHMgaW52b2x2aW5nIFdvcm9jaGk6Okl0ZW0u","encoding":"base64"}'
|
362
|
+
headers:
|
363
|
+
User-Agent:
|
364
|
+
- Octokit Ruby Gem 1.25.0
|
365
|
+
Accept:
|
366
|
+
- application/vnd.github.beta+json
|
367
|
+
Authorization:
|
368
|
+
- token <GITHUB_TOKEN>
|
369
|
+
Content-Type:
|
370
|
+
- application/json
|
371
|
+
Accept-Encoding:
|
372
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
373
|
+
response:
|
374
|
+
status:
|
375
|
+
code: 201
|
376
|
+
message: Created
|
377
|
+
headers:
|
378
|
+
Server:
|
379
|
+
- GitHub.com
|
380
|
+
Date:
|
381
|
+
- Sat, 10 Aug 2013 00:15:06 GMT
|
382
|
+
Content-Type:
|
383
|
+
- application/json; charset=utf-8
|
384
|
+
Status:
|
385
|
+
- 201 Created
|
386
|
+
X-Ratelimit-Limit:
|
387
|
+
- '5000'
|
388
|
+
X-Ratelimit-Remaining:
|
389
|
+
- '4905'
|
390
|
+
X-Ratelimit-Reset:
|
391
|
+
- '1376096590'
|
392
|
+
X-Oauth-Scopes:
|
393
|
+
- user, public_repo, repo, gist
|
394
|
+
X-Accepted-Oauth-Scopes:
|
395
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
396
|
+
Location:
|
397
|
+
- https://api.github.com/repos/darkmirage/test/git/blobs/5df468c4497e072139462b88cb78e1df4357534b
|
398
|
+
X-Github-Media-Type:
|
399
|
+
- github.beta; format=json
|
400
|
+
X-Content-Type-Options:
|
401
|
+
- nosniff
|
402
|
+
Content-Length:
|
403
|
+
- '154'
|
404
|
+
Access-Control-Allow-Credentials:
|
405
|
+
- 'true'
|
406
|
+
Access-Control-Expose-Headers:
|
407
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
408
|
+
X-Accepted-OAuth-Scopes
|
409
|
+
Access-Control-Allow-Origin:
|
410
|
+
- '*'
|
411
|
+
Etag:
|
412
|
+
- '"0e380113ab3ae5bd4b7290693137935d"'
|
413
|
+
Cache-Control:
|
414
|
+
- max-age=0, private, must-revalidate
|
415
|
+
body:
|
416
|
+
encoding: UTF-8
|
417
|
+
string: '{"sha":"5df468c4497e072139462b88cb78e1df4357534b","url":"https://api.github.com/repos/darkmirage/test/git/blobs/5df468c4497e072139462b88cb78e1df4357534b"}'
|
418
|
+
http_version:
|
419
|
+
recorded_at: Sat, 10 Aug 2013 00:15:06 GMT
|
420
|
+
- request:
|
421
|
+
method: post
|
422
|
+
uri: https://api.github.com/repos/darkmirage/test/git/trees
|
423
|
+
body:
|
424
|
+
encoding: UTF-8
|
425
|
+
string: '{"base_tree":"d048a5fd2027c76600084a3c313a5a7f12b0ba25","tree":[{"path":"folder2/test_file","sha":"5df468c4497e072139462b88cb78e1df4357534b","type":"blob","mode":"100644"}]}'
|
426
|
+
headers:
|
427
|
+
User-Agent:
|
428
|
+
- Octokit Ruby Gem 1.25.0
|
429
|
+
Accept:
|
430
|
+
- application/vnd.github.beta+json
|
431
|
+
Authorization:
|
432
|
+
- token <GITHUB_TOKEN>
|
433
|
+
Content-Type:
|
434
|
+
- application/json
|
435
|
+
Accept-Encoding:
|
436
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
437
|
+
response:
|
438
|
+
status:
|
439
|
+
code: 201
|
440
|
+
message: Created
|
441
|
+
headers:
|
442
|
+
Server:
|
443
|
+
- GitHub.com
|
444
|
+
Date:
|
445
|
+
- Sat, 10 Aug 2013 00:15:07 GMT
|
446
|
+
Content-Type:
|
447
|
+
- application/json; charset=utf-8
|
448
|
+
Status:
|
449
|
+
- 201 Created
|
450
|
+
X-Ratelimit-Limit:
|
451
|
+
- '5000'
|
452
|
+
X-Ratelimit-Remaining:
|
453
|
+
- '4904'
|
454
|
+
X-Ratelimit-Reset:
|
455
|
+
- '1376096590'
|
456
|
+
X-Oauth-Scopes:
|
457
|
+
- user, public_repo, repo, gist
|
458
|
+
X-Accepted-Oauth-Scopes:
|
459
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
460
|
+
Location:
|
461
|
+
- https://api.github.com/repos/darkmirage/test/git/trees/0e063615e52e09d6fba6f2190083bc8a9323528f
|
462
|
+
X-Github-Media-Type:
|
463
|
+
- github.beta; format=json
|
464
|
+
X-Content-Type-Options:
|
465
|
+
- nosniff
|
466
|
+
Content-Length:
|
467
|
+
- '1407'
|
468
|
+
Access-Control-Allow-Credentials:
|
469
|
+
- 'true'
|
470
|
+
Access-Control-Expose-Headers:
|
471
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
472
|
+
X-Accepted-OAuth-Scopes
|
473
|
+
Access-Control-Allow-Origin:
|
474
|
+
- '*'
|
475
|
+
Etag:
|
476
|
+
- '"331e368da7f0f4f093eb5839198ce139"'
|
477
|
+
Cache-Control:
|
478
|
+
- max-age=0, private, must-revalidate
|
479
|
+
body:
|
480
|
+
encoding: UTF-8
|
481
|
+
string: '{"sha":"0e063615e52e09d6fba6f2190083bc8a9323528f","url":"https://api.github.com/repos/darkmirage/test/git/trees/0e063615e52e09d6fba6f2190083bc8a9323528f","tree":[{"mode":"100644","type":"blob","sha":"398cd945a422cff4321d613a3c5aef57b0b27da2","path":"LICENSE","size":1078,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/398cd945a422cff4321d613a3c5aef57b0b27da2"},{"mode":"100644","type":"blob","sha":"453312977f72f7e37d96bdc6c5b5e4c9c59072f1","path":"README.md","size":20,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/453312977f72f7e37d96bdc6c5b5e4c9c59072f1"},{"mode":"100644","type":"blob","sha":"38a226454dab3931dbb694b3c3ae94e02d110dcf","path":"file1","size":18,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/38a226454dab3931dbb694b3c3ae94e02d110dcf"},{"mode":"040000","type":"tree","sha":"6d51570dab1f8b44bef454038c36ef0e9a69ca0d","path":"folder1","url":"https://api.github.com/repos/darkmirage/test/git/trees/6d51570dab1f8b44bef454038c36ef0e9a69ca0d"},{"mode":"040000","type":"tree","sha":"d6c5d03064924906afd8288388dd9102380c6fe4","path":"folder2","url":"https://api.github.com/repos/darkmirage/test/git/trees/d6c5d03064924906afd8288388dd9102380c6fe4"},{"mode":"040000","type":"tree","sha":"d750655104da52a0f691c399528a29cf5fa594c2","path":"folder3","url":"https://api.github.com/repos/darkmirage/test/git/trees/d750655104da52a0f691c399528a29cf5fa594c2"}]}'
|
482
|
+
http_version:
|
483
|
+
recorded_at: Sat, 10 Aug 2013 00:15:07 GMT
|
484
|
+
- request:
|
485
|
+
method: get
|
486
|
+
uri: https://api.github.com/repos/darkmirage/test/branches/rspec
|
487
|
+
body:
|
488
|
+
encoding: US-ASCII
|
489
|
+
string: ''
|
490
|
+
headers:
|
491
|
+
User-Agent:
|
492
|
+
- Octokit Ruby Gem 1.25.0
|
493
|
+
Accept:
|
494
|
+
- application/vnd.github.beta+json
|
495
|
+
Authorization:
|
496
|
+
- token <GITHUB_TOKEN>
|
497
|
+
Accept-Encoding:
|
498
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
499
|
+
response:
|
500
|
+
status:
|
501
|
+
code: 404
|
502
|
+
message: Not Found
|
503
|
+
headers:
|
504
|
+
Server:
|
505
|
+
- GitHub.com
|
506
|
+
Date:
|
507
|
+
- Sat, 10 Aug 2013 00:15:07 GMT
|
508
|
+
Content-Type:
|
509
|
+
- application/json; charset=utf-8
|
510
|
+
Transfer-Encoding:
|
511
|
+
- chunked
|
512
|
+
Status:
|
513
|
+
- 404 Not Found
|
514
|
+
X-Ratelimit-Limit:
|
515
|
+
- '5000'
|
516
|
+
X-Ratelimit-Remaining:
|
517
|
+
- '4903'
|
518
|
+
X-Ratelimit-Reset:
|
519
|
+
- '1376096590'
|
520
|
+
X-Oauth-Scopes:
|
521
|
+
- user, public_repo, repo, gist
|
522
|
+
X-Accepted-Oauth-Scopes:
|
523
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
524
|
+
X-Github-Media-Type:
|
525
|
+
- github.beta; format=json
|
526
|
+
X-Content-Type-Options:
|
527
|
+
- nosniff
|
528
|
+
Access-Control-Allow-Credentials:
|
529
|
+
- 'true'
|
530
|
+
Access-Control-Expose-Headers:
|
531
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
532
|
+
X-Accepted-OAuth-Scopes
|
533
|
+
Access-Control-Allow-Origin:
|
534
|
+
- '*'
|
535
|
+
body:
|
536
|
+
encoding: UTF-8
|
537
|
+
string: '{"message":"Branch not found"}'
|
538
|
+
http_version:
|
539
|
+
recorded_at: Sat, 10 Aug 2013 00:15:07 GMT
|
540
|
+
- request:
|
541
|
+
method: get
|
542
|
+
uri: https://api.github.com/repos/darkmirage/test/branches/master
|
543
|
+
body:
|
544
|
+
encoding: US-ASCII
|
545
|
+
string: ''
|
546
|
+
headers:
|
547
|
+
User-Agent:
|
548
|
+
- Octokit Ruby Gem 1.25.0
|
549
|
+
Accept:
|
550
|
+
- application/vnd.github.beta+json
|
551
|
+
Authorization:
|
552
|
+
- token <GITHUB_TOKEN>
|
553
|
+
Accept-Encoding:
|
554
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
555
|
+
response:
|
556
|
+
status:
|
557
|
+
code: 200
|
558
|
+
message: OK
|
559
|
+
headers:
|
560
|
+
Server:
|
561
|
+
- GitHub.com
|
562
|
+
Date:
|
563
|
+
- Sat, 10 Aug 2013 00:15:08 GMT
|
564
|
+
Content-Type:
|
565
|
+
- application/json; charset=utf-8
|
566
|
+
Transfer-Encoding:
|
567
|
+
- chunked
|
568
|
+
Status:
|
569
|
+
- 200 OK
|
570
|
+
X-Ratelimit-Limit:
|
571
|
+
- '5000'
|
572
|
+
X-Ratelimit-Remaining:
|
573
|
+
- '4902'
|
574
|
+
X-Ratelimit-Reset:
|
575
|
+
- '1376096590'
|
576
|
+
X-Oauth-Scopes:
|
577
|
+
- user, public_repo, repo, gist
|
578
|
+
X-Accepted-Oauth-Scopes:
|
579
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
580
|
+
X-Github-Media-Type:
|
581
|
+
- github.beta; format=json
|
582
|
+
X-Content-Type-Options:
|
583
|
+
- nosniff
|
584
|
+
Access-Control-Allow-Credentials:
|
585
|
+
- 'true'
|
586
|
+
Access-Control-Expose-Headers:
|
587
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
588
|
+
X-Accepted-OAuth-Scopes
|
589
|
+
Access-Control-Allow-Origin:
|
590
|
+
- '*'
|
591
|
+
Etag:
|
592
|
+
- '"9f1960e9f71a26ef10999b56127f5ff5"'
|
593
|
+
Cache-Control:
|
594
|
+
- max-age=0, private, must-revalidate
|
595
|
+
Vary:
|
596
|
+
- Accept-Encoding
|
597
|
+
body:
|
598
|
+
encoding: UTF-8
|
599
|
+
string: '{"name":"master","commit":{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","commit":{"author":{"name":"Raven
|
600
|
+
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"committer":{"name":"Raven
|
601
|
+
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"message":"Added
|
602
|
+
subfolder testing","tree":{"sha":"6553d302dfc55bf5cd09c07a6125753af023c7a5","url":"https://api.github.com/repos/darkmirage/test/git/trees/6553d302dfc55bf5cd09c07a6125753af023c7a5"},"url":"https://api.github.com/repos/darkmirage/test/git/commits/cdddc3941866854cdb41c023d0f5240ed10df053","comment_count":0},"url":"https://api.github.com/repos/darkmirage/test/commits/cdddc3941866854cdb41c023d0f5240ed10df053","html_url":"https://github.com/darkmirage/test/commit/cdddc3941866854cdb41c023d0f5240ed10df053","comments_url":"https://api.github.com/repos/darkmirage/test/commits/cdddc3941866854cdb41c023d0f5240ed10df053/comments","author":{"login":"darkmirage","id":1635019,"avatar_url":"https://secure.gravatar.com/avatar/5111569f6bba258cfe81d12af3ba99a2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"5111569f6bba258cfe81d12af3ba99a2","url":"https://api.github.com/users/darkmirage","html_url":"https://github.com/darkmirage","followers_url":"https://api.github.com/users/darkmirage/followers","following_url":"https://api.github.com/users/darkmirage/following{/other_user}","gists_url":"https://api.github.com/users/darkmirage/gists{/gist_id}","starred_url":"https://api.github.com/users/darkmirage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkmirage/subscriptions","organizations_url":"https://api.github.com/users/darkmirage/orgs","repos_url":"https://api.github.com/users/darkmirage/repos","events_url":"https://api.github.com/users/darkmirage/events{/privacy}","received_events_url":"https://api.github.com/users/darkmirage/received_events","type":"User"},"committer":{"login":"darkmirage","id":1635019,"avatar_url":"https://secure.gravatar.com/avatar/5111569f6bba258cfe81d12af3ba99a2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"5111569f6bba258cfe81d12af3ba99a2","url":"https://api.github.com/users/darkmirage","html_url":"https://github.com/darkmirage","followers_url":"https://api.github.com/users/darkmirage/followers","following_url":"https://api.github.com/users/darkmirage/following{/other_user}","gists_url":"https://api.github.com/users/darkmirage/gists{/gist_id}","starred_url":"https://api.github.com/users/darkmirage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkmirage/subscriptions","organizations_url":"https://api.github.com/users/darkmirage/orgs","repos_url":"https://api.github.com/users/darkmirage/repos","events_url":"https://api.github.com/users/darkmirage/events{/privacy}","received_events_url":"https://api.github.com/users/darkmirage/received_events","type":"User"},"parents":[{"sha":"9da46c5d5e0758a759f80de6283eba05c1f04735","url":"https://api.github.com/repos/darkmirage/test/commits/9da46c5d5e0758a759f80de6283eba05c1f04735","html_url":"https://github.com/darkmirage/test/commit/9da46c5d5e0758a759f80de6283eba05c1f04735"}]},"_links":{"self":"https://api.github.com/repos/darkmirage/test/branches/master","html":"https://github.com/darkmirage/test/tree/master"}}'
|
603
|
+
http_version:
|
604
|
+
recorded_at: Sat, 10 Aug 2013 00:15:08 GMT
|
605
|
+
- request:
|
606
|
+
method: post
|
607
|
+
uri: https://api.github.com/repos/darkmirage/test/git/refs
|
608
|
+
body:
|
609
|
+
encoding: UTF-8
|
610
|
+
string: '{"ref":"refs/heads/rspec","sha":"cdddc3941866854cdb41c023d0f5240ed10df053"}'
|
611
|
+
headers:
|
612
|
+
User-Agent:
|
613
|
+
- Octokit Ruby Gem 1.25.0
|
614
|
+
Accept:
|
615
|
+
- application/vnd.github.beta+json
|
616
|
+
Authorization:
|
617
|
+
- token <GITHUB_TOKEN>
|
618
|
+
Content-Type:
|
619
|
+
- application/json
|
620
|
+
Accept-Encoding:
|
621
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
622
|
+
response:
|
623
|
+
status:
|
624
|
+
code: 201
|
625
|
+
message: Created
|
626
|
+
headers:
|
627
|
+
Server:
|
628
|
+
- GitHub.com
|
629
|
+
Date:
|
630
|
+
- Sat, 10 Aug 2013 00:15:09 GMT
|
631
|
+
Content-Type:
|
632
|
+
- application/json; charset=utf-8
|
633
|
+
Status:
|
634
|
+
- 201 Created
|
635
|
+
X-Ratelimit-Limit:
|
636
|
+
- '5000'
|
637
|
+
X-Ratelimit-Remaining:
|
638
|
+
- '4901'
|
639
|
+
X-Ratelimit-Reset:
|
640
|
+
- '1376096590'
|
641
|
+
X-Oauth-Scopes:
|
642
|
+
- user, public_repo, repo, gist
|
643
|
+
X-Accepted-Oauth-Scopes:
|
644
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
645
|
+
Location:
|
646
|
+
- https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec
|
647
|
+
X-Github-Media-Type:
|
648
|
+
- github.beta; format=json
|
649
|
+
X-Content-Type-Options:
|
650
|
+
- nosniff
|
651
|
+
Content-Length:
|
652
|
+
- '282'
|
653
|
+
Access-Control-Allow-Credentials:
|
654
|
+
- 'true'
|
655
|
+
Access-Control-Expose-Headers:
|
656
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
657
|
+
X-Accepted-OAuth-Scopes
|
658
|
+
Access-Control-Allow-Origin:
|
659
|
+
- '*'
|
660
|
+
Etag:
|
661
|
+
- '"0877b16c88453759ce157491732ce0da"'
|
662
|
+
Cache-Control:
|
663
|
+
- max-age=0, private, must-revalidate
|
664
|
+
body:
|
665
|
+
encoding: UTF-8
|
666
|
+
string: '{"ref":"refs/heads/rspec","url":"https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec","object":{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","type":"commit","url":"https://api.github.com/repos/darkmirage/test/git/commits/cdddc3941866854cdb41c023d0f5240ed10df053"}}'
|
667
|
+
http_version:
|
668
|
+
recorded_at: Sat, 10 Aug 2013 00:15:09 GMT
|
669
|
+
- request:
|
670
|
+
method: post
|
671
|
+
uri: https://api.github.com/repos/darkmirage/test/git/commits
|
672
|
+
body:
|
673
|
+
encoding: UTF-8
|
674
|
+
string: '{"message":"RSpec Test","tree":"0e063615e52e09d6fba6f2190083bc8a9323528f","parents":["cdddc3941866854cdb41c023d0f5240ed10df053"]}'
|
675
|
+
headers:
|
676
|
+
User-Agent:
|
677
|
+
- Octokit Ruby Gem 1.25.0
|
678
|
+
Accept:
|
679
|
+
- application/vnd.github.beta+json
|
680
|
+
Authorization:
|
681
|
+
- token <GITHUB_TOKEN>
|
682
|
+
Content-Type:
|
683
|
+
- application/json
|
684
|
+
Accept-Encoding:
|
685
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
686
|
+
response:
|
687
|
+
status:
|
688
|
+
code: 201
|
689
|
+
message: Created
|
690
|
+
headers:
|
691
|
+
Server:
|
692
|
+
- GitHub.com
|
693
|
+
Date:
|
694
|
+
- Sat, 10 Aug 2013 00:15:09 GMT
|
695
|
+
Content-Type:
|
696
|
+
- application/json; charset=utf-8
|
697
|
+
Status:
|
698
|
+
- 201 Created
|
699
|
+
X-Ratelimit-Limit:
|
700
|
+
- '5000'
|
701
|
+
X-Ratelimit-Remaining:
|
702
|
+
- '4900'
|
703
|
+
X-Ratelimit-Reset:
|
704
|
+
- '1376096590'
|
705
|
+
X-Oauth-Scopes:
|
706
|
+
- user, public_repo, repo, gist
|
707
|
+
X-Accepted-Oauth-Scopes:
|
708
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
709
|
+
Location:
|
710
|
+
- https://api.github.com/repos/darkmirage/test/git/commits/d84a306ec99d7b4886efc567e538723e1257ab7c
|
711
|
+
X-Github-Media-Type:
|
712
|
+
- github.beta; format=json
|
713
|
+
X-Content-Type-Options:
|
714
|
+
- nosniff
|
715
|
+
Content-Length:
|
716
|
+
- '895'
|
717
|
+
Access-Control-Allow-Credentials:
|
718
|
+
- 'true'
|
719
|
+
Access-Control-Expose-Headers:
|
720
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
721
|
+
X-Accepted-OAuth-Scopes
|
722
|
+
Access-Control-Allow-Origin:
|
723
|
+
- '*'
|
724
|
+
Etag:
|
725
|
+
- '"4bd16510d6e6e24199c1346481d1698e"'
|
726
|
+
Cache-Control:
|
727
|
+
- max-age=0, private, must-revalidate
|
728
|
+
body:
|
729
|
+
encoding: UTF-8
|
730
|
+
string: '{"sha":"d84a306ec99d7b4886efc567e538723e1257ab7c","url":"https://api.github.com/repos/darkmirage/test/git/commits/d84a306ec99d7b4886efc567e538723e1257ab7c","html_url":"https://github.com/darkmirage/test/commits/d84a306ec99d7b4886efc567e538723e1257ab7c","author":{"name":"Raven
|
731
|
+
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-10T00:15:09Z"},"committer":{"name":"Raven
|
732
|
+
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-10T00:15:09Z"},"tree":{"sha":"0e063615e52e09d6fba6f2190083bc8a9323528f","url":"https://api.github.com/repos/darkmirage/test/git/trees/0e063615e52e09d6fba6f2190083bc8a9323528f"},"message":"RSpec
|
733
|
+
Test","parents":[{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","url":"https://api.github.com/repos/darkmirage/test/git/commits/cdddc3941866854cdb41c023d0f5240ed10df053","html_url":"https://github.com/darkmirage/test/commits/cdddc3941866854cdb41c023d0f5240ed10df053"}]}'
|
734
|
+
http_version:
|
735
|
+
recorded_at: Sat, 10 Aug 2013 00:15:09 GMT
|
736
|
+
- request:
|
737
|
+
method: patch
|
738
|
+
uri: https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec
|
739
|
+
body:
|
740
|
+
encoding: UTF-8
|
741
|
+
string: '{"sha":"d84a306ec99d7b4886efc567e538723e1257ab7c","force":true}'
|
742
|
+
headers:
|
743
|
+
User-Agent:
|
744
|
+
- Octokit Ruby Gem 1.25.0
|
745
|
+
Accept:
|
746
|
+
- application/vnd.github.beta+json
|
747
|
+
Authorization:
|
748
|
+
- token <GITHUB_TOKEN>
|
749
|
+
Content-Type:
|
750
|
+
- application/json
|
751
|
+
Accept-Encoding:
|
752
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
753
|
+
response:
|
754
|
+
status:
|
755
|
+
code: 200
|
756
|
+
message: OK
|
757
|
+
headers:
|
758
|
+
Server:
|
759
|
+
- GitHub.com
|
760
|
+
Date:
|
761
|
+
- Sat, 10 Aug 2013 00:15:10 GMT
|
762
|
+
Content-Type:
|
763
|
+
- application/json; charset=utf-8
|
764
|
+
Transfer-Encoding:
|
765
|
+
- chunked
|
766
|
+
Status:
|
767
|
+
- 200 OK
|
768
|
+
X-Ratelimit-Limit:
|
769
|
+
- '5000'
|
770
|
+
X-Ratelimit-Remaining:
|
771
|
+
- '4899'
|
772
|
+
X-Ratelimit-Reset:
|
773
|
+
- '1376096590'
|
774
|
+
X-Oauth-Scopes:
|
775
|
+
- user, public_repo, repo, gist
|
776
|
+
X-Accepted-Oauth-Scopes:
|
777
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
778
|
+
X-Github-Media-Type:
|
779
|
+
- github.beta; format=json
|
780
|
+
X-Content-Type-Options:
|
781
|
+
- nosniff
|
782
|
+
Access-Control-Allow-Credentials:
|
783
|
+
- 'true'
|
784
|
+
Access-Control-Expose-Headers:
|
785
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
786
|
+
X-Accepted-OAuth-Scopes
|
787
|
+
Access-Control-Allow-Origin:
|
788
|
+
- '*'
|
789
|
+
Etag:
|
790
|
+
- '"4a006995a748a354d04c1954edf06e91"'
|
791
|
+
Cache-Control:
|
792
|
+
- max-age=0, private, must-revalidate
|
793
|
+
Vary:
|
794
|
+
- Accept-Encoding
|
795
|
+
body:
|
796
|
+
encoding: UTF-8
|
797
|
+
string: '{"ref":"refs/heads/rspec","url":"https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec","object":{"sha":"d84a306ec99d7b4886efc567e538723e1257ab7c","type":"commit","url":"https://api.github.com/repos/darkmirage/test/git/commits/d84a306ec99d7b4886efc567e538723e1257ab7c"}}'
|
798
|
+
http_version:
|
799
|
+
recorded_at: Sat, 10 Aug 2013 00:15:11 GMT
|
800
|
+
- request:
|
801
|
+
method: get
|
802
|
+
uri: https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec
|
803
|
+
body:
|
804
|
+
encoding: US-ASCII
|
805
|
+
string: ''
|
806
|
+
headers:
|
807
|
+
User-Agent:
|
808
|
+
- Octokit Ruby Gem 1.25.0
|
809
|
+
Accept:
|
810
|
+
- application/vnd.github.beta+json
|
811
|
+
Authorization:
|
812
|
+
- token <GITHUB_TOKEN>
|
813
|
+
Accept-Encoding:
|
814
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
815
|
+
response:
|
816
|
+
status:
|
817
|
+
code: 200
|
818
|
+
message: OK
|
819
|
+
headers:
|
820
|
+
Server:
|
821
|
+
- GitHub.com
|
822
|
+
Date:
|
823
|
+
- Sat, 10 Aug 2013 00:15:11 GMT
|
824
|
+
Content-Type:
|
825
|
+
- application/json; charset=utf-8
|
826
|
+
Transfer-Encoding:
|
827
|
+
- chunked
|
828
|
+
Status:
|
829
|
+
- 200 OK
|
830
|
+
X-Ratelimit-Limit:
|
831
|
+
- '5000'
|
832
|
+
X-Ratelimit-Remaining:
|
833
|
+
- '4898'
|
834
|
+
X-Ratelimit-Reset:
|
835
|
+
- '1376096590'
|
836
|
+
Cache-Control:
|
837
|
+
- private, max-age=60, s-maxage=60
|
838
|
+
Last-Modified:
|
839
|
+
- Sat, 10 Aug 2013 00:15:11 GMT
|
840
|
+
Etag:
|
841
|
+
- '"9688e34c3e2bb2d4a3973a744259e643"'
|
842
|
+
X-Oauth-Scopes:
|
843
|
+
- user, public_repo, repo, gist
|
844
|
+
X-Accepted-Oauth-Scopes:
|
845
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
846
|
+
Vary:
|
847
|
+
- Accept, Authorization, Cookie
|
848
|
+
- Accept-Encoding
|
849
|
+
X-Github-Media-Type:
|
850
|
+
- github.beta; format=json
|
851
|
+
X-Content-Type-Options:
|
852
|
+
- nosniff
|
853
|
+
Access-Control-Allow-Credentials:
|
854
|
+
- 'true'
|
855
|
+
Access-Control-Expose-Headers:
|
856
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
857
|
+
X-Accepted-OAuth-Scopes
|
858
|
+
Access-Control-Allow-Origin:
|
859
|
+
- '*'
|
860
|
+
body:
|
861
|
+
encoding: UTF-8
|
862
|
+
string: '{"ref":"refs/heads/rspec","url":"https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec","object":{"sha":"d84a306ec99d7b4886efc567e538723e1257ab7c","type":"commit","url":"https://api.github.com/repos/darkmirage/test/git/commits/d84a306ec99d7b4886efc567e538723e1257ab7c"}}'
|
863
|
+
http_version:
|
864
|
+
recorded_at: Sat, 10 Aug 2013 00:15:11 GMT
|
865
|
+
- request:
|
866
|
+
method: get
|
867
|
+
uri: https://api.github.com/repos/darkmirage/test/commits/d84a306ec99d7b4886efc567e538723e1257ab7c
|
868
|
+
body:
|
869
|
+
encoding: US-ASCII
|
870
|
+
string: ''
|
871
|
+
headers:
|
872
|
+
User-Agent:
|
873
|
+
- Octokit Ruby Gem 1.25.0
|
874
|
+
Accept:
|
875
|
+
- application/vnd.github.beta+json
|
876
|
+
Authorization:
|
877
|
+
- token <GITHUB_TOKEN>
|
878
|
+
Accept-Encoding:
|
879
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
880
|
+
response:
|
881
|
+
status:
|
882
|
+
code: 200
|
883
|
+
message: OK
|
884
|
+
headers:
|
885
|
+
Server:
|
886
|
+
- GitHub.com
|
887
|
+
Date:
|
888
|
+
- Sat, 10 Aug 2013 00:15:11 GMT
|
889
|
+
Content-Type:
|
890
|
+
- application/json; charset=utf-8
|
891
|
+
Transfer-Encoding:
|
892
|
+
- chunked
|
893
|
+
Status:
|
894
|
+
- 200 OK
|
895
|
+
X-Ratelimit-Limit:
|
896
|
+
- '5000'
|
897
|
+
X-Ratelimit-Remaining:
|
898
|
+
- '4897'
|
899
|
+
X-Ratelimit-Reset:
|
900
|
+
- '1376096590'
|
901
|
+
Cache-Control:
|
902
|
+
- private, max-age=60, s-maxage=60
|
903
|
+
Last-Modified:
|
904
|
+
- Sat, 10 Aug 2013 00:15:09 GMT
|
905
|
+
Etag:
|
906
|
+
- '"fe2d235e3cc57d8cd102a93a532c9b44"'
|
907
|
+
X-Oauth-Scopes:
|
908
|
+
- user, public_repo, repo, gist
|
909
|
+
X-Accepted-Oauth-Scopes:
|
910
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
911
|
+
Vary:
|
912
|
+
- Accept, Authorization, Cookie
|
913
|
+
- Accept-Encoding
|
914
|
+
X-Github-Media-Type:
|
915
|
+
- github.beta; format=json
|
916
|
+
X-Content-Type-Options:
|
917
|
+
- nosniff
|
918
|
+
Access-Control-Allow-Credentials:
|
919
|
+
- 'true'
|
920
|
+
Access-Control-Expose-Headers:
|
921
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
922
|
+
X-Accepted-OAuth-Scopes
|
923
|
+
Access-Control-Allow-Origin:
|
924
|
+
- '*'
|
925
|
+
body:
|
926
|
+
encoding: UTF-8
|
927
|
+
string: '{"sha":"d84a306ec99d7b4886efc567e538723e1257ab7c","commit":{"author":{"name":"Raven
|
928
|
+
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-10T00:15:09Z"},"committer":{"name":"Raven
|
929
|
+
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-10T00:15:09Z"},"message":"RSpec
|
930
|
+
Test","tree":{"sha":"0e063615e52e09d6fba6f2190083bc8a9323528f","url":"https://api.github.com/repos/darkmirage/test/git/trees/0e063615e52e09d6fba6f2190083bc8a9323528f"},"url":"https://api.github.com/repos/darkmirage/test/git/commits/d84a306ec99d7b4886efc567e538723e1257ab7c","comment_count":0},"url":"https://api.github.com/repos/darkmirage/test/commits/d84a306ec99d7b4886efc567e538723e1257ab7c","html_url":"https://github.com/darkmirage/test/commit/d84a306ec99d7b4886efc567e538723e1257ab7c","comments_url":"https://api.github.com/repos/darkmirage/test/commits/d84a306ec99d7b4886efc567e538723e1257ab7c/comments","author":{"login":"darkmirage","id":1635019,"avatar_url":"https://secure.gravatar.com/avatar/5111569f6bba258cfe81d12af3ba99a2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"5111569f6bba258cfe81d12af3ba99a2","url":"https://api.github.com/users/darkmirage","html_url":"https://github.com/darkmirage","followers_url":"https://api.github.com/users/darkmirage/followers","following_url":"https://api.github.com/users/darkmirage/following{/other_user}","gists_url":"https://api.github.com/users/darkmirage/gists{/gist_id}","starred_url":"https://api.github.com/users/darkmirage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkmirage/subscriptions","organizations_url":"https://api.github.com/users/darkmirage/orgs","repos_url":"https://api.github.com/users/darkmirage/repos","events_url":"https://api.github.com/users/darkmirage/events{/privacy}","received_events_url":"https://api.github.com/users/darkmirage/received_events","type":"User"},"committer":{"login":"darkmirage","id":1635019,"avatar_url":"https://secure.gravatar.com/avatar/5111569f6bba258cfe81d12af3ba99a2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"5111569f6bba258cfe81d12af3ba99a2","url":"https://api.github.com/users/darkmirage","html_url":"https://github.com/darkmirage","followers_url":"https://api.github.com/users/darkmirage/followers","following_url":"https://api.github.com/users/darkmirage/following{/other_user}","gists_url":"https://api.github.com/users/darkmirage/gists{/gist_id}","starred_url":"https://api.github.com/users/darkmirage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkmirage/subscriptions","organizations_url":"https://api.github.com/users/darkmirage/orgs","repos_url":"https://api.github.com/users/darkmirage/repos","events_url":"https://api.github.com/users/darkmirage/events{/privacy}","received_events_url":"https://api.github.com/users/darkmirage/received_events","type":"User"},"parents":[{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","url":"https://api.github.com/repos/darkmirage/test/commits/cdddc3941866854cdb41c023d0f5240ed10df053","html_url":"https://github.com/darkmirage/test/commit/cdddc3941866854cdb41c023d0f5240ed10df053"}],"stats":{"total":1,"additions":1,"deletions":0},"files":[{"sha":"c024fc0376c148568229e0e5553f1b04c7708699","filename":"folder1/sr3.gif","status":"added","additions":0,"deletions":0,"changes":0,"blob_url":"https://github.com/darkmirage/test/blob/d84a306ec99d7b4886efc567e538723e1257ab7c/folder1/sr3.gif","raw_url":"https://github.com/darkmirage/test/raw/d84a306ec99d7b4886efc567e538723e1257ab7c/folder1/sr3.gif","contents_url":"https://api.github.com/repos/darkmirage/test/contents/folder1/sr3.gif?ref=d84a306ec99d7b4886efc567e538723e1257ab7c"},{"sha":"5df468c4497e072139462b88cb78e1df4357534b","filename":"folder2/test_file","status":"added","additions":1,"deletions":0,"changes":1,"blob_url":"https://github.com/darkmirage/test/blob/d84a306ec99d7b4886efc567e538723e1257ab7c/folder2/test_file","raw_url":"https://github.com/darkmirage/test/raw/d84a306ec99d7b4886efc567e538723e1257ab7c/folder2/test_file","contents_url":"https://api.github.com/repos/darkmirage/test/contents/folder2/test_file?ref=d84a306ec99d7b4886efc567e538723e1257ab7c","patch":"@@
|
931
|
+
-0,0 +1 @@\n+This is a file used for RSpec tests involving Worochi::Item.\n\\
|
932
|
+
No newline at end of file"}]}'
|
933
|
+
http_version:
|
934
|
+
recorded_at: Sat, 10 Aug 2013 00:15:12 GMT
|
935
|
+
- request:
|
936
|
+
method: delete
|
937
|
+
uri: https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec
|
938
|
+
body:
|
939
|
+
encoding: US-ASCII
|
940
|
+
string: ''
|
941
|
+
headers:
|
942
|
+
User-Agent:
|
943
|
+
- Octokit Ruby Gem 1.25.0
|
944
|
+
Accept:
|
945
|
+
- application/vnd.github.beta+json
|
946
|
+
Authorization:
|
947
|
+
- token <GITHUB_TOKEN>
|
948
|
+
Accept-Encoding:
|
949
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
950
|
+
response:
|
951
|
+
status:
|
952
|
+
code: 204
|
953
|
+
message: No Content
|
954
|
+
headers:
|
955
|
+
Server:
|
956
|
+
- GitHub.com
|
957
|
+
Date:
|
958
|
+
- Sat, 10 Aug 2013 00:15:12 GMT
|
959
|
+
Status:
|
960
|
+
- 204 No Content
|
961
|
+
X-Ratelimit-Limit:
|
962
|
+
- '5000'
|
963
|
+
X-Ratelimit-Remaining:
|
964
|
+
- '4896'
|
965
|
+
X-Ratelimit-Reset:
|
966
|
+
- '1376096590'
|
967
|
+
X-Oauth-Scopes:
|
968
|
+
- user, public_repo, repo, gist
|
969
|
+
X-Accepted-Oauth-Scopes:
|
970
|
+
- repo, public_repo, repo:status, delete_repo, site_admin
|
971
|
+
X-Github-Media-Type:
|
972
|
+
- github.beta; format=json
|
973
|
+
X-Content-Type-Options:
|
974
|
+
- nosniff
|
975
|
+
Access-Control-Allow-Credentials:
|
976
|
+
- 'true'
|
977
|
+
Access-Control-Expose-Headers:
|
978
|
+
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
979
|
+
X-Accepted-OAuth-Scopes
|
980
|
+
Access-Control-Allow-Origin:
|
981
|
+
- '*'
|
982
|
+
Vary:
|
983
|
+
- Accept-Encoding
|
984
|
+
body:
|
985
|
+
encoding: UTF-8
|
986
|
+
string: ''
|
987
|
+
http_version:
|
988
|
+
recorded_at: Sat, 10 Aug 2013 00:15:12 GMT
|
989
|
+
recorded_with: VCR 2.5.0
|