worochi 0.0.7 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/lib/worochi/agent/{sample.rb → #example.rb} +2 -14
  3. data/lib/worochi/agent/dropbox.rb +3 -13
  4. data/lib/worochi/agent/github.rb +8 -23
  5. data/lib/worochi/agent.rb +46 -18
  6. data/lib/worochi/config/#example.yml +35 -0
  7. data/lib/worochi/config/dropbox.yml +14 -0
  8. data/lib/worochi/config/github.yml +17 -0
  9. data/lib/worochi/config.rb +9 -84
  10. data/lib/worochi/configurator.rb +120 -0
  11. data/lib/worochi/helper/github_helper.rb +111 -0
  12. data/lib/worochi/helper.rb +28 -7
  13. data/lib/worochi/item.rb +5 -3
  14. data/lib/worochi/log.rb +8 -14
  15. data/lib/worochi/oauth.rb +69 -0
  16. data/lib/worochi/version.rb +1 -1
  17. data/lib/worochi.rb +20 -3
  18. data/spec/cassettes/Worochi/_push/pushes_with_agents.yml +512 -0
  19. data/spec/cassettes/Worochi_Agent_Dropbox/_push_item/pushes_it_chunked_if_size_exceeds_limit.yml +1049 -0
  20. data/spec/cassettes/Worochi_Agent_Dropbox/_push_item_chunked/raises_an_error.yml +44 -0
  21. data/spec/cassettes/Worochi_Agent_Dropbox/_push_items/pushes_multiple_items.yml +165 -0
  22. data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml +38 -0
  23. data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing.yml +79 -0
  24. data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml +79 -0
  25. data/spec/cassettes/Worochi_Agent_Github/_list/works_with_absolute_paths.yml +12 -12
  26. data/spec/cassettes/Worochi_Agent_Github/_repos/lists_the_repos.yml +207 -0
  27. data/spec/cassettes/Worochi_Agent_Github/_source_branch/retrieves_the_master_branch_correctly.yml +6 -6
  28. data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml +12 -12
  29. data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/contains_file1.yml +12 -12
  30. data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/does_not_contain_folder1.yml +12 -12
  31. data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml +133 -0
  32. data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files_and_folders/contains_folder1_and_file1.yml +24 -24
  33. data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml +133 -0
  34. data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml +12 -12
  35. data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml +12 -12
  36. data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/does_not_contain_file1.yml +12 -12
  37. data/spec/cassettes/Worochi_Agent_Github/{_push_all → modifies_the_repo/_push_all}/pushes_a_list_of_items_to_create_a_new_commit.yml +80 -80
  38. data/spec/cassettes/Worochi_Agent_Github/{_push_all → modifies_the_repo/_push_all}/pushes_the_file_to_the_right_place.yml +60 -60
  39. data/spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_blob/pushes_the_blob_even_when_it_is_larger_than_block_size.yml +181 -0
  40. data/spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_item/pushes_a_single_item_and_makes_a_commit.yml +687 -0
  41. data/spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_stream_blob/streams_the_file_as_an_Base64_JSON_field.yml +181 -0
  42. data/spec/cassettes/Worochi_OAuth/_flow_end/rejects_bad_code.yml +56 -0
  43. data/spec/{helper.rb → spec_helper.rb} +14 -1
  44. data/spec/support/aws_uri_matcher.rb +1 -1
  45. data/spec/support/shared_exampes_for_agents.rb +13 -2
  46. data/spec/support/test_files.rb +4 -4
  47. data/spec/worochi/agent/dropbox_spec.rb +29 -3
  48. data/spec/worochi/agent/github_spec.rb +54 -26
  49. data/spec/worochi/agent_spec.rb +34 -1
  50. data/spec/worochi/config_spec.rb +46 -30
  51. data/spec/worochi/helper/github_helper_spec.rb +94 -0
  52. data/spec/worochi/helper_spec.rb +15 -3
  53. data/spec/worochi/item_spec.rb +9 -6
  54. data/spec/worochi/log_spec.rb +30 -0
  55. data/spec/worochi/oauth_spec.rb +33 -0
  56. data/spec/worochi_spec.rb +25 -1
  57. data/worochi.gemspec +5 -1
  58. metadata +104 -11
  59. data/lib/worochi/helper/github.rb +0 -100
  60. data/spec/worochi/helper/github_spec.rb +0 -57
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Server:
24
24
  - GitHub.com
25
25
  Date:
26
- - Sat, 10 Aug 2013 00:15:13 GMT
26
+ - Thu, 15 Aug 2013 21:09:57 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Status:
@@ -31,9 +31,9 @@ http_interactions:
31
31
  X-Ratelimit-Limit:
32
32
  - '5000'
33
33
  X-Ratelimit-Remaining:
34
- - '4895'
34
+ - '4707'
35
35
  X-Ratelimit-Reset:
36
- - '1376096590'
36
+ - '1376602835'
37
37
  X-Oauth-Scopes:
38
38
  - user, public_repo, repo, gist
39
39
  X-Accepted-Oauth-Scopes:
@@ -55,7 +55,7 @@ http_interactions:
55
55
  encoding: UTF-8
56
56
  string: '{"message":"Validation Failed"}'
57
57
  http_version:
58
- recorded_at: Sat, 10 Aug 2013 00:15:13 GMT
58
+ recorded_at: Thu, 15 Aug 2013 21:09:57 GMT
59
59
  - request:
60
60
  method: get
61
61
  uri: https://api.github.com/repos/darkmirage/test/branches/master
@@ -79,7 +79,7 @@ http_interactions:
79
79
  Server:
80
80
  - GitHub.com
81
81
  Date:
82
- - Sat, 10 Aug 2013 00:15:13 GMT
82
+ - Thu, 15 Aug 2013 21:09:57 GMT
83
83
  Content-Type:
84
84
  - application/json; charset=utf-8
85
85
  Transfer-Encoding:
@@ -89,9 +89,9 @@ http_interactions:
89
89
  X-Ratelimit-Limit:
90
90
  - '5000'
91
91
  X-Ratelimit-Remaining:
92
- - '4894'
92
+ - '4706'
93
93
  X-Ratelimit-Reset:
94
- - '1376096590'
94
+ - '1376602835'
95
95
  X-Oauth-Scopes:
96
96
  - user, public_repo, repo, gist
97
97
  X-Accepted-Oauth-Scopes:
@@ -108,7 +108,7 @@ http_interactions:
108
108
  Access-Control-Allow-Origin:
109
109
  - '*'
110
110
  Etag:
111
- - '"9f1960e9f71a26ef10999b56127f5ff5"'
111
+ - '"1e9a35ec492ea865f92a1b38b774b076"'
112
112
  Cache-Control:
113
113
  - max-age=0, private, must-revalidate
114
114
  Vary:
@@ -118,9 +118,9 @@ http_interactions:
118
118
  string: '{"name":"master","commit":{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","commit":{"author":{"name":"Raven
119
119
  Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"committer":{"name":"Raven
120
120
  Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"message":"Added
121
- 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"}}'
121
+ 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://0.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://0.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"}}'
122
122
  http_version:
123
- recorded_at: Sat, 10 Aug 2013 00:15:13 GMT
123
+ recorded_at: Thu, 15 Aug 2013 21:09:57 GMT
124
124
  - request:
125
125
  method: post
126
126
  uri: https://api.github.com/repos/darkmirage/test/git/blobs
@@ -146,7 +146,7 @@ http_interactions:
146
146
  Server:
147
147
  - GitHub.com
148
148
  Date:
149
- - Sat, 10 Aug 2013 00:15:14 GMT
149
+ - Thu, 15 Aug 2013 21:09:58 GMT
150
150
  Content-Type:
151
151
  - application/json; charset=utf-8
152
152
  Status:
@@ -154,9 +154,9 @@ http_interactions:
154
154
  X-Ratelimit-Limit:
155
155
  - '5000'
156
156
  X-Ratelimit-Remaining:
157
- - '4893'
157
+ - '4705'
158
158
  X-Ratelimit-Reset:
159
- - '1376096590'
159
+ - '1376602835'
160
160
  X-Oauth-Scopes:
161
161
  - user, public_repo, repo, gist
162
162
  X-Accepted-Oauth-Scopes:
@@ -184,7 +184,7 @@ http_interactions:
184
184
  encoding: UTF-8
185
185
  string: '{"sha":"5df468c4497e072139462b88cb78e1df4357534b","url":"https://api.github.com/repos/darkmirage/test/git/blobs/5df468c4497e072139462b88cb78e1df4357534b"}'
186
186
  http_version:
187
- recorded_at: Sat, 10 Aug 2013 00:15:14 GMT
187
+ recorded_at: Thu, 15 Aug 2013 21:09:58 GMT
188
188
  - request:
189
189
  method: post
190
190
  uri: https://api.github.com/repos/darkmirage/test/git/trees
@@ -210,7 +210,7 @@ http_interactions:
210
210
  Server:
211
211
  - GitHub.com
212
212
  Date:
213
- - Sat, 10 Aug 2013 00:15:15 GMT
213
+ - Thu, 15 Aug 2013 21:09:59 GMT
214
214
  Content-Type:
215
215
  - application/json; charset=utf-8
216
216
  Status:
@@ -218,9 +218,9 @@ http_interactions:
218
218
  X-Ratelimit-Limit:
219
219
  - '5000'
220
220
  X-Ratelimit-Remaining:
221
- - '4892'
221
+ - '4704'
222
222
  X-Ratelimit-Reset:
223
- - '1376096590'
223
+ - '1376602835'
224
224
  X-Oauth-Scopes:
225
225
  - user, public_repo, repo, gist
226
226
  X-Accepted-Oauth-Scopes:
@@ -248,7 +248,7 @@ http_interactions:
248
248
  encoding: UTF-8
249
249
  string: '{"sha":"9143bc4d904cad09b8bfe5d5f29d2640234b783a","url":"https://api.github.com/repos/darkmirage/test/git/trees/9143bc4d904cad09b8bfe5d5f29d2640234b783a","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":"ec677e6fb544f1f197f8f02bcbaaededaac23bb8","path":"folder1","url":"https://api.github.com/repos/darkmirage/test/git/trees/ec677e6fb544f1f197f8f02bcbaaededaac23bb8"},{"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"}]}'
250
250
  http_version:
251
- recorded_at: Sat, 10 Aug 2013 00:15:15 GMT
251
+ recorded_at: Thu, 15 Aug 2013 21:09:59 GMT
252
252
  - request:
253
253
  method: get
254
254
  uri: https://api.github.com/repos/darkmirage/test/branches/rspec
@@ -272,7 +272,7 @@ http_interactions:
272
272
  Server:
273
273
  - GitHub.com
274
274
  Date:
275
- - Sat, 10 Aug 2013 00:15:15 GMT
275
+ - Thu, 15 Aug 2013 21:10:00 GMT
276
276
  Content-Type:
277
277
  - application/json; charset=utf-8
278
278
  Transfer-Encoding:
@@ -282,9 +282,9 @@ http_interactions:
282
282
  X-Ratelimit-Limit:
283
283
  - '5000'
284
284
  X-Ratelimit-Remaining:
285
- - '4891'
285
+ - '4703'
286
286
  X-Ratelimit-Reset:
287
- - '1376096590'
287
+ - '1376602835'
288
288
  X-Oauth-Scopes:
289
289
  - user, public_repo, repo, gist
290
290
  X-Accepted-Oauth-Scopes:
@@ -304,7 +304,7 @@ http_interactions:
304
304
  encoding: UTF-8
305
305
  string: '{"message":"Branch not found"}'
306
306
  http_version:
307
- recorded_at: Sat, 10 Aug 2013 00:15:15 GMT
307
+ recorded_at: Thu, 15 Aug 2013 21:10:00 GMT
308
308
  - request:
309
309
  method: get
310
310
  uri: https://api.github.com/repos/darkmirage/test/branches/master
@@ -328,7 +328,7 @@ http_interactions:
328
328
  Server:
329
329
  - GitHub.com
330
330
  Date:
331
- - Sat, 10 Aug 2013 00:15:16 GMT
331
+ - Thu, 15 Aug 2013 21:10:00 GMT
332
332
  Content-Type:
333
333
  - application/json; charset=utf-8
334
334
  Transfer-Encoding:
@@ -338,9 +338,9 @@ http_interactions:
338
338
  X-Ratelimit-Limit:
339
339
  - '5000'
340
340
  X-Ratelimit-Remaining:
341
- - '4890'
341
+ - '4702'
342
342
  X-Ratelimit-Reset:
343
- - '1376096590'
343
+ - '1376602835'
344
344
  X-Oauth-Scopes:
345
345
  - user, public_repo, repo, gist
346
346
  X-Accepted-Oauth-Scopes:
@@ -357,7 +357,7 @@ http_interactions:
357
357
  Access-Control-Allow-Origin:
358
358
  - '*'
359
359
  Etag:
360
- - '"9f1960e9f71a26ef10999b56127f5ff5"'
360
+ - '"1e9a35ec492ea865f92a1b38b774b076"'
361
361
  Cache-Control:
362
362
  - max-age=0, private, must-revalidate
363
363
  Vary:
@@ -367,9 +367,9 @@ http_interactions:
367
367
  string: '{"name":"master","commit":{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","commit":{"author":{"name":"Raven
368
368
  Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"committer":{"name":"Raven
369
369
  Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"message":"Added
370
- 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"}}'
370
+ 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://0.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://0.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"}}'
371
371
  http_version:
372
- recorded_at: Sat, 10 Aug 2013 00:15:16 GMT
372
+ recorded_at: Thu, 15 Aug 2013 21:10:00 GMT
373
373
  - request:
374
374
  method: post
375
375
  uri: https://api.github.com/repos/darkmirage/test/git/refs
@@ -395,7 +395,7 @@ http_interactions:
395
395
  Server:
396
396
  - GitHub.com
397
397
  Date:
398
- - Sat, 10 Aug 2013 00:15:16 GMT
398
+ - Thu, 15 Aug 2013 21:10:01 GMT
399
399
  Content-Type:
400
400
  - application/json; charset=utf-8
401
401
  Status:
@@ -403,9 +403,9 @@ http_interactions:
403
403
  X-Ratelimit-Limit:
404
404
  - '5000'
405
405
  X-Ratelimit-Remaining:
406
- - '4889'
406
+ - '4701'
407
407
  X-Ratelimit-Reset:
408
- - '1376096590'
408
+ - '1376602835'
409
409
  X-Oauth-Scopes:
410
410
  - user, public_repo, repo, gist
411
411
  X-Accepted-Oauth-Scopes:
@@ -433,7 +433,7 @@ http_interactions:
433
433
  encoding: UTF-8
434
434
  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"}}'
435
435
  http_version:
436
- recorded_at: Sat, 10 Aug 2013 00:15:16 GMT
436
+ recorded_at: Thu, 15 Aug 2013 21:10:01 GMT
437
437
  - request:
438
438
  method: post
439
439
  uri: https://api.github.com/repos/darkmirage/test/git/commits
@@ -459,7 +459,7 @@ http_interactions:
459
459
  Server:
460
460
  - GitHub.com
461
461
  Date:
462
- - Sat, 10 Aug 2013 00:15:17 GMT
462
+ - Thu, 15 Aug 2013 21:10:02 GMT
463
463
  Content-Type:
464
464
  - application/json; charset=utf-8
465
465
  Status:
@@ -467,15 +467,15 @@ http_interactions:
467
467
  X-Ratelimit-Limit:
468
468
  - '5000'
469
469
  X-Ratelimit-Remaining:
470
- - '4888'
470
+ - '4700'
471
471
  X-Ratelimit-Reset:
472
- - '1376096590'
472
+ - '1376602835'
473
473
  X-Oauth-Scopes:
474
474
  - user, public_repo, repo, gist
475
475
  X-Accepted-Oauth-Scopes:
476
476
  - repo, public_repo, repo:status, delete_repo, site_admin
477
477
  Location:
478
- - https://api.github.com/repos/darkmirage/test/git/commits/43fc2494134f208608d0f5953b5a384512849f24
478
+ - https://api.github.com/repos/darkmirage/test/git/commits/84314d0f326e3ceb49c93d2cebb6dae8652d7b47
479
479
  X-Github-Media-Type:
480
480
  - github.beta; format=json
481
481
  X-Content-Type-Options:
@@ -490,23 +490,23 @@ http_interactions:
490
490
  Access-Control-Allow-Origin:
491
491
  - '*'
492
492
  Etag:
493
- - '"51258d87c028d3d078451f5f3da555db"'
493
+ - '"81623116f78bf3f298c27a39803eb8e6"'
494
494
  Cache-Control:
495
495
  - max-age=0, private, must-revalidate
496
496
  body:
497
497
  encoding: UTF-8
498
- string: '{"sha":"43fc2494134f208608d0f5953b5a384512849f24","url":"https://api.github.com/repos/darkmirage/test/git/commits/43fc2494134f208608d0f5953b5a384512849f24","html_url":"https://github.com/darkmirage/test/commits/43fc2494134f208608d0f5953b5a384512849f24","author":{"name":"Raven
499
- Jiang","email":"raven@cs.stanford.edu","date":"2013-08-10T00:15:17Z"},"committer":{"name":"Raven
500
- Jiang","email":"raven@cs.stanford.edu","date":"2013-08-10T00:15:17Z"},"tree":{"sha":"9143bc4d904cad09b8bfe5d5f29d2640234b783a","url":"https://api.github.com/repos/darkmirage/test/git/trees/9143bc4d904cad09b8bfe5d5f29d2640234b783a"},"message":"RSpec
498
+ string: '{"sha":"84314d0f326e3ceb49c93d2cebb6dae8652d7b47","url":"https://api.github.com/repos/darkmirage/test/git/commits/84314d0f326e3ceb49c93d2cebb6dae8652d7b47","html_url":"https://github.com/darkmirage/test/commits/84314d0f326e3ceb49c93d2cebb6dae8652d7b47","author":{"name":"Raven
499
+ Jiang","email":"raven@cs.stanford.edu","date":"2013-08-15T21:10:02Z"},"committer":{"name":"Raven
500
+ Jiang","email":"raven@cs.stanford.edu","date":"2013-08-15T21:10:02Z"},"tree":{"sha":"9143bc4d904cad09b8bfe5d5f29d2640234b783a","url":"https://api.github.com/repos/darkmirage/test/git/trees/9143bc4d904cad09b8bfe5d5f29d2640234b783a"},"message":"RSpec
501
501
  Test","parents":[{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","url":"https://api.github.com/repos/darkmirage/test/git/commits/cdddc3941866854cdb41c023d0f5240ed10df053","html_url":"https://github.com/darkmirage/test/commits/cdddc3941866854cdb41c023d0f5240ed10df053"}]}'
