worochi 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +28 -0
- data/circle.yml +19 -0
- data/lib/worochi/version.rb +1 -1
- data/spec/spec_helper.rb +22 -10
- data/spec/worochi/agent/dropbox_spec.rb +3 -4
- data/spec/worochi/agent/github_spec.rb +6 -5
- data/spec/worochi/agent/google_drive_spec.rb +1 -1
- data/worochi.gemspec +6 -3
- metadata +8 -154
- data/spec/cassettes/Worochi/_push/pushes_with_agents.yml +0 -512
- data/spec/cassettes/Worochi_Agent_Dropbox/_list/works_with_absolute_paths.yml +0 -60
- data/spec/cassettes/Worochi_Agent_Dropbox/_push_item/pushes_a_single_item.yml +0 -303
- data/spec/cassettes/Worochi_Agent_Dropbox/_push_item/pushes_it_chunked_if_size_exceeds_limit.yml +0 -1049
- data/spec/cassettes/Worochi_Agent_Dropbox/_push_item_chunked/pushes_a_single_item_in_chunks.yml +0 -349
- data/spec/cassettes/Worochi_Agent_Dropbox/_push_item_chunked/raises_an_error.yml +0 -44
- data/spec/cassettes/Worochi_Agent_Dropbox/_push_items/pushes_multiple_items.yml +0 -165
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml +0 -60
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/contains_file1.yml +0 -79
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/does_not_contain_folder1.yml +0 -79
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml +0 -38
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/contains_folder1_and_file1.yml +0 -155
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing.yml +0 -79
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml +0 -79
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml +0 -60
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml +0 -79
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/does_not_contain_file1.yml +0 -79
- data/spec/cassettes/Worochi_Agent_Github/_list/works_with_absolute_paths.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/_repos/lists_the_repos.yml +0 -207
- data/spec/cassettes/Worochi_Agent_Github/_source_branch/retrieves_the_master_branch_correctly.yml +0 -68
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/contains_file1.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/does_not_contain_folder1.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files_and_folders/contains_folder1_and_file1.yml +0 -263
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/does_not_contain_file1.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_all/pushes_a_list_of_items_to_create_a_new_commit.yml +0 -989
- data/spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_all/pushes_the_file_to_the_right_place.yml +0 -687
- data/spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_blob/pushes_the_blob_even_when_it_is_larger_than_block_size.yml +0 -181
- data/spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_item/pushes_a_single_item_and_makes_a_commit.yml +0 -687
- data/spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_stream_blob/streams_the_file_as_an_Base64_JSON_field.yml +0 -181
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_delete/deletes_a_file.yml +0 -4248
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_delete/raises_error_on_bad_token.yml +0 -7889
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_get_item_id/retrieves_the_item_ID.yml +0 -4148
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_get_item_id/returns_the_root_ID.yml +0 -3889
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_insert_file/creates_a_new_folder_to_root.yml +0 -4753
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_insert_file/uploads_a_file.yml +0 -4492
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_push_item/creates_new_directories_as_needed.yml +0 -5961
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_push_item/pushes_a_single_item.yml +0 -3887
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_push_item/raises_error_on_bad_token.yml +0 -7833
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_default_options/has_the_required_options.yml +0 -3889
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml +0 -4294
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/contains_file1.yml +0 -4236
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/does_not_contain_folder1.yml +0 -4236
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml +0 -4236
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files_and_folders/contains_folder1_and_file1.yml +0 -4583
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml +0 -4236
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml +0 -4294
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml +0 -4236
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_folders/does_not_contain_file1.yml +0 -4236
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_init_client/returns_the_client.yml +0 -7775
- data/spec/cassettes/Worochi_Item/_content_type/detects_the_MIME_type.yml +0 -105
- data/spec/cassettes/Worochi_Item/_content_type/falls_back_to_file_name_when_ruby-filemagic_is_not_loaded.yml +0 -105
- data/spec/cassettes/Worochi_Item/_open/opens_a_single_file/with_Hash_parameter.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open/opens_a_single_file/with_String_parameter.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open/opens_multiple_files/with_Hash_parameters.yml +0 -211
- data/spec/cassettes/Worochi_Item/_open/opens_multiple_files/with_String_parameters.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open/with_a_single_file/accepts_Hash_parameter.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open/with_a_single_file/accepts_String_parameter.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open/with_multiple_files/accepts_Hash_parameters.yml +0 -211
- data/spec/cassettes/Worochi_Item/_open/with_multiple_files/accepts_String_parameters.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open_single/accepts_a_String.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open_single/works_with_AWS_S3_paths.yml +0 -46
- data/spec/cassettes/Worochi_OAuth/_flow_end/rejects_bad_code.yml +0 -56
- data/spec/cassettes/Worochi_OAuth/_refresh/tries_to_refresh_the_access_token.yml +0 -56
@@ -1,133 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.github.com/repos/darkmirage/test/branches/master
|
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: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Server:
|
24
|
-
- GitHub.com
|
25
|
-
Date:
|
26
|
-
- Thu, 15 Aug 2013 21:07:15 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Status:
|
32
|
-
- 200 OK
|
33
|
-
X-Ratelimit-Limit:
|
34
|
-
- '5000'
|
35
|
-
X-Ratelimit-Remaining:
|
36
|
-
- '4802'
|
37
|
-
X-Ratelimit-Reset:
|
38
|
-
- '1376602835'
|
39
|
-
X-Oauth-Scopes:
|
40
|
-
- user, public_repo, repo, gist
|
41
|
-
X-Accepted-Oauth-Scopes:
|
42
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
43
|
-
X-Github-Media-Type:
|
44
|
-
- github.beta; format=json
|
45
|
-
X-Content-Type-Options:
|
46
|
-
- nosniff
|
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
|
-
Etag:
|
55
|
-
- '"1e9a35ec492ea865f92a1b38b774b076"'
|
56
|
-
Cache-Control:
|
57
|
-
- max-age=0, private, must-revalidate
|
58
|
-
Vary:
|
59
|
-
- Accept-Encoding
|
60
|
-
body:
|
61
|
-
encoding: UTF-8
|
62
|
-
string: '{"name":"master","commit":{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","commit":{"author":{"name":"Raven
|
63
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"committer":{"name":"Raven
|
64
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"message":"Added
|
65
|
-
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"}}'
|
66
|
-
http_version:
|
67
|
-
recorded_at: Thu, 15 Aug 2013 21:07:14 GMT
|
68
|
-
- request:
|
69
|
-
method: get
|
70
|
-
uri: https://api.github.com/repos/darkmirage/test/git/trees/cdddc3941866854cdb41c023d0f5240ed10df053?recursive=true
|
71
|
-
body:
|
72
|
-
encoding: US-ASCII
|
73
|
-
string: ''
|
74
|
-
headers:
|
75
|
-
User-Agent:
|
76
|
-
- Octokit Ruby Gem 1.25.0
|
77
|
-
Accept:
|
78
|
-
- application/vnd.github.beta+json
|
79
|
-
Authorization:
|
80
|
-
- token <GITHUB_TOKEN>
|
81
|
-
Accept-Encoding:
|
82
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
83
|
-
response:
|
84
|
-
status:
|
85
|
-
code: 200
|
86
|
-
message: OK
|
87
|
-
headers:
|
88
|
-
Server:
|
89
|
-
- GitHub.com
|
90
|
-
Date:
|
91
|
-
- Thu, 15 Aug 2013 21:07:15 GMT
|
92
|
-
Content-Type:
|
93
|
-
- application/json; charset=utf-8
|
94
|
-
Transfer-Encoding:
|
95
|
-
- chunked
|
96
|
-
Status:
|
97
|
-
- 200 OK
|
98
|
-
X-Ratelimit-Limit:
|
99
|
-
- '5000'
|
100
|
-
X-Ratelimit-Remaining:
|
101
|
-
- '4801'
|
102
|
-
X-Ratelimit-Reset:
|
103
|
-
- '1376602835'
|
104
|
-
Cache-Control:
|
105
|
-
- private, max-age=60, s-maxage=60
|
106
|
-
Last-Modified:
|
107
|
-
- Thu, 15 Aug 2013 21:05:51 GMT
|
108
|
-
Etag:
|
109
|
-
- '"cf1c23a5a06824c37c225e090e4587d7"'
|
110
|
-
X-Oauth-Scopes:
|
111
|
-
- user, public_repo, repo, gist
|
112
|
-
X-Accepted-Oauth-Scopes:
|
113
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
114
|
-
Vary:
|
115
|
-
- Accept, Authorization, Cookie
|
116
|
-
- Accept-Encoding
|
117
|
-
X-Github-Media-Type:
|
118
|
-
- github.beta; format=json
|
119
|
-
X-Content-Type-Options:
|
120
|
-
- nosniff
|
121
|
-
Access-Control-Allow-Credentials:
|
122
|
-
- 'true'
|
123
|
-
Access-Control-Expose-Headers:
|
124
|
-
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
125
|
-
X-Accepted-OAuth-Scopes
|
126
|
-
Access-Control-Allow-Origin:
|
127
|
-
- '*'
|
128
|
-
body:
|
129
|
-
encoding: UTF-8
|
130
|
-
string: '{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","url":"https://api.github.com/repos/darkmirage/test/git/trees/cdddc3941866854cdb41c023d0f5240ed10df053","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":"26a9ff72316b4b9af6481e28d3bb508c555d31a1","path":"folder2","url":"https://api.github.com/repos/darkmirage/test/git/trees/26a9ff72316b4b9af6481e28d3bb508c555d31a1"},{"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":"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"}]}'
|
131
|
-
http_version:
|
132
|
-
recorded_at: Thu, 15 Aug 2013 21:07:15 GMT
|
133
|
-
recorded_with: VCR 2.5.0
|
@@ -1,263 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.github.com/repos/darkmirage/test/branches/master
|
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: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Server:
|
24
|
-
- GitHub.com
|
25
|
-
Date:
|
26
|
-
- Thu, 15 Aug 2013 21:07:19 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Status:
|
32
|
-
- 200 OK
|
33
|
-
X-Ratelimit-Limit:
|
34
|
-
- '5000'
|
35
|
-
X-Ratelimit-Remaining:
|
36
|
-
- '4794'
|
37
|
-
X-Ratelimit-Reset:
|
38
|
-
- '1376602835'
|
39
|
-
X-Oauth-Scopes:
|
40
|
-
- user, public_repo, repo, gist
|
41
|
-
X-Accepted-Oauth-Scopes:
|
42
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
43
|
-
X-Github-Media-Type:
|
44
|
-
- github.beta; format=json
|
45
|
-
X-Content-Type-Options:
|
46
|
-
- nosniff
|
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
|
-
Etag:
|
55
|
-
- '"1e9a35ec492ea865f92a1b38b774b076"'
|
56
|
-
Cache-Control:
|
57
|
-
- max-age=0, private, must-revalidate
|
58
|
-
Vary:
|
59
|
-
- Accept-Encoding
|
60
|
-
body:
|
61
|
-
encoding: UTF-8
|
62
|
-
string: '{"name":"master","commit":{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","commit":{"author":{"name":"Raven
|
63
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"committer":{"name":"Raven
|
64
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"message":"Added
|
65
|
-
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"}}'
|
66
|
-
http_version:
|
67
|
-
recorded_at: Thu, 15 Aug 2013 21:07:19 GMT
|
68
|
-
- request:
|
69
|
-
method: get
|
70
|
-
uri: https://api.github.com/repos/darkmirage/test/git/trees/cdddc3941866854cdb41c023d0f5240ed10df053?recursive=true
|
71
|
-
body:
|
72
|
-
encoding: US-ASCII
|
73
|
-
string: ''
|
74
|
-
headers:
|
75
|
-
User-Agent:
|
76
|
-
- Octokit Ruby Gem 1.25.0
|
77
|
-
Accept:
|
78
|
-
- application/vnd.github.beta+json
|
79
|
-
Authorization:
|
80
|
-
- token <GITHUB_TOKEN>
|
81
|
-
Accept-Encoding:
|
82
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
83
|
-
response:
|
84
|
-
status:
|
85
|
-
code: 200
|
86
|
-
message: OK
|
87
|
-
headers:
|
88
|
-
Server:
|
89
|
-
- GitHub.com
|
90
|
-
Date:
|
91
|
-
- Thu, 15 Aug 2013 21:07:20 GMT
|
92
|
-
Content-Type:
|
93
|
-
- application/json; charset=utf-8
|
94
|
-
Transfer-Encoding:
|
95
|
-
- chunked
|
96
|
-
Status:
|
97
|
-
- 200 OK
|
98
|
-
X-Ratelimit-Limit:
|
99
|
-
- '5000'
|
100
|
-
X-Ratelimit-Remaining:
|
101
|
-
- '4793'
|
102
|
-
X-Ratelimit-Reset:
|
103
|
-
- '1376602835'
|
104
|
-
Cache-Control:
|
105
|
-
- private, max-age=60, s-maxage=60
|
106
|
-
Last-Modified:
|
107
|
-
- Thu, 15 Aug 2013 21:05:51 GMT
|
108
|
-
Etag:
|
109
|
-
- '"cf1c23a5a06824c37c225e090e4587d7"'
|
110
|
-
X-Oauth-Scopes:
|
111
|
-
- user, public_repo, repo, gist
|
112
|
-
X-Accepted-Oauth-Scopes:
|
113
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
114
|
-
Vary:
|
115
|
-
- Accept, Authorization, Cookie
|
116
|
-
- Accept-Encoding
|
117
|
-
X-Github-Media-Type:
|
118
|
-
- github.beta; format=json
|
119
|
-
X-Content-Type-Options:
|
120
|
-
- nosniff
|
121
|
-
Access-Control-Allow-Credentials:
|
122
|
-
- 'true'
|
123
|
-
Access-Control-Expose-Headers:
|
124
|
-
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
125
|
-
X-Accepted-OAuth-Scopes
|
126
|
-
Access-Control-Allow-Origin:
|
127
|
-
- '*'
|
128
|
-
body:
|
129
|
-
encoding: UTF-8
|
130
|
-
string: '{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","url":"https://api.github.com/repos/darkmirage/test/git/trees/cdddc3941866854cdb41c023d0f5240ed10df053","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":"26a9ff72316b4b9af6481e28d3bb508c555d31a1","path":"folder2","url":"https://api.github.com/repos/darkmirage/test/git/trees/26a9ff72316b4b9af6481e28d3bb508c555d31a1"},{"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":"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"}]}'
|
131
|
-
http_version:
|
132
|
-
recorded_at: Thu, 15 Aug 2013 21:07:20 GMT
|
133
|
-
- request:
|
134
|
-
method: get
|
135
|
-
uri: https://api.github.com/repos/darkmirage/test/branches/master
|
136
|
-
body:
|
137
|
-
encoding: US-ASCII
|
138
|
-
string: ''
|
139
|
-
headers:
|
140
|
-
User-Agent:
|
141
|
-
- Octokit Ruby Gem 1.25.0
|
142
|
-
Accept:
|
143
|
-
- application/vnd.github.beta+json
|
144
|
-
Authorization:
|
145
|
-
- token <GITHUB_TOKEN>
|
146
|
-
Accept-Encoding:
|
147
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
148
|
-
response:
|
149
|
-
status:
|
150
|
-
code: 200
|
151
|
-
message: OK
|
152
|
-
headers:
|
153
|
-
Server:
|
154
|
-
- GitHub.com
|
155
|
-
Date:
|
156
|
-
- Thu, 15 Aug 2013 21:07:21 GMT
|
157
|
-
Content-Type:
|
158
|
-
- application/json; charset=utf-8
|
159
|
-
Transfer-Encoding:
|
160
|
-
- chunked
|
161
|
-
Status:
|
162
|
-
- 200 OK
|
163
|
-
X-Ratelimit-Limit:
|
164
|
-
- '5000'
|
165
|
-
X-Ratelimit-Remaining:
|
166
|
-
- '4792'
|
167
|
-
X-Ratelimit-Reset:
|
168
|
-
- '1376602835'
|
169
|
-
X-Oauth-Scopes:
|
170
|
-
- user, public_repo, repo, gist
|
171
|
-
X-Accepted-Oauth-Scopes:
|
172
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
173
|
-
X-Github-Media-Type:
|
174
|
-
- github.beta; format=json
|
175
|
-
X-Content-Type-Options:
|
176
|
-
- nosniff
|
177
|
-
Access-Control-Allow-Credentials:
|
178
|
-
- 'true'
|
179
|
-
Access-Control-Expose-Headers:
|
180
|
-
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
181
|
-
X-Accepted-OAuth-Scopes
|
182
|
-
Access-Control-Allow-Origin:
|
183
|
-
- '*'
|
184
|
-
Etag:
|
185
|
-
- '"1e9a35ec492ea865f92a1b38b774b076"'
|
186
|
-
Cache-Control:
|
187
|
-
- max-age=0, private, must-revalidate
|
188
|
-
Vary:
|
189
|
-
- Accept-Encoding
|
190
|
-
body:
|
191
|
-
encoding: UTF-8
|
192
|
-
string: '{"name":"master","commit":{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","commit":{"author":{"name":"Raven
|
193
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"committer":{"name":"Raven
|
194
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"message":"Added
|
195
|
-
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"}}'
|
196
|
-
http_version:
|
197
|
-
recorded_at: Thu, 15 Aug 2013 21:07:21 GMT
|
198
|
-
- request:
|
199
|
-
method: get
|
200
|
-
uri: https://api.github.com/repos/darkmirage/test/git/trees/cdddc3941866854cdb41c023d0f5240ed10df053?recursive=true
|
201
|
-
body:
|
202
|
-
encoding: US-ASCII
|
203
|
-
string: ''
|
204
|
-
headers:
|
205
|
-
User-Agent:
|
206
|
-
- Octokit Ruby Gem 1.25.0
|
207
|
-
Accept:
|
208
|
-
- application/vnd.github.beta+json
|
209
|
-
Authorization:
|
210
|
-
- token <GITHUB_TOKEN>
|
211
|
-
Accept-Encoding:
|
212
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
213
|
-
response:
|
214
|
-
status:
|
215
|
-
code: 200
|
216
|
-
message: OK
|
217
|
-
headers:
|
218
|
-
Server:
|
219
|
-
- GitHub.com
|
220
|
-
Date:
|
221
|
-
- Thu, 15 Aug 2013 21:07:21 GMT
|
222
|
-
Content-Type:
|
223
|
-
- application/json; charset=utf-8
|
224
|
-
Transfer-Encoding:
|
225
|
-
- chunked
|
226
|
-
Status:
|
227
|
-
- 200 OK
|
228
|
-
X-Ratelimit-Limit:
|
229
|
-
- '5000'
|
230
|
-
X-Ratelimit-Remaining:
|
231
|
-
- '4791'
|
232
|
-
X-Ratelimit-Reset:
|
233
|
-
- '1376602835'
|
234
|
-
Cache-Control:
|
235
|
-
- private, max-age=60, s-maxage=60
|
236
|
-
Last-Modified:
|
237
|
-
- Thu, 15 Aug 2013 21:05:51 GMT
|
238
|
-
Etag:
|
239
|
-
- '"cf1c23a5a06824c37c225e090e4587d7"'
|
240
|
-
X-Oauth-Scopes:
|
241
|
-
- user, public_repo, repo, gist
|
242
|
-
X-Accepted-Oauth-Scopes:
|
243
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
244
|
-
Vary:
|
245
|
-
- Accept, Authorization, Cookie
|
246
|
-
- Accept-Encoding
|
247
|
-
X-Github-Media-Type:
|
248
|
-
- github.beta; format=json
|
249
|
-
X-Content-Type-Options:
|
250
|
-
- nosniff
|
251
|
-
Access-Control-Allow-Credentials:
|
252
|
-
- 'true'
|
253
|
-
Access-Control-Expose-Headers:
|
254
|
-
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
255
|
-
X-Accepted-OAuth-Scopes
|
256
|
-
Access-Control-Allow-Origin:
|
257
|
-
- '*'
|
258
|
-
body:
|
259
|
-
encoding: UTF-8
|
260
|
-
string: '{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","url":"https://api.github.com/repos/darkmirage/test/git/trees/cdddc3941866854cdb41c023d0f5240ed10df053","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":"26a9ff72316b4b9af6481e28d3bb508c555d31a1","path":"folder2","url":"https://api.github.com/repos/darkmirage/test/git/trees/26a9ff72316b4b9af6481e28d3bb508c555d31a1"},{"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":"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"}]}'
|
261
|
-
http_version:
|
262
|
-
recorded_at: Thu, 15 Aug 2013 21:07:21 GMT
|
263
|
-
recorded_with: VCR 2.5.0
|
@@ -1,133 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.github.com/repos/darkmirage/test/branches/master
|
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: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Server:
|
24
|
-
- GitHub.com
|
25
|
-
Date:
|
26
|
-
- Thu, 15 Aug 2013 21:07:22 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Status:
|
32
|
-
- 200 OK
|
33
|
-
X-Ratelimit-Limit:
|
34
|
-
- '5000'
|
35
|
-
X-Ratelimit-Remaining:
|
36
|
-
- '4790'
|
37
|
-
X-Ratelimit-Reset:
|
38
|
-
- '1376602835'
|
39
|
-
X-Oauth-Scopes:
|
40
|
-
- user, public_repo, repo, gist
|
41
|
-
X-Accepted-Oauth-Scopes:
|
42
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
43
|
-
X-Github-Media-Type:
|
44
|
-
- github.beta; format=json
|
45
|
-
X-Content-Type-Options:
|
46
|
-
- nosniff
|
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
|
-
Etag:
|
55
|
-
- '"1e9a35ec492ea865f92a1b38b774b076"'
|
56
|
-
Cache-Control:
|
57
|
-
- max-age=0, private, must-revalidate
|
58
|
-
Vary:
|
59
|
-
- Accept-Encoding
|
60
|
-
body:
|
61
|
-
encoding: UTF-8
|
62
|
-
string: '{"name":"master","commit":{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","commit":{"author":{"name":"Raven
|
63
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"committer":{"name":"Raven
|
64
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"message":"Added
|
65
|
-
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"}}'
|
66
|
-
http_version:
|
67
|
-
recorded_at: Thu, 15 Aug 2013 21:07:22 GMT
|
68
|
-
- request:
|
69
|
-
method: get
|
70
|
-
uri: https://api.github.com/repos/darkmirage/test/git/trees/cdddc3941866854cdb41c023d0f5240ed10df053?recursive=true
|
71
|
-
body:
|
72
|
-
encoding: US-ASCII
|
73
|
-
string: ''
|
74
|
-
headers:
|
75
|
-
User-Agent:
|
76
|
-
- Octokit Ruby Gem 1.25.0
|
77
|
-
Accept:
|
78
|
-
- application/vnd.github.beta+json
|
79
|
-
Authorization:
|
80
|
-
- token <GITHUB_TOKEN>
|
81
|
-
Accept-Encoding:
|
82
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
83
|
-
response:
|
84
|
-
status:
|
85
|
-
code: 200
|
86
|
-
message: OK
|
87
|
-
headers:
|
88
|
-
Server:
|
89
|
-
- GitHub.com
|
90
|
-
Date:
|
91
|
-
- Thu, 15 Aug 2013 21:07:22 GMT
|
92
|
-
Content-Type:
|
93
|
-
- application/json; charset=utf-8
|
94
|
-
Transfer-Encoding:
|
95
|
-
- chunked
|
96
|
-
Status:
|
97
|
-
- 200 OK
|
98
|
-
X-Ratelimit-Limit:
|
99
|
-
- '5000'
|
100
|
-
X-Ratelimit-Remaining:
|
101
|
-
- '4789'
|
102
|
-
X-Ratelimit-Reset:
|
103
|
-
- '1376602835'
|
104
|
-
Cache-Control:
|
105
|
-
- private, max-age=60, s-maxage=60
|
106
|
-
Last-Modified:
|
107
|
-
- Thu, 15 Aug 2013 21:05:51 GMT
|
108
|
-
Etag:
|
109
|
-
- '"cf1c23a5a06824c37c225e090e4587d7"'
|
110
|
-
X-Oauth-Scopes:
|
111
|
-
- user, public_repo, repo, gist
|
112
|
-
X-Accepted-Oauth-Scopes:
|
113
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
114
|
-
Vary:
|
115
|
-
- Accept, Authorization, Cookie
|
116
|
-
- Accept-Encoding
|
117
|
-
X-Github-Media-Type:
|
118
|
-
- github.beta; format=json
|
119
|
-
X-Content-Type-Options:
|
120
|
-
- nosniff
|
121
|
-
Access-Control-Allow-Credentials:
|
122
|
-
- 'true'
|
123
|
-
Access-Control-Expose-Headers:
|
124
|
-
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
125
|
-
X-Accepted-OAuth-Scopes
|
126
|
-
Access-Control-Allow-Origin:
|
127
|
-
- '*'
|
128
|
-
body:
|
129
|
-
encoding: UTF-8
|
130
|
-
string: '{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","url":"https://api.github.com/repos/darkmirage/test/git/trees/cdddc3941866854cdb41c023d0f5240ed10df053","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":"26a9ff72316b4b9af6481e28d3bb508c555d31a1","path":"folder2","url":"https://api.github.com/repos/darkmirage/test/git/trees/26a9ff72316b4b9af6481e28d3bb508c555d31a1"},{"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":"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"}]}'
|
131
|
-
http_version:
|
132
|
-
recorded_at: Thu, 15 Aug 2013 21:07:22 GMT
|
133
|
-
recorded_with: VCR 2.5.0
|