githubris 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/.travis.yml +8 -2
  2. data/Gemfile +6 -3
  3. data/README.md +14 -0
  4. data/Rakefile +5 -11
  5. data/githubris.gemspec +2 -0
  6. data/lib/githubris.rb +18 -8
  7. data/lib/githubris/api.rb +89 -11
  8. data/lib/githubris/api/gist.rb +34 -15
  9. data/lib/githubris/api/http.rb +12 -0
  10. data/lib/githubris/api/user.rb +10 -4
  11. data/lib/githubris/base.rb +80 -0
  12. data/lib/githubris/comment.rb +1 -6
  13. data/lib/githubris/error.rb +5 -0
  14. data/lib/githubris/gist.rb +15 -60
  15. data/lib/githubris/gist/file.rb +1 -8
  16. data/lib/githubris/oauth.rb +36 -0
  17. data/lib/githubris/publicity.rb +13 -0
  18. data/lib/githubris/user.rb +13 -28
  19. data/lib/githubris/version.rb +1 -1
  20. data/spec/githubris/api/gist_spec.rb +8 -41
  21. data/spec/githubris/api/user_spec.rb +17 -2
  22. data/spec/githubris/api_spec.rb +99 -0
  23. data/spec/githubris/base_spec.rb +77 -0
  24. data/spec/githubris/gist_spec.rb +21 -76
  25. data/spec/githubris/oauth_spec.rb +71 -0
  26. data/spec/githubris/publicity_spec.rb +22 -0
  27. data/spec/githubris/user_spec.rb +50 -13
  28. data/spec/githubris_spec.rb +34 -40
  29. data/spec/spec_helper.rb +9 -6
  30. data/spec/support/fixtures.rb +115 -99
  31. data/spec/support/fixtures/vcr_cassettes/Githubris/_find_gist.yml +44 -0
  32. data/spec/support/fixtures/vcr_cassettes/Githubris/_find_user.yml +40 -0
  33. data/spec/support/fixtures/vcr_cassettes/Githubris/_public_gists.yml +55 -0
  34. data/spec/support/fixtures/vcr_cassettes/Githubris_API/_authenticated_/when_authenticated_with_bad_credentials.yml +40 -0
  35. data/spec/support/fixtures/vcr_cassettes/Githubris_API/_authenticated_/when_authenticated_with_good_credentials.yml +42 -0
  36. data/spec/support/fixtures/vcr_cassettes/Githubris_API/_authenticated_/when_there_are_no_credentials.yml +42 -0
  37. data/spec/support/fixtures/vcr_cassettes/Githubris_API_Gist/_get_gist.yml +44 -0
  38. data/spec/support/fixtures/vcr_cassettes/Githubris_API_Gist/_get_public_gists.yml +107 -0
  39. data/spec/support/fixtures/vcr_cassettes/Githubris_API_Gist/_get_user_gists.yml +43 -0
  40. data/spec/support/fixtures/vcr_cassettes/Githubris_API_User/_get_authenticated_user/without_credentials.yml +42 -0
  41. data/spec/support/fixtures/vcr_cassettes/Githubris_API_User/_get_user.yml +40 -0
  42. data/spec/support/fixtures/vcr_cassettes/Githubris_Gist/_save.yml +42 -0
  43. data/spec/support/fixtures/vcr_cassettes/Githubris_Gist/any_gist.yml +44 -0
  44. data/spec/support/fixtures/vcr_cassettes/Githubris_Gist/given_a_gist_full_of_data.yml +44 -0
  45. data/spec/support/fixtures/vcr_cassettes/Githubris_Gist/on_a_gist_with_an_id.yml +44 -0
  46. data/spec/support/fixtures/vcr_cassettes/Githubris_Gist/on_a_gist_with_an_id/_reload.yml +44 -0
  47. data/spec/support/fixtures/vcr_cassettes/Githubris_User/_gists.yml +43 -0
  48. data/spec/support/fixtures/vcr_cassettes/Githubris_User/_reload.yml +40 -0
  49. data/spec/support/fixtures/vcr_cassettes/Githubris_User/_reload/on_a_user_with_a_login.yml +40 -0
  50. data/spec/support/fixtures/vcr_cassettes/Githubris_User/_reload/on_a_user_without_a_login.yml +40 -0
  51. data/spec/support/fixtures/vcr_cassettes/Githubris_User/_starred_gists/on_an_authenticated_user.yml +82 -0
  52. data/spec/support/vcr.rb +6 -0
  53. metadata +57 -21
  54. data/features/get_a_gist.feature +0 -13
  55. data/features/get_a_user.feature +0 -8
  56. data/features/list_of_public_gists.feature +0 -12
  57. data/features/list_of_users_public_gists.feature +0 -13
  58. data/features/step_definitions/general_steps.rb +0 -32
  59. data/features/support/env.rb +0 -6
  60. data/features/support/fakeweb_responses.rb +0 -12
  61. data/features/support/fixtures.rb +0 -47
  62. data/lib/githubris/builder.rb +0 -28
  63. data/spec/githubris/builder_spec.rb +0 -28
  64. data/spec/support/custom_matchers.rb +0 -27
  65. data/spec/support/fakeweb_responses.rb +0 -12
  66. data/spec/support/gist.json +0 -335
  67. data/spec/support/public_gists_page_1.json +0 -884
  68. data/spec/support/public_gists_page_2.json +0 -898
  69. data/spec/support/user.json +0 -14
  70. data/spec/support/user_public_gists.json +0 -65