502
502
  http_version:
503
- recorded_at: Sat, 10 Aug 2013 00:15:17 GMT
503
+ recorded_at: Thu, 15 Aug 2013 21:10:02 GMT
504
504
  - request:
505
505
  method: patch
506
506
  uri: https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec
507
507
  body:
508
508
  encoding: UTF-8
509
- string: '{"sha":"43fc2494134f208608d0f5953b5a384512849f24","force":true}'
509
+ string: '{"sha":"84314d0f326e3ceb49c93d2cebb6dae8652d7b47","force":true}'
510
510
  headers:
511
511
  User-Agent:
512
512
  - Octokit Ruby Gem 1.25.0
@@ -526,7 +526,7 @@ http_interactions:
526
526
  Server:
527
527
  - GitHub.com
528
528
  Date:
529
- - Sat, 10 Aug 2013 00:15:18 GMT
529
+ - Thu, 15 Aug 2013 21:10:02 GMT
530
530
  Content-Type:
531
531
  - application/json; charset=utf-8
532
532
  Transfer-Encoding:
@@ -536,9 +536,9 @@ http_interactions:
536
536
  X-Ratelimit-Limit:
537
537
  - '5000'
538
538
  X-Ratelimit-Remaining:
539
- - '4887'
539
+ - '4699'
540
540
  X-Ratelimit-Reset:
