features/cassettes/gists/fork.yml in github_api-0.5.4 vs features/cassettes/gists/fork.yml in github_api-0.6.0

- old
+ new

@@ -1,46 +1,78 @@ ---- -http_interactions: -- request: +--- +http_interactions: +- request: method: post uri: https://<BASIC_AUTH>@api.github.com/gists/2900588/fork?access_token=<TOKEN> - body: + body: encoding: US-ASCII - string: "" - headers: - Content-Length: - - "0" - Accept: - - "*/*" - User-Agent: + string: '' + headers: + Content-Length: + - '0' + Accept: + - ! '*/*' + User-Agent: - Ruby - response: - status: + response: + status: code: 201 message: Created - headers: - Server: + headers: + Server: - nginx/1.0.13 - Date: + Date: - Sat, 09 Jun 2012 11:19:05 GMT - Content-Type: + Content-Type: - application/json; charset=utf-8 - Connection: + Connection: - keep-alive - Status: + Status: - 201 Created - X-Ratelimit-Limit: - - "5000" - Etag: - - "\"2aff62ec12336f5e052d64d210bbada4\"" - Location: + X-Ratelimit-Limit: + - '5000' + Etag: + - ! '"2aff62ec12336f5e052d64d210bbada4"' + Location: - https://api.github.com/gists/2900601 - X-Ratelimit-Remaining: - - "4997" - Content-Length: - - "917" - body: + X-Ratelimit-Remaining: + - '4997' + Content-Length: + - '917' + body: encoding: ASCII-8BIT - string: "{\"files\":{\"gistfile1.md\":{\"type\":\"text/plain\",\"raw_url\":\"https://gist.github.com/raw/2900601/9b41849b4d87a4d0ac3238513e9d2d39a0dd68bf/gistfile1.md\",\"language\":\"Markdown\",\"size\":1578,\"filename\":\"gistfile1.md\"}},\"description\":\"kaminari gem \xE3\x81\xA7 twitter \xE9\xA2\xA8\xE3\x81\xAE AutoPagerize \xE3\x81\x8C\xE7\xB0\xA1\xE5\x8D\x98\xE3\x81\xAB\xE5\xAE\x9F\xE7\x8F\xBE\xE3\x81\xA7\xE3\x81\x8D\xE3\x82\x8B\xE3\x81\xAE\xE3\x81\x8B\xE8\xAA\xBF\xE3\x81\xB9\xE3\x81\x9F\",\"created_at\":\"2012-06-09T11:19:04Z\",\"public\":true,\"updated_at\":\"2012-06-09T11:19:04Z\",\"url\":\"https://api.github.com/gists/2900601\",\"comments\":0,\"git_pull_url\":\"git://gist.github.com/2900601.git\",\"git_push_url\":\"git@gist.github.com:2900601.git\",\"html_url\":\"https://gist.github.com/2900601\",\"id\":\"2900601\",\"user\":{\"url\":\"https://api.github.com/users/<USER>\",\"avatar_url\":\"https://secure.gravatar.com/avatar/80cbc0fc6c03d43f495b2342b31fe4fa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png\",\"gravatar_id\":\"80cbc0fc6c03d43f495b2342b31fe4fa\",\"id\":1223156,\"login\":\"<USER>\"}}" - http_version: + string: ! "{\"files\":{\"gistfile1.md\":{\"type\":\"text/plain\",\"raw_url\":\"https://gist.github.com/raw/2900601/9b41849b4d87a4d0ac3238513e9d2d39a0dd68bf/gistfile1.md\",\"language\":\"Markdown\",\"size\":1578,\"filename\":\"gistfile1.md\"}},\"description\":\"kaminari + gem ã\x81§ twitter 風ã\x81® AutoPagerize ã\x81\x8Cç°¡å\x8D\x98ã\x81«å®\x9Fç\x8F¾ã\x81§ã\x81\x8Dã\x82\x8Bã\x81®ã\x81\x8B調ã\x81¹ã\x81\x9F\",\"created_at\":\"2012-06-09T11:19:04Z\",\"public\":true,\"updated_at\":\"2012-06-09T11:19:04Z\",\"url\":\"https://api.github.com/gists/2900601\",\"comments\":0,\"git_pull_url\":\"git://gist.github.com/2900601.git\",\"git_push_url\":\"git@gist.github.com:2900601.git\",\"html_url\":\"https://gist.github.com/2900601\",\"id\":\"2900601\",\"user\":{\"url\":\"https://api.github.com/users/<USER>\",\"avatar_url\":\"https://secure.gravatar.com/avatar/80cbc0fc6c03d43f495b2342b31fe4fa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png\",\"gravatar_id\":\"80cbc0fc6c03d43f495b2342b31fe4fa\",\"id\":1223156,\"login\":\"<USER>\"}}" + http_version: !!null recorded_at: Sat, 09 Jun 2012 11:19:05 GMT +- request: + method: post + uri: https://api.github.com/gists/2900588/fork?access_token=<TOKEN> + body: + encoding: US-ASCII + string: '' + headers: + Content-Length: + - '0' + Accept: + - ! '*/*' + User-Agent: + - Ruby + response: + status: + code: 500 + message: Internal Server Error + headers: + Server: + - nginx/1.0.13 + Date: + - Sat, 09 Jun 2012 14:59:14 GMT + Transfer-Encoding: + - chunked + Connection: + - keep-alive + body: + encoding: US-ASCII + string: '' + http_version: !!null + recorded_at: Sat, 09 Jun 2012 14:59:14 GMT recorded_with: VCR 2.2.0