@@ -0,0 +1,42 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/user?
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ connection:
11
+ - close
12
+ response:
13
+ status:
14
+ code: 401
15
+ message: Unauthorized
16
+ headers:
17
+ server:
18
+ - nginx/1.0.13
19
+ date:
20
+ - Mon, 02 Apr 2012 20:59:53 GMT
21
+ content-type:
22
+ - application/json; charset=utf-8
23
+ connection:
24
+ - close
25
+ status:
26
+ - 401 Unauthorized
27
+ x-ratelimit-limit:
28
+ - '5000'
29
+ www-authenticate:
30
+ - Basic realm="GitHub"
31
+ etag:
32
+ - ! '"99852aefab6a0988db8f62bf2fb96f49"'
33
+ x-ratelimit-remaining:
34
+ - '4847'
35
+ content-length:
36
+ - '37'
37
+ body:
38
+ encoding: US-ASCII
39
+ string: ! '{"message":"Requires authentication"}'
40
+ http_version: '1.1'
41
+ recorded_at: Mon, 02 Apr 2012 20:59:51 GMT
42
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,40 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/users/GithubrisTestUser?
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ connection:
11
+ - close
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ server:
18
+ - nginx/1.0.13
19
+ date:
20
+ - Mon, 02 Apr 2012 20:59:54 GMT
21
+ content-type:
22
+ - application/json; charset=utf-8
23
+ connection:
24
+ - close
25
+ status:
26
+ - 200 OK
27
+ x-ratelimit-limit:
28
+ - '5000'
29
+ etag:
30
+ - ! '"fe835010cc7911b28ba1c13437b7c0a1"'
31
+ x-ratelimit-remaining:
32
+ - '4846'
33
+ content-length:
34
+ - '477'
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ! '{"following":0,"type":"User","login":"GithubrisTestUser","avatar_url":"https://secure.gravatar.com/avatar/20de3fd01e285d14de84067c34ab74d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","public_repos":1,"url":"https://api.github.com/users/GithubrisTestUser","created_at":"2012-02-24T12:23:28Z","public_gists":3,"html_url":"https://github.com/GithubrisTestUser","gravatar_id":"20de3fd01e285d14de84067c34ab74d2","followers":0,"id":1469392}'
38
+ http_version: '1.1'
39
+ recorded_at: Mon, 02 Apr 2012 20:59:51 GMT
40
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,42 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.github.com/gists
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"description":null,"public":true,"files":{"gistfile.txt":{"content":"foobar"}}}'
9
+ headers:
10
+ connection:
11
+ - close
12
+ response:
13
+ status:
14
+ code: 201
15
+ message: Created
16
+ headers:
17
+ server:
18
+ - nginx/1.0.13
19
+ date:
20
+ - Sun, 08 Apr 2012 23:12:17 GMT
21
+ content-type:
22
+ - application/json; charset=utf-8
23
+ connection:
24
+ - close
25
+ status:
26
+ - 201 Created
27
+ x-ratelimit-limit:
28
+ - '5000'
29
+ etag:
30
+ - ! '"4dfca32ee6e5f6ad6819731e23a6335a"'
31
+ location:
32
+ - https://api.github.com/gists/2340298
33
+ x-ratelimit-remaining:
34
+ - '4999'
35
+ content-length:
36
+ - '827'
37
+ body:
38
+ encoding: US-ASCII
39
+ string: ! '{"files":{"gistfile.txt":{"type":"text/plain","raw_url":"https://gist.github.com/raw/2340298/f6ea0495187600e7b2288c8ac19c5886383a4632/gistfile.txt","language":"Text","size":6,"filename":"gistfile.txt","content":"foobar"}},"git_push_url":"git@gist.github.com:2340298.git","history":[{"url":"https://api.github.com/gists/2340298/e01e64d7545b2451ec00191ac15bfbbd8232191d","user":null,"committed_at":"2012-04-08T23:12:17Z","version":"e01e64d7545b2451ec00191ac15bfbbd8232191d","change_status":{"deletions":0,"additions":1,"total":1}}],"comments":0,"updated_at":"2012-04-08T23:12:16Z","public":true,"url":"https://api.github.com/gists/2340298","forks":[],"user":null,"html_url":"https://gist.github.com/2340298","created_at":"2012-04-08T23:12:16Z","description":null,"git_pull_url":"git://gist.github.com/2340298.git","id":"2340298"}'
40
+ http_version: '1.1'
41
+ recorded_at: Sun, 08 Apr 2012 23:12:17 GMT
42
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/gists/1?
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ connection:
11
+ - close
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ server:
18
+ - nginx/1.0.13
19
+ date:
20
+ - Sun, 08 Apr 2012 04:07:09 GMT
21
+ content-type:
22
+ - application/json; charset=utf-8
23
+ connection:
24
+ - close
25
+ status:
26
+ - 200 OK
27
+ x-ratelimit-limit:
28
+ - '5000'
29
+ etag:
30
+ - ! '"4dcaf004fc84ac1f454ea9cf1d547603"'
31
+ x-ratelimit-remaining:
32
+ - '4999'
33
+ content-length:
34
+ - '11850'
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ! '{"files":{"gistfile1.txt":{"type":"text/plain","raw_url":"https://gist.github.com/raw/1/9b2ac7c792209f19e157ddaf00f8946edc306a6b/gistfile1.txt","language":"Text","size":178,"filename":"gistfile1.txt","content":"This
38
+ is gist. \nThere are many like it, but this one is mine. \nIt is my life.
39
+ \nI must master it as I must master my life. \nWithout me gist is useless.
40
+ \nWithout gist, I am useless."}},"git_push_url":"git@gist.github.com:1.git","history":[{"url":"https://api.github.com/gists/1/3a641566d0a49014cea6f395e8be68c42b9e46d9","user":{"login":"schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/schacon","gravatar_id":"9375a9529679f1b42b567a640d775e7d","id":70},"committed_at":"2011-02-22T02:58:22Z","version":"3a641566d0a49014cea6f395e8be68c42b9e46d9","change_status":{"deletions":1,"additions":6,"total":7}},{"url":"https://api.github.com/gists/1/24c894e1ca5cefd36b3b6e914beb93a7068f6efb","user":{"login":"schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/schacon","gravatar_id":"9375a9529679f1b42b567a640d775e7d","id":70},"committed_at":"2011-02-22T02:53:32Z","version":"24c894e1ca5cefd36b3b6e914beb93a7068f6efb","change_status":{"deletions":6,"additions":1,"total":7}},{"url":"https://api.github.com/gists/1/0864db9cbe551088b2269128c5b5d145141f57ef","user":{"login":"schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/schacon","gravatar_id":"9375a9529679f1b42b567a640d775e7d","id":70},"committed_at":"2008-07-15T18:17:27Z","version":"0864db9cbe551088b2269128c5b5d145141f57ef","change_status":{"deletions":1,"additions":6,"total":7}},{"url":"https://api.github.com/gists/1/8afc134bf14f8f56ed2e7234128490d9946e8c16","user":{"login":"schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/schacon","gravatar_id":"9375a9529679f1b42b567a640d775e7d","id":70},"committed_at":"2008-07-15T18:17:14Z","version":"8afc134bf14f8f56ed2e7234128490d9946e8c16","change_status":{"deletions":0,"additions":1,"total":1}}],"comments":6,"updated_at":"2011-02-22T02:58:22Z","public":true,"url":"https://api.github.com/gists/1","forks":[{"updated_at":"2009-10-14T10:23:33Z","url":"https://api.github.com/gists/95","user":{"login":"danielmorrison","avatar_url":"https://secure.gravatar.com/avatar/16ae5c2e160af3bdb60db447c092985d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/danielmorrison","gravatar_id":"16ae5c2e160af3bdb60db447c092985d","id":125},"created_at":"2008-07-21T20:15:46Z","id":"95"},{"updated_at":"2009-10-14T10:23:41Z","url":"https://api.github.com/gists/140","user":{"login":"elliottcable","avatar_url":"https://secure.gravatar.com/avatar/4eac78fe7a7a607dcc097a0d6fd63690?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/elliottcable","gravatar_id":"4eac78fe7a7a607dcc097a0d6fd63690","id":200},"created_at":"2008-07-21T20:34:51Z","id":"140"},{"updated_at":"2009-10-14T10:24:01Z","url":"https://api.github.com/gists/248","user":{"login":"mattetti","avatar_url":"https://secure.gravatar.com/avatar/c69521d6e22fc0bbd69337ec8b1698df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mattetti","gravatar_id":"c69521d6e22fc0bbd69337ec8b1698df","id":113},"created_at":"2008-07-21T21:13:11Z","id":"248"},{"updated_at":"2009-10-14T10:25:16Z","url":"https://api.github.com/gists/582","user":{"login":"davidwparker","avatar_url":"https://secure.gravatar.com/avatar/b7964c02372a1218c65f4a679f9d78d5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/davidwparker","gravatar_id":"b7964c02372a1218c65f4a679f9d78d5","id":2379},"created_at":"2008-07-22T01:36:18Z","id":"582"},{"updated_at":"2009-10-14T10:25:18Z","url":"https://api.github.com/gists/591","user":{"login":"willcodeforfoo","avatar_url":"https://secure.gravatar.com/avatar/6a2f7f7a997fab1dbf815d155cca50ee?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/willcodeforfoo","gravatar_id":"6a2f7f7a997fab1dbf815d155cca50ee","id":100},"created_at":"2008-07-22T01:51:28Z","id":"591"},{"updated_at":"2009-10-14T10:31:26Z","url":"https://api.github.com/gists/2398","user":{"login":"mattagar","avatar_url":"https://secure.gravatar.com/avatar/c77e15da48833a5205255d0051460464?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mattagar","gravatar_id":"c77e15da48833a5205255d0051460464","id":18075},"created_at":"2008-07-25T06:24:15Z","id":"2398"},{"updated_at":"2009-10-14T11:50:19Z","url":"https://api.github.com/gists/11539","user":{"login":"sunfmin","avatar_url":"https://secure.gravatar.com/avatar/d4a7c04ca87944e7fb06518fb64f9c36?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/sunfmin","gravatar_id":"d4a7c04ca87944e7fb06518fb64f9c36","id":1014},"created_at":"2008-09-19T04:44:37Z","id":"11539"},{"updated_at":"2009-10-16T21:03:06Z","url":"https://api.github.com/gists/93488","user":{"login":"demonbane","avatar_url":"https://secure.gravatar.com/avatar/881bd08b6b94e600475ce431e8e6ea35?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/demonbane","gravatar_id":"881bd08b6b94e600475ce431e8e6ea35","id":7385},"created_at":"2009-04-11T07:17:37Z","id":"93488"},{"updated_at":"2009-12-14T12:58:33Z","url":"https://api.github.com/gists/256016","user":{"login":"pedrodelgallego","avatar_url":"https://secure.gravatar.com/avatar/f09383a4b8725aa99cf892813608de76?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/pedrodelgallego","gravatar_id":"f09383a4b8725aa99cf892813608de76","id":6951},"created_at":"2009-12-14T12:39:44Z","id":"256016"},{"updated_at":"2010-04-17T08:52:11Z","url":"https://api.github.com/gists/369414","user":{"login":"pedrodelgallego","avatar_url":"https://secure.gravatar.com/avatar/f09383a4b8725aa99cf892813608de76?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/pedrodelgallego","gravatar_id":"f09383a4b8725aa99cf892813608de76","id":6951},"created_at":"2010-04-17T08:51:34Z","id":"369414"},{"updated_at":"2011-02-22T05:33:17Z","url":"https://api.github.com/gists/838269","user":{"login":"hz","avatar_url":"https://secure.gravatar.com/avatar/a5556e47f603afb7695d05d2cd9883da?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/hz","gravatar_id":"a5556e47f603afb7695d05d2cd9883da","id":63441},"created_at":"2011-02-22T05:32:03Z","id":"838269"},{"updated_at":"2011-02-22T08:31:24Z","url":"https://api.github.com/gists/838371","user":{"login":"BlackBulletIV","avatar_url":"https://secure.gravatar.com/avatar/5ccd0ef26cb0bd488c7e496f080f8dc5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/BlackBulletIV","gravatar_id":"5ccd0ef26cb0bd488c7e496f080f8dc5","id":446397},"created_at":"2011-02-22T08:27:53Z","id":"838371"},{"updated_at":"2011-03-04T15:37:14Z","url":"https://api.github.com/gists/854804","user":{"login":"mtsoerin","avatar_url":"https://secure.gravatar.com/avatar/50be7ccda1a6f9f895a2cdf4615eed6e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mtsoerin","gravatar_id":"50be7ccda1a6f9f895a2cdf4615eed6e","id":643236},"created_at":"2011-03-04T15:36:59Z","id":"854804"},{"updated_at":"2011-04-26T13:19:30Z","url":"https://api.github.com/gists/942242","user":{"login":"gbraad","avatar_url":"https://secure.gravatar.com/avatar/e466994eea3c2a1672564e45aca844d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/gbraad","gravatar_id":"e466994eea3c2a1672564e45aca844d0","id":1894},"created_at":"2011-04-26T13:19:11Z","id":"942242"},{"updated_at":"2011-05-06T20:05:34Z","url":"https://api.github.com/gists/959681","user":{"login":"bry4n","avatar_url":"https://secure.gravatar.com/avatar/bb108e4ccd3d3d79350b167b62e2db2a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/bry4n","gravatar_id":"bb108e4ccd3d3d79350b167b62e2db2a","id":73400},"created_at":"2011-05-06T20:04:46Z","id":"959681"},{"updated_at":"2011-06-11T00:34:11Z","url":"https://api.github.com/gists/1020085","user":{"login":"hijolan","avatar_url":"https://secure.gravatar.com/avatar/b5d1886ee10bb84b1d1db698a1ca922e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/hijolan","gravatar_id":"b5d1886ee10bb84b1d1db698a1ca922e","id":404480},"created_at":"2011-06-11T00:29:06Z","id":"1020085"},{"updated_at":"2011-07-16T21:14:13Z","url":"https://api.github.com/gists/1086800","user":{"login":"ryanwcohen","avatar_url":"https://secure.gravatar.com/avatar/71a33a634d5397ef8be84890365687d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/ryanwcohen","gravatar_id":"71a33a634d5397ef8be84890365687d0","id":730418},"created_at":"2011-07-16T21:14:13Z","id":"1086800"},{"updated_at":"2011-12-22T09:29:22Z","url":"https://api.github.com/gists/1509670","user":{"login":"dirkmc","avatar_url":"https://secure.gravatar.com/avatar/364d08b8747ad5e230f49b65bb07805c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/dirkmc","gravatar_id":"364d08b8747ad5e230f49b65bb07805c","id":169124},"created_at":"2011-12-22T09:29:22Z","id":"1509670"},{"updated_at":"2012-03-29T10:43:15Z","url":"https://api.github.com/gists/2235768","user":{"login":"p3drosola","avatar_url":"https://secure.gravatar.com/avatar/6c1210e99714eb597acd49838a7b255d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/p3drosola","gravatar_id":"6c1210e99714eb597acd49838a7b255d","id":520550},"created_at":"2012-03-29T10:43:15Z","id":"2235768"},{"updated_at":"2012-04-03T10:09:24Z","url":"https://api.github.com/gists/2290808","user":{"login":"pygit","avatar_url":"https://secure.gravatar.com/avatar/eba3426b5f6b84570f6a70f8a594d2c9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/pygit","gravatar_id":"eba3426b5f6b84570f6a70f8a594d2c9","id":1392087},"created_at":"2012-04-03T10:09:24Z","id":"2290808"}],"user":{"login":"schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/schacon","gravatar_id":"9375a9529679f1b42b567a640d775e7d","id":70},"html_url":"https://gist.github.com/1","created_at":"2008-07-15T18:17:13Z","description":"the
41
+ meaning of gist","git_pull_url":"git://gist.github.com/1.git","id":"1"}'
42
+ http_version: '1.1'
43
+ recorded_at: Sun, 08 Apr 2012 04:07:05 GMT
44
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/gists/1?
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ connection:
11
+ - close
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ server:
18
+ - nginx/1.0.13
19
+ date:
20
+ - Wed, 11 Apr 2012 20:15:37 GMT
21
+ content-type:
22
+ - application/json; charset=utf-8
23
+ connection:
24
+ - close
25
+ status:
26
+ - 200 OK
27
+ content-length:
28
+ - '11850'
29
+ x-ratelimit-limit:
30
+ - '5000'
31
+ etag:
32
+ - ! '"ad3edc4c7c780c9729c0e99f57750eda"'
33
+ x-ratelimit-remaining:
34
+ - '4994'
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ! '{"history":[{"version":"3a641566d0a49014cea6f395e8be68c42b9e46d9","user":{"url":"https://api.github.com/users/schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"schacon","gravatar_id":"9375a9529679f1b42b567a640d775e7d","id":70},"change_status":{"total":7,"additions":6,"deletions":1},"url":"https://api.github.com/gists/1/3a641566d0a49014cea6f395e8be68c42b9e46d9","committed_at":"2011-02-22T02:58:22Z"},{"version":"24c894e1ca5cefd36b3b6e914beb93a7068f6efb","user":{"url":"https://api.github.com/users/schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"schacon","gravatar_id":"9375a9529679f1b42b567a640d775e7d","id":70},"change_status":{"total":7,"additions":1,"deletions":6},"url":"https://api.github.com/gists/1/24c894e1ca5cefd36b3b6e914beb93a7068f6efb","committed_at":"2011-02-22T02:53:32Z"},{"version":"0864db9cbe551088b2269128c5b5d145141f57ef","user":{"url":"https://api.github.com/users/schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"schacon","gravatar_id":"9375a9529679f1b42b567a640d775e7d","id":70},"change_status":{"total":7,"additions":6,"deletions":1},"url":"https://api.github.com/gists/1/0864db9cbe551088b2269128c5b5d145141f57ef","committed_at":"2008-07-15T18:17:27Z"},{"version":"8afc134bf14f8f56ed2e7234128490d9946e8c16","user":{"url":"https://api.github.com/users/schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"schacon","gravatar_id":"9375a9529679f1b42b567a640d775e7d","id":70},"change_status":{"total":1,"additions":1,"deletions":0},"url":"https://api.github.com/gists/1/8afc134bf14f8f56ed2e7234128490d9946e8c16","committed_at":"2008-07-15T18:17:14Z"}],"user":{"url":"https://api.github.com/users/schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"schacon","gravatar_id":"9375a9529679f1b42b567a640d775e7d","id":70},"url":"https://api.github.com/gists/1","description":"the
38
+ meaning of gist","public":true,"updated_at":"2011-02-22T02:58:22Z","comments":6,"files":{"gistfile1.txt":{"language":"Text","type":"text/plain","filename":"gistfile1.txt","content":"This
39
+ is gist. \nThere are many like it, but this one is mine. \nIt is my life.
40
+ \nI must master it as I must master my life. \nWithout me gist is useless.
41
+ \nWithout gist, I am useless.","size":178,"raw_url":"https://gist.github.com/raw/1/9b2ac7c792209f19e157ddaf00f8946edc306a6b/gistfile1.txt"}},"git_pull_url":"git://gist.github.com/1.git","forks":[{"user":{"url":"https://api.github.com/users/danielmorrison","avatar_url":"https://secure.gravatar.com/avatar/16ae5c2e160af3bdb60db447c092985d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"danielmorrison","gravatar_id":"16ae5c2e160af3bdb60db447c092985d","id":125},"url":"https://api.github.com/gists/95","updated_at":"2009-10-14T10:23:33Z","id":"95","created_at":"2008-07-21T20:15:46Z"},{"user":{"url":"https://api.github.com/users/elliottcable","avatar_url":"https://secure.gravatar.com/avatar/4eac78fe7a7a607dcc097a0d6fd63690?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"elliottcable","gravatar_id":"4eac78fe7a7a607dcc097a0d6fd63690","id":200},"url":"https://api.github.com/gists/140","updated_at":"2009-10-14T10:23:41Z","id":"140","created_at":"2008-07-21T20:34:51Z"},{"user":{"url":"https://api.github.com/users/mattetti","avatar_url":"https://secure.gravatar.com/avatar/c69521d6e22fc0bbd69337ec8b1698df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"mattetti","gravatar_id":"c69521d6e22fc0bbd69337ec8b1698df","id":113},"url":"https://api.github.com/gists/248","updated_at":"2009-10-14T10:24:01Z","id":"248","created_at":"2008-07-21T21:13:11Z"},{"user":{"url":"https://api.github.com/users/davidwparker","avatar_url":"https://secure.gravatar.com/avatar/b7964c02372a1218c65f4a679f9d78d5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"davidwparker","gravatar_id":"b7964c02372a1218c65f4a679f9d78d5","id":2379},"url":"https://api.github.com/gists/582","updated_at":"2009-10-14T10:25:16Z","id":"582","created_at":"2008-07-22T01:36:18Z"},{"user":{"url":"https://api.github.com/users/willcodeforfoo","avatar_url":"https://secure.gravatar.com/avatar/6a2f7f7a997fab1dbf815d155cca50ee?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"willcodeforfoo","gravatar_id":"6a2f7f7a997fab1dbf815d155cca50ee","id":100},"url":"https://api.github.com/gists/591","updated_at":"2009-10-14T10:25:18Z","id":"591","created_at":"2008-07-22T01:51:28Z"},{"user":{"url":"https://api.github.com/users/mattagar","avatar_url":"https://secure.gravatar.com/avatar/c77e15da48833a5205255d0051460464?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"mattagar","gravatar_id":"c77e15da48833a5205255d0051460464","id":18075},"url":"https://api.github.com/gists/2398","updated_at":"2009-10-14T10:31:26Z","id":"2398","created_at":"2008-07-25T06:24:15Z"},{"user":{"url":"https://api.github.com/users/sunfmin","avatar_url":"https://secure.gravatar.com/avatar/d4a7c04ca87944e7fb06518fb64f9c36?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"sunfmin","gravatar_id":"d4a7c04ca87944e7fb06518fb64f9c36","id":1014},"url":"https://api.github.com/gists/11539","updated_at":"2009-10-14T11:50:19Z","id":"11539","created_at":"2008-09-19T04:44:37Z"},{"user":{"url":"https://api.github.com/users/demonbane","avatar_url":"https://secure.gravatar.com/avatar/881bd08b6b94e600475ce431e8e6ea35?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"demonbane","gravatar_id":"881bd08b6b94e600475ce431e8e6ea35","id":7385},"url":"https://api.github.com/gists/93488","updated_at":"2009-10-16T21:03:06Z","id":"93488","created_at":"2009-04-11T07:17:37Z"},{"user":{"url":"https://api.github.com/users/pedrodelgallego","avatar_url":"https://secure.gravatar.com/avatar/f09383a4b8725aa99cf892813608de76?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"pedrodelgallego","gravatar_id":"f09383a4b8725aa99cf892813608de76","id":6951},"url":"https://api.github.com/gists/256016","updated_at":"2009-12-14T12:58:33Z","id":"256016","created_at":"2009-12-14T12:39:44Z"},{"user":{"url":"https://api.github.com/users/pedrodelgallego","avatar_url":"https://secure.gravatar.com/avatar/f09383a4b8725aa99cf892813608de76?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"pedrodelgallego","gravatar_id":"f09383a4b8725aa99cf892813608de76","id":6951},"url":"https://api.github.com/gists/369414","updated_at":"2010-04-17T08:52:11Z","id":"369414","created_at":"2010-04-17T08:51:34Z"},{"user":{"url":"https://api.github.com/users/hz","avatar_url":"https://secure.gravatar.com/avatar/a5556e47f603afb7695d05d2cd9883da?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"hz","gravatar_id":"a5556e47f603afb7695d05d2cd9883da","id":63441},"url":"https://api.github.com/gists/838269","updated_at":"2011-02-22T05:33:17Z","id":"838269","created_at":"2011-02-22T05:32:03Z"},{"user":{"url":"https://api.github.com/users/BlackBulletIV","avatar_url":"https://secure.gravatar.com/avatar/5ccd0ef26cb0bd488c7e496f080f8dc5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"BlackBulletIV","gravatar_id":"5ccd0ef26cb0bd488c7e496f080f8dc5","id":446397},"url":"https://api.github.com/gists/838371","updated_at":"2011-02-22T08:31:24Z","id":"838371","created_at":"2011-02-22T08:27:53Z"},{"user":{"url":"https://api.github.com/users/mtsoerin","avatar_url":"https://secure.gravatar.com/avatar/50be7ccda1a6f9f895a2cdf4615eed6e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"mtsoerin","gravatar_id":"50be7ccda1a6f9f895a2cdf4615eed6e","id":643236},"url":"https://api.github.com/gists/854804","updated_at":"2011-03-04T15:37:14Z","id":"854804","created_at":"2011-03-04T15:36:59Z"},{"user":{"url":"https://api.github.com/users/gbraad","avatar_url":"https://secure.gravatar.com/avatar/e466994eea3c2a1672564e45aca844d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"gbraad","gravatar_id":"e466994eea3c2a1672564e45aca844d0","id":1894},"url":"https://api.github.com/gists/942242","updated_at":"2011-04-26T13:19:30Z","id":"942242","created_at":"2011-04-26T13:19:11Z"},{"user":{"url":"https://api.github.com/users/bry4n","avatar_url":"https://secure.gravatar.com/avatar/bb108e4ccd3d3d79350b167b62e2db2a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"bry4n","gravatar_id":"bb108e4ccd3d3d79350b167b62e2db2a","id":73400},"url":"https://api.github.com/gists/959681","updated_at":"2011-05-06T20:05:34Z","id":"959681","created_at":"2011-05-06T20:04:46Z"},{"user":{"url":"https://api.github.com/users/hijolan","avatar_url":"https://secure.gravatar.com/avatar/b5d1886ee10bb84b1d1db698a1ca922e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"hijolan","gravatar_id":"b5d1886ee10bb84b1d1db698a1ca922e","id":404480},"url":"https://api.github.com/gists/1020085","updated_at":"2011-06-11T00:34:11Z","id":"1020085","created_at":"2011-06-11T00:29:06Z"},{"user":{"url":"https://api.github.com/users/ryanwcohen","avatar_url":"https://secure.gravatar.com/avatar/71a33a634d5397ef8be84890365687d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"ryanwcohen","gravatar_id":"71a33a634d5397ef8be84890365687d0","id":730418},"url":"https://api.github.com/gists/1086800","updated_at":"2011-07-16T21:14:13Z","id":"1086800","created_at":"2011-07-16T21:14:13Z"},{"user":{"url":"https://api.github.com/users/dirkmc","avatar_url":"https://secure.gravatar.com/avatar/364d08b8747ad5e230f49b65bb07805c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"dirkmc","gravatar_id":"364d08b8747ad5e230f49b65bb07805c","id":169124},"url":"https://api.github.com/gists/1509670","updated_at":"2011-12-22T09:29:22Z","id":"1509670","created_at":"2011-12-22T09:29:22Z"},{"user":{"url":"https://api.github.com/users/p3drosola","avatar_url":"https://secure.gravatar.com/avatar/6c1210e99714eb597acd49838a7b255d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"p3drosola","gravatar_id":"6c1210e99714eb597acd49838a7b255d","id":520550},"url":"https://api.github.com/gists/2235768","updated_at":"2012-03-29T10:43:15Z","id":"2235768","created_at":"2012-03-29T10:43:15Z"},{"user":{"url":"https://api.github.com/users/pygit","avatar_url":"https://secure.gravatar.com/avatar/eba3426b5f6b84570f6a70f8a594d2c9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"pygit","gravatar_id":"eba3426b5f6b84570f6a70f8a594d2c9","id":1392087},"url":"https://api.github.com/gists/2290808","updated_at":"2012-04-03T10:09:24Z","id":"2290808","created_at":"2012-04-03T10:09:24Z"}],"git_push_url":"git@gist.github.com:1.git","id":"1","created_at":"2008-07-15T18:17:13Z","html_url":"https://gist.github.com/1"}'
42
+ http_version: '1.1'
43
+ recorded_at: Wed, 11 Apr 2012 20:15:37 GMT
44
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/gists/1?
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ connection:
11
+ - close
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ server:
18
+ - nginx/1.0.13
19
+ date:
20
+ - Wed, 11 Apr 2012 16:19:15 GMT
21
+ content-type:
22
+ - application/json; charset=utf-8
23
+ connection:
24
+ - close
25
+ status:
26
+ - 200 OK
27
+ x-ratelimit-limit:
28
+ - '5000'
29
+ etag:
30
+ - ! '"29c4e5ac647a959a7d9cbc3c6bdd3874"'
31
+ x-ratelimit-remaining:
32
+ - '4999'
33
+ content-length:
34
+ - '11850'
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ! '{"history":[{"change_status":{"deletions":1,"total":7,"additions":6},"committed_at":"2011-02-22T02:58:22Z","user":{"gravatar_id":"9375a9529679f1b42b567a640d775e7d","url":"https://api.github.com/users/schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":70,"login":"schacon"},"url":"https://api.github.com/gists/1/3a641566d0a49014cea6f395e8be68c42b9e46d9","version":"3a641566d0a49014cea6f395e8be68c42b9e46d9"},{"change_status":{"deletions":6,"total":7,"additions":1},"committed_at":"2011-02-22T02:53:32Z","user":{"gravatar_id":"9375a9529679f1b42b567a640d775e7d","url":"https://api.github.com/users/schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":70,"login":"schacon"},"url":"https://api.github.com/gists/1/24c894e1ca5cefd36b3b6e914beb93a7068f6efb","version":"24c894e1ca5cefd36b3b6e914beb93a7068f6efb"},{"change_status":{"deletions":1,"total":7,"additions":6},"committed_at":"2008-07-15T18:17:27Z","user":{"gravatar_id":"9375a9529679f1b42b567a640d775e7d","url":"https://api.github.com/users/schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":70,"login":"schacon"},"url":"https://api.github.com/gists/1/0864db9cbe551088b2269128c5b5d145141f57ef","version":"0864db9cbe551088b2269128c5b5d145141f57ef"},{"change_status":{"deletions":0,"total":1,"additions":1},"committed_at":"2008-07-15T18:17:14Z","user":{"gravatar_id":"9375a9529679f1b42b567a640d775e7d","url":"https://api.github.com/users/schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":70,"login":"schacon"},"url":"https://api.github.com/gists/1/8afc134bf14f8f56ed2e7234128490d9946e8c16","version":"8afc134bf14f8f56ed2e7234128490d9946e8c16"}],"comments":6,"updated_at":"2011-02-22T02:58:22Z","forks":[{"updated_at":"2009-10-14T10:23:33Z","user":{"gravatar_id":"16ae5c2e160af3bdb60db447c092985d","url":"https://api.github.com/users/danielmorrison","avatar_url":"https://secure.gravatar.com/avatar/16ae5c2e160af3bdb60db447c092985d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":125,"login":"danielmorrison"},"created_at":"2008-07-21T20:15:46Z","url":"https://api.github.com/gists/95","id":"95"},{"updated_at":"2009-10-14T10:23:41Z","user":{"gravatar_id":"4eac78fe7a7a607dcc097a0d6fd63690","url":"https://api.github.com/users/elliottcable","avatar_url":"https://secure.gravatar.com/avatar/4eac78fe7a7a607dcc097a0d6fd63690?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":200,"login":"elliottcable"},"created_at":"2008-07-21T20:34:51Z","url":"https://api.github.com/gists/140","id":"140"},{"updated_at":"2009-10-14T10:24:01Z","user":{"gravatar_id":"c69521d6e22fc0bbd69337ec8b1698df","url":"https://api.github.com/users/mattetti","avatar_url":"https://secure.gravatar.com/avatar/c69521d6e22fc0bbd69337ec8b1698df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":113,"login":"mattetti"},"created_at":"2008-07-21T21:13:11Z","url":"https://api.github.com/gists/248","id":"248"},{"updated_at":"2009-10-14T10:25:16Z","user":{"gravatar_id":"b7964c02372a1218c65f4a679f9d78d5","url":"https://api.github.com/users/davidwparker","avatar_url":"https://secure.gravatar.com/avatar/b7964c02372a1218c65f4a679f9d78d5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":2379,"login":"davidwparker"},"created_at":"2008-07-22T01:36:18Z","url":"https://api.github.com/gists/582","id":"582"},{"updated_at":"2009-10-14T10:25:18Z","user":{"gravatar_id":"6a2f7f7a997fab1dbf815d155cca50ee","url":"https://api.github.com/users/willcodeforfoo","avatar_url":"https://secure.gravatar.com/avatar/6a2f7f7a997fab1dbf815d155cca50ee?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":100,"login":"willcodeforfoo"},"created_at":"2008-07-22T01:51:28Z","url":"https://api.github.com/gists/591","id":"591"},{"updated_at":"2009-10-14T10:31:26Z","user":{"gravatar_id":"c77e15da48833a5205255d0051460464","url":"https://api.github.com/users/mattagar","avatar_url":"https://secure.gravatar.com/avatar/c77e15da48833a5205255d0051460464?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":18075,"login":"mattagar"},"created_at":"2008-07-25T06:24:15Z","url":"https://api.github.com/gists/2398","id":"2398"},{"updated_at":"2009-10-14T11:50:19Z","user":{"gravatar_id":"d4a7c04ca87944e7fb06518fb64f9c36","url":"https://api.github.com/users/sunfmin","avatar_url":"https://secure.gravatar.com/avatar/d4a7c04ca87944e7fb06518fb64f9c36?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":1014,"login":"sunfmin"},"created_at":"2008-09-19T04:44:37Z","url":"https://api.github.com/gists/11539","id":"11539"},{"updated_at":"2009-10-16T21:03:06Z","user":{"gravatar_id":"881bd08b6b94e600475ce431e8e6ea35","url":"https://api.github.com/users/demonbane","avatar_url":"https://secure.gravatar.com/avatar/881bd08b6b94e600475ce431e8e6ea35?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":7385,"login":"demonbane"},"created_at":"2009-04-11T07:17:37Z","url":"https://api.github.com/gists/93488","id":"93488"},{"updated_at":"2009-12-14T12:58:33Z","user":{"gravatar_id":"f09383a4b8725aa99cf892813608de76","url":"https://api.github.com/users/pedrodelgallego","avatar_url":"https://secure.gravatar.com/avatar/f09383a4b8725aa99cf892813608de76?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":6951,"login":"pedrodelgallego"},"created_at":"2009-12-14T12:39:44Z","url":"https://api.github.com/gists/256016","id":"256016"},{"updated_at":"2010-04-17T08:52:11Z","user":{"gravatar_id":"f09383a4b8725aa99cf892813608de76","url":"https://api.github.com/users/pedrodelgallego","avatar_url":"https://secure.gravatar.com/avatar/f09383a4b8725aa99cf892813608de76?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":6951,"login":"pedrodelgallego"},"created_at":"2010-04-17T08:51:34Z","url":"https://api.github.com/gists/369414","id":"369414"},{"updated_at":"2011-02-22T05:33:17Z","user":{"gravatar_id":"a5556e47f603afb7695d05d2cd9883da","url":"https://api.github.com/users/hz","avatar_url":"https://secure.gravatar.com/avatar/a5556e47f603afb7695d05d2cd9883da?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":63441,"login":"hz"},"created_at":"2011-02-22T05:32:03Z","url":"https://api.github.com/gists/838269","id":"838269"},{"updated_at":"2011-02-22T08:31:24Z","user":{"gravatar_id":"5ccd0ef26cb0bd488c7e496f080f8dc5","url":"https://api.github.com/users/BlackBulletIV","avatar_url":"https://secure.gravatar.com/avatar/5ccd0ef26cb0bd488c7e496f080f8dc5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":446397,"login":"BlackBulletIV"},"created_at":"2011-02-22T08:27:53Z","url":"https://api.github.com/gists/838371","id":"838371"},{"updated_at":"2011-03-04T15:37:14Z","user":{"gravatar_id":"50be7ccda1a6f9f895a2cdf4615eed6e","url":"https://api.github.com/users/mtsoerin","avatar_url":"https://secure.gravatar.com/avatar/50be7ccda1a6f9f895a2cdf4615eed6e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":643236,"login":"mtsoerin"},"created_at":"2011-03-04T15:36:59Z","url":"https://api.github.com/gists/854804","id":"854804"},{"updated_at":"2011-04-26T13:19:30Z","user":{"gravatar_id":"e466994eea3c2a1672564e45aca844d0","url":"https://api.github.com/users/gbraad","avatar_url":"https://secure.gravatar.com/avatar/e466994eea3c2a1672564e45aca844d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":1894,"login":"gbraad"},"created_at":"2011-04-26T13:19:11Z","url":"https://api.github.com/gists/942242","id":"942242"},{"updated_at":"2011-05-06T20:05:34Z","user":{"gravatar_id":"bb108e4ccd3d3d79350b167b62e2db2a","url":"https://api.github.com/users/bry4n","avatar_url":"https://secure.gravatar.com/avatar/bb108e4ccd3d3d79350b167b62e2db2a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":73400,"login":"bry4n"},"created_at":"2011-05-06T20:04:46Z","url":"https://api.github.com/gists/959681","id":"959681"},{"updated_at":"2011-06-11T00:34:11Z","user":{"gravatar_id":"b5d1886ee10bb84b1d1db698a1ca922e","url":"https://api.github.com/users/hijolan","avatar_url":"https://secure.gravatar.com/avatar/b5d1886ee10bb84b1d1db698a1ca922e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":404480,"login":"hijolan"},"created_at":"2011-06-11T00:29:06Z","url":"https://api.github.com/gists/1020085","id":"1020085"},{"updated_at":"2011-07-16T21:14:13Z","user":{"gravatar_id":"71a33a634d5397ef8be84890365687d0","url":"https://api.github.com/users/ryanwcohen","avatar_url":"https://secure.gravatar.com/avatar/71a33a634d5397ef8be84890365687d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":730418,"login":"ryanwcohen"},"created_at":"2011-07-16T21:14:13Z","url":"https://api.github.com/gists/1086800","id":"1086800"},{"updated_at":"2011-12-22T09:29:22Z","user":{"gravatar_id":"364d08b8747ad5e230f49b65bb07805c","url":"https://api.github.com/users/dirkmc","avatar_url":"https://secure.gravatar.com/avatar/364d08b8747ad5e230f49b65bb07805c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":169124,"login":"dirkmc"},"created_at":"2011-12-22T09:29:22Z","url":"https://api.github.com/gists/1509670","id":"1509670"},{"updated_at":"2012-03-29T10:43:15Z","user":{"gravatar_id":"6c1210e99714eb597acd49838a7b255d","url":"https://api.github.com/users/p3drosola","avatar_url":"https://secure.gravatar.com/avatar/6c1210e99714eb597acd49838a7b255d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":520550,"login":"p3drosola"},"created_at":"2012-03-29T10:43:15Z","url":"https://api.github.com/gists/2235768","id":"2235768"},{"updated_at":"2012-04-03T10:09:24Z","user":{"gravatar_id":"eba3426b5f6b84570f6a70f8a594d2c9","url":"https://api.github.com/users/pygit","avatar_url":"https://secure.gravatar.com/avatar/eba3426b5f6b84570f6a70f8a594d2c9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":1392087,"login":"pygit"},"created_at":"2012-04-03T10:09:24Z","url":"https://api.github.com/gists/2290808","id":"2290808"}],"public":true,"html_url":"https://gist.github.com/1","user":{"gravatar_id":"9375a9529679f1b42b567a640d775e7d","url":"https://api.github.com/users/schacon","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","id":70,"login":"schacon"},"created_at":"2008-07-15T18:17:13Z","git_pull_url":"git://gist.github.com/1.git","url":"https://api.github.com/gists/1","description":"the
38
+ meaning of gist","git_push_url":"git@gist.github.com:1.git","id":"1","files":{"gistfile1.txt":{"type":"text/plain","language":"Text","size":178,"filename":"gistfile1.txt","content":"This
39
+ is gist. \nThere are many like it, but this one is mine. \nIt is my life.
40
+ \nI must master it as I must master my life. \nWithout me gist is useless.
41
+ \nWithout gist, I am useless.","raw_url":"https://gist.github.com/raw/1/9b2ac7c792209f19e157ddaf00f8946edc306a6b/gistfile1.txt"}}}'
42
+ http_version: '1.1'
43
+ recorded_at: Wed, 11 Apr 2012 16:19:32 GMT
44
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/gists/1?
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ connection:
11
+ - close
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ server:
18
+ - nginx/1.0.13
19
+ date:
20
+ - Wed, 11 Apr 2012 16:21:00 GMT
21
+ content-type:
22
+ - application/json; charset=utf-8
23
+ connection:
24
+ - close
25
+ status:
26
+ - 200 OK
27
+ x-ratelimit-limit:
28
+ - '5000'
29
+ etag:
30
+ - ! '"d310271f32914dc5a267694fc67b342a"'
31
+ x-ratelimit-remaining:
32
+ - '4998'
33
+ content-length:
34
+ - '11850'
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ! '{"history":[{"change_status":{"deletions":1,"total":7,"additions":6},"committed_at":"2011-02-22T02:58:22Z","user":{"gravatar_id":"9375a9529679f1b42b567a640d775e7d","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/schacon","id":70,"login":"schacon"},"url":"https://api.github.com/gists/1/3a641566d0a49014cea6f395e8be68c42b9e46d9","version":"3a641566d0a49014cea6f395e8be68c42b9e46d9"},{"change_status":{"deletions":6,"total":7,"additions":1},"committed_at":"2011-02-22T02:53:32Z","user":{"gravatar_id":"9375a9529679f1b42b567a640d775e7d","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/schacon","id":70,"login":"schacon"},"url":"https://api.github.com/gists/1/24c894e1ca5cefd36b3b6e914beb93a7068f6efb","version":"24c894e1ca5cefd36b3b6e914beb93a7068f6efb"},{"change_status":{"deletions":1,"total":7,"additions":6},"committed_at":"2008-07-15T18:17:27Z","user":{"gravatar_id":"9375a9529679f1b42b567a640d775e7d","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/schacon","id":70,"login":"schacon"},"url":"https://api.github.com/gists/1/0864db9cbe551088b2269128c5b5d145141f57ef","version":"0864db9cbe551088b2269128c5b5d145141f57ef"},{"change_status":{"deletions":0,"total":1,"additions":1},"committed_at":"2008-07-15T18:17:14Z","user":{"gravatar_id":"9375a9529679f1b42b567a640d775e7d","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/schacon","id":70,"login":"schacon"},"url":"https://api.github.com/gists/1/8afc134bf14f8f56ed2e7234128490d9946e8c16","version":"8afc134bf14f8f56ed2e7234128490d9946e8c16"}],"comments":6,"updated_at":"2011-02-22T02:58:22Z","forks":[{"updated_at":"2009-10-14T10:23:33Z","user":{"gravatar_id":"16ae5c2e160af3bdb60db447c092985d","avatar_url":"https://secure.gravatar.com/avatar/16ae5c2e160af3bdb60db447c092985d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/danielmorrison","id":125,"login":"danielmorrison"},"created_at":"2008-07-21T20:15:46Z","url":"https://api.github.com/gists/95","id":"95"},{"updated_at":"2009-10-14T10:23:41Z","user":{"gravatar_id":"4eac78fe7a7a607dcc097a0d6fd63690","avatar_url":"https://secure.gravatar.com/avatar/4eac78fe7a7a607dcc097a0d6fd63690?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/elliottcable","id":200,"login":"elliottcable"},"created_at":"2008-07-21T20:34:51Z","url":"https://api.github.com/gists/140","id":"140"},{"updated_at":"2009-10-14T10:24:01Z","user":{"gravatar_id":"c69521d6e22fc0bbd69337ec8b1698df","avatar_url":"https://secure.gravatar.com/avatar/c69521d6e22fc0bbd69337ec8b1698df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mattetti","id":113,"login":"mattetti"},"created_at":"2008-07-21T21:13:11Z","url":"https://api.github.com/gists/248","id":"248"},{"updated_at":"2009-10-14T10:25:16Z","user":{"gravatar_id":"b7964c02372a1218c65f4a679f9d78d5","avatar_url":"https://secure.gravatar.com/avatar/b7964c02372a1218c65f4a679f9d78d5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/davidwparker","id":2379,"login":"davidwparker"},"created_at":"2008-07-22T01:36:18Z","url":"https://api.github.com/gists/582","id":"582"},{"updated_at":"2009-10-14T10:25:18Z","user":{"gravatar_id":"6a2f7f7a997fab1dbf815d155cca50ee","avatar_url":"https://secure.gravatar.com/avatar/6a2f7f7a997fab1dbf815d155cca50ee?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/willcodeforfoo","id":100,"login":"willcodeforfoo"},"created_at":"2008-07-22T01:51:28Z","url":"https://api.github.com/gists/591","id":"591"},{"updated_at":"2009-10-14T10:31:26Z","user":{"gravatar_id":"c77e15da48833a5205255d0051460464","avatar_url":"https://secure.gravatar.com/avatar/c77e15da48833a5205255d0051460464?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mattagar","id":18075,"login":"mattagar"},"created_at":"2008-07-25T06:24:15Z","url":"https://api.github.com/gists/2398","id":"2398"},{"updated_at":"2009-10-14T11:50:19Z","user":{"gravatar_id":"d4a7c04ca87944e7fb06518fb64f9c36","avatar_url":"https://secure.gravatar.com/avatar/d4a7c04ca87944e7fb06518fb64f9c36?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/sunfmin","id":1014,"login":"sunfmin"},"created_at":"2008-09-19T04:44:37Z","url":"https://api.github.com/gists/11539","id":"11539"},{"updated_at":"2009-10-16T21:03:06Z","user":{"gravatar_id":"881bd08b6b94e600475ce431e8e6ea35","avatar_url":"https://secure.gravatar.com/avatar/881bd08b6b94e600475ce431e8e6ea35?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/demonbane","id":7385,"login":"demonbane"},"created_at":"2009-04-11T07:17:37Z","url":"https://api.github.com/gists/93488","id":"93488"},{"updated_at":"2009-12-14T12:58:33Z","user":{"gravatar_id":"f09383a4b8725aa99cf892813608de76","avatar_url":"https://secure.gravatar.com/avatar/f09383a4b8725aa99cf892813608de76?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/pedrodelgallego","id":6951,"login":"pedrodelgallego"},"created_at":"2009-12-14T12:39:44Z","url":"https://api.github.com/gists/256016","id":"256016"},{"updated_at":"2010-04-17T08:52:11Z","user":{"gravatar_id":"f09383a4b8725aa99cf892813608de76","avatar_url":"https://secure.gravatar.com/avatar/f09383a4b8725aa99cf892813608de76?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/pedrodelgallego","id":6951,"login":"pedrodelgallego"},"created_at":"2010-04-17T08:51:34Z","url":"https://api.github.com/gists/369414","id":"369414"},{"updated_at":"2011-02-22T05:33:17Z","user":{"gravatar_id":"a5556e47f603afb7695d05d2cd9883da","avatar_url":"https://secure.gravatar.com/avatar/a5556e47f603afb7695d05d2cd9883da?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/hz","id":63441,"login":"hz"},"created_at":"2011-02-22T05:32:03Z","url":"https://api.github.com/gists/838269","id":"838269"},{"updated_at":"2011-02-22T08:31:24Z","user":{"gravatar_id":"5ccd0ef26cb0bd488c7e496f080f8dc5","avatar_url":"https://secure.gravatar.com/avatar/5ccd0ef26cb0bd488c7e496f080f8dc5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/BlackBulletIV","id":446397,"login":"BlackBulletIV"},"created_at":"2011-02-22T08:27:53Z","url":"https://api.github.com/gists/838371","id":"838371"},{"updated_at":"2011-03-04T15:37:14Z","user":{"gravatar_id":"50be7ccda1a6f9f895a2cdf4615eed6e","avatar_url":"https://secure.gravatar.com/avatar/50be7ccda1a6f9f895a2cdf4615eed6e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mtsoerin","id":643236,"login":"mtsoerin"},"created_at":"2011-03-04T15:36:59Z","url":"https://api.github.com/gists/854804","id":"854804"},{"updated_at":"2011-04-26T13:19:30Z","user":{"gravatar_id":"e466994eea3c2a1672564e45aca844d0","avatar_url":"https://secure.gravatar.com/avatar/e466994eea3c2a1672564e45aca844d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/gbraad","id":1894,"login":"gbraad"},"created_at":"2011-04-26T13:19:11Z","url":"https://api.github.com/gists/942242","id":"942242"},{"updated_at":"2011-05-06T20:05:34Z","user":{"gravatar_id":"bb108e4ccd3d3d79350b167b62e2db2a","avatar_url":"https://secure.gravatar.com/avatar/bb108e4ccd3d3d79350b167b62e2db2a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/bry4n","id":73400,"login":"bry4n"},"created_at":"2011-05-06T20:04:46Z","url":"https://api.github.com/gists/959681","id":"959681"},{"updated_at":"2011-06-11T00:34:11Z","user":{"gravatar_id":"b5d1886ee10bb84b1d1db698a1ca922e","avatar_url":"https://secure.gravatar.com/avatar/b5d1886ee10bb84b1d1db698a1ca922e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/hijolan","id":404480,"login":"hijolan"},"created_at":"2011-06-11T00:29:06Z","url":"https://api.github.com/gists/1020085","id":"1020085"},{"updated_at":"2011-07-16T21:14:13Z","user":{"gravatar_id":"71a33a634d5397ef8be84890365687d0","avatar_url":"https://secure.gravatar.com/avatar/71a33a634d5397ef8be84890365687d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/ryanwcohen","id":730418,"login":"ryanwcohen"},"created_at":"2011-07-16T21:14:13Z","url":"https://api.github.com/gists/1086800","id":"1086800"},{"updated_at":"2011-12-22T09:29:22Z","user":{"gravatar_id":"364d08b8747ad5e230f49b65bb07805c","avatar_url":"https://secure.gravatar.com/avatar/364d08b8747ad5e230f49b65bb07805c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/dirkmc","id":169124,"login":"dirkmc"},"created_at":"2011-12-22T09:29:22Z","url":"https://api.github.com/gists/1509670","id":"1509670"},{"updated_at":"2012-03-29T10:43:15Z","user":{"gravatar_id":"6c1210e99714eb597acd49838a7b255d","avatar_url":"https://secure.gravatar.com/avatar/6c1210e99714eb597acd49838a7b255d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/p3drosola","id":520550,"login":"p3drosola"},"created_at":"2012-03-29T10:43:15Z","url":"https://api.github.com/gists/2235768","id":"2235768"},{"updated_at":"2012-04-03T10:09:24Z","user":{"gravatar_id":"eba3426b5f6b84570f6a70f8a594d2c9","avatar_url":"https://secure.gravatar.com/avatar/eba3426b5f6b84570f6a70f8a594d2c9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/pygit","id":1392087,"login":"pygit"},"created_at":"2012-04-03T10:09:24Z","url":"https://api.github.com/gists/2290808","id":"2290808"}],"public":true,"html_url":"https://gist.github.com/1","user":{"gravatar_id":"9375a9529679f1b42b567a640d775e7d","avatar_url":"https://secure.gravatar.com/avatar/9375a9529679f1b42b567a640d775e7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/schacon","id":70,"login":"schacon"},"git_pull_url":"git://gist.github.com/1.git","created_at":"2008-07-15T18:17:13Z","git_push_url":"git@gist.github.com:1.git","url":"https://api.github.com/gists/1","description":"the
38
+ meaning of gist","id":"1","files":{"gistfile1.txt":{"type":"text/plain","raw_url":"https://gist.github.com/raw/1/9b2ac7c792209f19e157ddaf00f8946edc306a6b/gistfile1.txt","language":"Text","size":178,"filename":"gistfile1.txt","content":"This
39
+ is gist. \nThere are many like it, but this one is mine. \nIt is my life.
40
+ \nI must master it as I must master my life. \nWithout me gist is useless.
41
+ \nWithout gist, I am useless."}}}'
42
+ http_version: '1.1'
43
+ recorded_at: Wed, 11 Apr 2012 16:21:00 GMT
44
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/users/GithubrisTestUser/gists?
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ connection:
11
+ - close
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ server:
18
+ - nginx/1.0.13
19
+ date:
20
+ - Mon, 02 Apr 2012 21:02:33 GMT
21
+ content-type:
22
+ - application/json; charset=utf-8
23
+ connection:
24
+ - close
25
+ status:
26
+ - 200 OK
27
+ x-ratelimit-limit:
28
+ - '5000'
29
+ etag:
30
+ - ! '"5b7a8c466dce2edef03bb9bd0b279a40"'
31
+ x-ratelimit-remaining:
32
+ - '4843'
33
+ content-length:
34
+ - '2786'
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ! '[{"files":{"two.gist":{"type":"text/plain","language":null,"size":49,"filename":"two.gist","raw_url":"https://gist.github.com/raw/2283797/20a66f262edb50ef7abaac0d248ec91b425b6928/two.gist"}},"git_pull_url":"git://gist.github.com/2283797.git","comments":0,"updated_at":"2012-04-02T14:23:23Z","public":true,"html_url":"https://gist.github.com/2283797","git_push_url":"git@gist.github.com:2283797.git","url":"https://api.github.com/gists/2283797","user":{"login":"GithubrisTestUser","avatar_url":"https://secure.gravatar.com/avatar/20de3fd01e285d14de84067c34ab74d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/GithubrisTestUser","gravatar_id":"20de3fd01e285d14de84067c34ab74d2","id":1469392},"created_at":"2012-04-02T14:23:23Z","description":"My
38
+ second public gist","id":"2283797"},{"files":{"test.rb":{"type":"application/ruby","language":"Ruby","size":35,"filename":"test.rb","raw_url":"https://gist.github.com/raw/1901849/618cb237464a83cba15c5c16e913679a2703f3e0/test.rb"}},"git_pull_url":"git://gist.github.com/1901849.git","comments":0,"updated_at":"2012-02-24T16:20:22Z","public":true,"html_url":"https://gist.github.com/1901849","git_push_url":"git@gist.github.com:1901849.git","url":"https://api.github.com/gists/1901849","user":{"login":"GithubrisTestUser","avatar_url":"https://secure.gravatar.com/avatar/20de3fd01e285d14de84067c34ab74d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/GithubrisTestUser","gravatar_id":"20de3fd01e285d14de84067c34ab74d2","id":1469392},"created_at":"2012-02-24T16:20:22Z","description":"This
39
+ is a test gist","id":"1901849"},{"files":{"slipsum.html":{"type":"text/html","language":"HTML","size":555,"filename":"slipsum.html","raw_url":"https://gist.github.com/raw/1901843/85d293b0fbc401adb58902fa24711e45e389fc3d/slipsum.html"},"example.md":{"type":"text/plain","language":"Markdown","size":27,"filename":"example.md","raw_url":"https://gist.github.com/raw/1901843/d9213baf064e7d4b9619143371172b49d97c29b8/example.md"}},"git_pull_url":"git://gist.github.com/1901843.git","comments":0,"updated_at":"2012-02-24T16:19:48Z","public":true,"html_url":"https://gist.github.com/1901843","git_push_url":"git@gist.github.com:1901843.git","url":"https://api.github.com/gists/1901843","user":{"login":"GithubrisTestUser","avatar_url":"https://secure.gravatar.com/avatar/20de3fd01e285d14de84067c34ab74d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/GithubrisTestUser","gravatar_id":"20de3fd01e285d14de84067c34ab74d2","id":1469392},"created_at":"2012-02-24T16:19:48Z","description":"This
40
+ is a gist with many files","id":"1901843"}]'
41
+ http_version: '1.1'
42
+ recorded_at: Mon, 02 Apr 2012 21:02:31 GMT
43
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,40 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/users/GithubrisTestUser?
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ connection:
11
+ - close
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ server:
18
+ - nginx/1.0.13
19
+ date:
20
+ - Fri, 06 Apr 2012 03:34:27 GMT
21
+ content-type:
22
+ - application/json; charset=utf-8
23
+ connection:
24
+ - close
25
+ status:
26
+ - 200 OK
27
+ x-ratelimit-limit:
28
+ - '5000'
29
+ etag:
30
+ - ! '"12d1aa7884545ccd22da2d7adb31e9a9"'
31
+ x-ratelimit-remaining:
32
+ - '4998'
33
+ content-length:
34
+ - '477'
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ! '{"following":0,"type":"User","login":"GithubrisTestUser","public_repos":1,"public_gists":3,"html_url":"https://github.com/GithubrisTestUser","avatar_url":"https://secure.gravatar.com/avatar/20de3fd01e285d14de84067c34ab74d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/GithubrisTestUser","created_at":"2012-02-24T12:23:28Z","gravatar_id":"20de3fd01e285d14de84067c34ab74d2","id":1469392,"followers":0}'
38
+ http_version: '1.1'
39
+ recorded_at: Fri, 06 Apr 2012 03:34:27 GMT
40
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,40 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/users/GithubrisTestUser?
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ connection:
11
+ - close
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ server:
18
+ - nginx/1.0.13
19
+ date:
20
+ - Fri, 06 Apr 2012 02:51:01 GMT
21
+ content-type:
22
+ - application/json; charset=utf-8
23
+ connection:
24
+ - close
25
+ status:
26
+ - 200 OK
27
+ x-ratelimit-limit:
28
+ - '5000'
29
+ etag:
30
+ - ! '"777c51ff680184ded7639469bfb3f8d2"'
31
+ x-ratelimit-remaining:
32
+ - '4999'
33
+ content-length:
34
+ - '477'
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ! '{"following":0,"type":"User","login":"GithubrisTestUser","url":"https://api.github.com/users/GithubrisTestUser","public_gists":3,"created_at":"2012-02-24T12:23:28Z","avatar_url":"https://secure.gravatar.com/avatar/20de3fd01e285d14de84067c34ab74d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","public_repos":1,"gravatar_id":"20de3fd01e285d14de84067c34ab74d2","id":1469392,"followers":0,"html_url":"https://github.com/GithubrisTestUser"}'
38
+ http_version: '1.1'
39
+ recorded_at: Fri, 06 Apr 2012 02:51:33 GMT
40
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,40 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/users/?
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ connection:
11
+ - close
12
+ response:
13
+ status:
14
+ code: 404
15
+ message: Not Found
16
+ headers:
17
+ server:
18
+ - nginx/1.0.13
19
+ date:
20
+ - Fri, 06 Apr 2012 03:34:56 GMT
21
+ content-type:
22
+ - application/json; charset=utf-8
23
+ connection:
24
+ - close
25
+ status:
26
+ - 404 Not Found
27
+ x-ratelimit-limit:
28
+ - '5000'
29
+ etag:
30
+ - ! '"e66a7a6c91e2c26803f3f49feb7a883f"'
31
+ x-ratelimit-remaining:
32
+ - '4999'
33
+ content-length:
34
+ - '23'
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ! '{"message":"Not Found"}'
38
+ http_version: '1.1'
39
+ recorded_at: Fri, 06 Apr 2012 03:34:56 GMT
40
+ recorded_with: VCR 2.0.1