541
- - '1376096590'
541
+ - '1376602835'
542
542
  X-Oauth-Scopes:
543
543
  - user, public_repo, repo, gist
544
544
  X-Accepted-Oauth-Scopes:
@@ -555,19 +555,19 @@ http_interactions:
555
555
  Access-Control-Allow-Origin:
556
556
  - '*'
557
557
  Etag:
558
- - '"159f360948ede6cd7a773cf41078cc64"'
558
+ - '"84358237cdb4042d5a683b3ecc63905f"'
559
559
  Cache-Control:
560
560
  - max-age=0, private, must-revalidate
561
561
  Vary:
562
562
  - Accept-Encoding
563
563
  body:
564
564
  encoding: UTF-8
565
- string: '{"ref":"refs/heads/rspec","url":"https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec","object":{"sha":"43fc2494134f208608d0f5953b5a384512849f24","type":"commit","url":"https://api.github.com/repos/darkmirage/test/git/commits/43fc2494134f208608d0f5953b5a384512849f24"}}'
565
+ string: '{"ref":"refs/heads/rspec","url":"https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec","object":{"sha":"84314d0f326e3ceb49c93d2cebb6dae8652d7b47","type":"commit","url":"https://api.github.com/repos/darkmirage/test/git/commits/84314d0f326e3ceb49c93d2cebb6dae8652d7b47"}}'
566
566
  http_version:
567
- recorded_at: Sat, 10 Aug 2013 00:15:18 GMT
567
+ recorded_at: Thu, 15 Aug 2013 21:10:02 GMT
568
568
  - request:
569
569
  method: get
570
- uri: https://api.github.com/repos/darkmirage/test/git/trees/43fc2494134f208608d0f5953b5a384512849f24?recursive=true
570
+ uri: https://api.github.com/repos/darkmirage/test/git/trees/84314d0f326e3ceb49c93d2cebb6dae8652d7b47?recursive=true
571
571
  body:
572
572
  encoding: US-ASCII
573
573
  string: ''
@@ -588,7 +588,7 @@ http_interactions:
588
588
  Server:
589
589
  - GitHub.com
590
590
  Date:
591
- - Sat, 10 Aug 2013 00:15:19 GMT
591
+ - Thu, 15 Aug 2013 21:10:03 GMT
592
592
  Content-Type:
593
593
  - application/json; charset=utf-8
594
594
  Transfer-Encoding:
@@ -598,15 +598,15 @@ http_interactions:
598
598
  X-Ratelimit-Limit:
599
599
  - '5000'
600
600
  X-Ratelimit-Remaining:
601
- - '4886'
601
+ - '4698'
602
602
  X-Ratelimit-Reset:
603
- - '1376096590'
603
+ - '1376602835'
604
604
  Cache-Control:
605
605
  - private, max-age=60, s-maxage=60
606
606
  Last-Modified:
607
- - Sat, 10 Aug 2013 00:15:18 GMT
607
+ - Thu, 15 Aug 2013 21:10:03 GMT
608
608
  Etag:
609
- - '"d569991ada4c7ec35db0651c7c21d8c0"'
609
+ - '"355bba68e801df53fdc5f10393ab3384"'
610
610
  X-Oauth-Scopes:
611
611
  - user, public_repo, repo, gist
612
612
  X-Accepted-Oauth-Scopes:
@@ -627,9 +627,9 @@ http_interactions:
627
627
  - '*'
628
628
  body:
629
629
  encoding: UTF-8
630
- string: '{"sha":"43fc2494134f208608d0f5953b5a384512849f24","url":"https://api.github.com/repos/darkmirage/test/git/trees/43fc2494134f208608d0f5953b5a384512849f24","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":"ec677e6fb544f1f197f8f02bcbaaededaac23bb8","path":"folder1","url":"https://api.github.com/repos/darkmirage/test/git/trees/ec677e6fb544f1f197f8f02bcbaaededaac23bb8"},{"mode":"100644","type":"blob","sha":"b69c5ab7d022a2fc12f5a3395e337e4c227845c8","path":"folder1/test.txt","size":6,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/b69c5ab7d022a2fc12f5a3395e337e4c227845c8"},{"mode":"040000","type":"tree","sha":"d6c5d03064924906afd8288388dd9102380c6fe4","path":"folder2","url":"https://api.github.com/repos/darkmirage/test/git/trees/d6c5d03064924906afd8288388dd9102380c6fe4"},{"mode":"100644","type":"blob","sha":"0d6c64027338c994e23ee2a254eb30229c2b474a","path":"folder2/lolcatsdotcomlikemyself.jpg","size":46054,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/0d6c64027338c994e23ee2a254eb30229c2b474a"},{"mode":"040000","type":"tree","sha":"54051fb94eb639fb429e656b4c888bc3aba44742","path":"folder2/subfolder","url":"https://api.github.com/repos/darkmirage/test/git/trees/54051fb94eb639fb429e656b4c888bc3aba44742"},{"mode":"040000","type":"tree","sha":"14c178a91bd3eda9ac179b373c8ee35e8f3c53ad","path":"folder2/subfolder/test","url":"https://api.github.com/repos/darkmirage/test/git/trees/14c178a91bd3eda9ac179b373c8ee35e8f3c53ad"},{"mode":"100644","type":"blob","sha":"c50b9ab72268ccbaf75a53676696940cccb66b89","path":"folder2/subfolder/test/abc.txt","size":32,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/c50b9ab72268ccbaf75a53676696940cccb66b89"},{"mode":"100644","type":"blob","sha":"5df468c4497e072139462b88cb78e1df4357534b","path":"folder2/test_file","size":60,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/5df468c4497e072139462b88cb78e1df4357534b"},{"mode":"040000","type":"tree","sha":"d750655104da52a0f691c399528a29cf5fa594c2","path":"folder3","url":"https://api.github.com/repos/darkmirage/test/git/trees/d750655104da52a0f691c399528a29cf5fa594c2"},{"mode":"100644","type":"blob","sha":"131bbc4355114ce79bd3456abb10114bcc4b0ef8","path":"folder3/1000Hz-5sec.mp3","size":30440,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/131bbc4355114ce79bd3456abb10114bcc4b0ef8"},{"mode":"100644","type":"blob","sha":"3904c0889abcfc104bed5970c6a53d81773ac515","path":"folder3/440Hz-5sec.mp3","size":30439,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/3904c0889abcfc104bed5970c6a53d81773ac515"},{"mode":"100644","type":"blob","sha":"c45c70657ec69cd6482a4b189772d8b3aa8857be","path":"folder3/mp3tones.zip","size":32711,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/c45c70657ec69cd6482a4b189772d8b3aa8857be"}]}'
630
+ string: '{"sha":"84314d0f326e3ceb49c93d2cebb6dae8652d7b47","url":"https://api.github.com/repos/darkmirage/test/git/trees/84314d0f326e3ceb49c93d2cebb6dae8652d7b47","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":"ec677e6fb544f1f197f8f02bcbaaededaac23bb8","path":"folder1","url":"https://api.github.com/repos/darkmirage/test/git/trees/ec677e6fb544f1f197f8f02bcbaaededaac23bb8"},{"mode":"100644","type":"blob","sha":"b69c5ab7d022a2fc12f5a3395e337e4c227845c8","path":"folder1/test.txt","size":6,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/b69c5ab7d022a2fc12f5a3395e337e4c227845c8"},{"mode":"040000","type":"tree","sha":"d6c5d03064924906afd8288388dd9102380c6fe4","path":"folder2","url":"https://api.github.com/repos/darkmirage/test/git/trees/d6c5d03064924906afd8288388dd9102380c6fe4"},{"mode":"100644","type":"blob","sha":"0d6c64027338c994e23ee2a254eb30229c2b474a","path":"folder2/lolcatsdotcomlikemyself.jpg","size":46054,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/0d6c64027338c994e23ee2a254eb30229c2b474a"},{"mode":"040000","type":"tree","sha":"54051fb94eb639fb429e656b4c888bc3aba44742","path":"folder2/subfolder","url":"https://api.github.com/repos/darkmirage/test/git/trees/54051fb94eb639fb429e656b4c888bc3aba44742"},{"mode":"040000","type":"tree","sha":"14c178a91bd3eda9ac179b373c8ee35e8f3c53ad","path":"folder2/subfolder/test","url":"https://api.github.com/repos/darkmirage/test/git/trees/14c178a91bd3eda9ac179b373c8ee35e8f3c53ad"},{"mode":"100644","type":"blob","sha":"c50b9ab72268ccbaf75a53676696940cccb66b89","path":"folder2/subfolder/test/abc.txt","size":32,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/c50b9ab72268ccbaf75a53676696940cccb66b89"},{"mode":"100644","type":"blob","sha":"5df468c4497e072139462b88cb78e1df4357534b","path":"folder2/test_file","size":60,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/5df468c4497e072139462b88cb78e1df4357534b"},{"mode":"040000","type":"tree","sha":"d750655104da52a0f691c399528a29cf5fa594c2","path":"folder3","url":"https://api.github.com/repos/darkmirage/test/git/trees/d750655104da52a0f691c399528a29cf5fa594c2"},{"mode":"100644","type":"blob","sha":"131bbc4355114ce79bd3456abb10114bcc4b0ef8","path":"folder3/1000Hz-5sec.mp3","size":30440,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/131bbc4355114ce79bd3456abb10114bcc4b0ef8"},{"mode":"100644","type":"blob","sha":"3904c0889abcfc104bed5970c6a53d81773ac515","path":"folder3/440Hz-5sec.mp3","size":30439,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/3904c0889abcfc104bed5970c6a53d81773ac515"},{"mode":"100644","type":"blob","sha":"c45c70657ec69cd6482a4b189772d8b3aa8857be","path":"folder3/mp3tones.zip","size":32711,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/c45c70657ec69cd6482a4b189772d8b3aa8857be"}]}'
631
631
  http_version:
632
- recorded_at: Sat, 10 Aug 2013 00:15:19 GMT
632
+ recorded_at: Thu, 15 Aug 2013 21:10:03 GMT
633
633
  - request:
634
634
  method: delete
635
635
  uri: https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec
@@ -653,15 +653,15 @@ http_interactions:
653
653
  Server:
654
654
  - GitHub.com
655
655
  Date:
656
- - Sat, 10 Aug 2013 00:15:19 GMT
656
+ - Thu, 15 Aug 2013 21:10:03 GMT
657
657
  Status:
658
658
  - 204 No Content
659
659
  X-Ratelimit-Limit:
660
660
  - '5000'
661
661
  X-Ratelimit-Remaining:
662
- - '4885'
662
+ - '4697'
663
663
  X-Ratelimit-Reset:
664
- - '1376096590'
664
+ - '1376602835'
665
665
  X-Oauth-Scopes:
666
666
  - user, public_repo, repo, gist
667
667
  X-Accepted-Oauth-Scopes:
@@ -683,5 +683,5 @@ http_interactions:
683
683
  encoding: UTF-8
684
684
  string: ''
685
685
  http_version:
686
- recorded_at: Sat, 10 Aug 2013 00:15:19 GMT
686
+ recorded_at: Thu, 15 Aug 2013 21:10:03 GMT
687
687
  recorded_with: VCR 2.5.0
@@ -0,0 +1,181 @@
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
+ - Thu, 15 Aug 2013 21:31:26 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
+ - '4669'
35
+ X-Ratelimit-Reset:
36
+ - '1376602835'
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: Thu, 15 Aug 2013 21:31:26 GMT
59
+ - request:
60
+ method: post
61
+ uri: https://api.github.com/repos/darkmirage/test/git/blobs
62
+ body:
63
+ encoding: UTF-8
64
+ string: '{"content":"VGhpcyBpcyBhIGZpbGUgdXNlZCBmb3IgUlNwZWMgdGVzdHMgaW52b2x2aW5nIFdvcm9jaGk6Okl0ZW0u","encoding":"base64"}'
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
+ Content-Length:
73
+ - '114'
74
+ Content-Type:
75
+ - application/x-www-form-urlencoded
76
+ Authorization:
77
+ - token <GITHUB_TOKEN>
78
+ response:
79
+ status:
80
+ code: 201
81
+ message: Created
82
+ headers:
83
+ Server:
84
+ - GitHub.com
85
+ Date:
86
+ - Thu, 15 Aug 2013 21:31:27 GMT
87
+ Content-Type:
88
+ - application/json; charset=utf-8
89
+ Status:
90
+ - 201 Created
91
+ X-Ratelimit-Limit:
92
+ - '5000'
93
+ X-Ratelimit-Remaining:
94
+ - '4668'
95
+ X-Ratelimit-Reset:
96
+ - '1376602835'
97
+ X-Oauth-Scopes:
98
+ - user, public_repo, repo, gist
99
+ X-Accepted-Oauth-Scopes:
100
+ - repo, public_repo, repo:status, delete_repo, site_admin
101
+ Location:
102
+ - https://api.github.com/repos/darkmirage/test/git/blobs/5df468c4497e072139462b88cb78e1df4357534b
103
+ X-Github-Media-Type:
104
+ - github.beta
105
+ X-Content-Type-Options:
106
+ - nosniff
107
+ Content-Length:
108
+ - '154'
109
+ Access-Control-Allow-Credentials:
110
+ - 'true'
111
+ Access-Control-Expose-Headers:
112
+ - ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
113
+ X-Accepted-OAuth-Scopes
114
+ Access-Control-Allow-Origin:
115
+ - '*'
116
+ Etag:
117
+ - '"0e380113ab3ae5bd4b7290693137935d"'
118
+ Cache-Control:
119
+ - max-age=0, private, must-revalidate
120
+ body:
121
+ encoding: UTF-8
122
+ string: '{"sha":"5df468c4497e072139462b88cb78e1df4357534b","url":"https://api.github.com/repos/darkmirage/test/git/blobs/5df468c4497e072139462b88cb78e1df4357534b"}'
123
+ http_version:
124
+ recorded_at: Thu, 15 Aug 2013 21:31:27 GMT
125
+ - request:
126
+ method: delete
127
+ uri: https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec
128
+ body:
129
+ encoding: US-ASCII
130
+ string: ''
131
+ headers:
132
+ User-Agent:
133
+ - Octokit Ruby Gem 1.25.0
134
+ Accept:
135
+ - application/vnd.github.beta+json
136
+ Authorization:
137
+ - token <GITHUB_TOKEN>
138
+ Accept-Encoding:
139
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
140
+ response:
141
+ status:
142
+ code: 422
143
+ message: Unprocessable Entity
144
+ headers:
145
+ Server:
146
+ - GitHub.com
147
+ Date:
148
+ - Thu, 15 Aug 2013 21:31:28 GMT
149
+ Content-Type:
150
+ - application/json; charset=utf-8
151
+ Status:
152
+ - 422 Unprocessable Entity
153
+ X-Ratelimit-Limit:
154
+ - '5000'
155
+ X-Ratelimit-Remaining:
156
+ - '4667'
157
+ X-Ratelimit-Reset:
158
+ - '1376602835'
159
+ X-Oauth-Scopes:
160
+ - user, public_repo, repo, gist
161
+ X-Accepted-Oauth-Scopes:
162
+ - repo, public_repo, repo:status, delete_repo, site_admin
163
+ X-Github-Media-Type:
164
+ - github.beta; format=json
165
+ X-Content-Type-Options:
166
+ - nosniff
167
+ Content-Length:
168
+ - '31'
169
+ Access-Control-Allow-Credentials:
170
+ - 'true'
171
+ Access-Control-Expose-Headers:
172
+ - ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
173
+ X-Accepted-OAuth-Scopes
174
+ Access-Control-Allow-Origin:
175
+ - '*'
176
+ body:
177
+ encoding: UTF-8
178
+ string: '{"message":"Validation Failed"}'
179
+ http_version:
180
+ recorded_at: Thu, 15 Aug 2013 21:31:28 GMT
181
+ recorded_with: VCR 2.5.0