github_api 0.5.4 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. data/README.md +3 -3
  2. data/features/cassettes/events/issue.yml +64 -32
  3. data/features/cassettes/events/network.yml +63 -32
  4. data/features/cassettes/events/org.yml +61 -31
  5. data/features/cassettes/events/performed.yml +63 -32
  6. data/features/cassettes/events/public.yml +61 -31
  7. data/features/cassettes/events/received.yml +63 -32
  8. data/features/cassettes/events/repo.yml +63 -32
  9. data/features/cassettes/gists/comments/all.yml +32 -1
  10. data/features/cassettes/gists/comments/first.yml +32 -1
  11. data/features/cassettes/gists/fork.yml +63 -31
  12. data/features/cassettes/gists/gist.yml +32 -1
  13. data/features/cassettes/gists/gists/public_all.yml +32 -1
  14. data/features/cassettes/gists/gists/starred.yml +60 -29
  15. data/features/cassettes/gists/gists/user_all.yml +87 -1
  16. data/features/cassettes/gists/star.yml +58 -27
  17. data/features/cassettes/gists/starred.yml +32 -1
  18. data/features/cassettes/gists/unstar.yml +54 -25
  19. data/features/cassettes/git_data/references/all.yml +32 -1
  20. data/features/cassettes/git_data/references/all_tags.yml +32 -1
  21. data/features/cassettes/git_data/references/one.yml +32 -1
  22. data/features/cassettes/issues/create.yml +46 -0
  23. data/features/cassettes/issues/edit.yml +44 -0
  24. data/features/cassettes/issues/get.yml +62 -0
  25. data/features/cassettes/issues/list/repo.yml +251 -0
  26. data/features/cassettes/issues/list/user.yml +44 -0
  27. data/features/cassettes/orgs/get.yml +60 -30
  28. data/features/cassettes/orgs/list/oauth_user.yml +60 -29
  29. data/features/cassettes/orgs/list/user.yml +87 -57
  30. data/features/cassettes/pagination/issues/list/first.yml +65 -33
  31. data/features/cassettes/pagination/issues/list/last.yml +66 -33
  32. data/features/cassettes/pagination/repos/commits/list.yml +32 -1
  33. data/features/cassettes/pagination/repos/commits/sha.yml +32 -1
  34. data/features/cassettes/pagination/repos/diff.yml +32 -1
  35. data/features/cassettes/pagination/repos/list.yml +32 -1
  36. data/features/cassettes/pagination/repos/per_page/first.yml +32 -1
  37. data/features/cassettes/pull_requests/get.yml +120 -0
  38. data/features/cassettes/pull_requests/list.yml +254 -0
  39. data/features/cassettes/repos/branches.yml +32 -1
  40. data/features/cassettes/repos/contents/archive.yml +95 -0
  41. data/features/cassettes/repos/contents/get.yml +226 -0
  42. data/features/cassettes/repos/contents/readme.yml +271 -0
  43. data/features/cassettes/repos/get.yml +61 -31
  44. data/features/cassettes/repos/languages.yml +61 -30
  45. data/features/cassettes/repos/list.yml +32 -1
  46. data/features/cassettes/repos/tags.yml +32 -1
  47. data/features/cassettes/search/email.yml +99 -0
  48. data/features/cassettes/search/issues.yml +180 -0
  49. data/features/cassettes/search/repos.yml +396 -0
  50. data/features/cassettes/search/users.yml +54 -0
  51. data/features/cassettes/users/emails/add.yml +61 -30
  52. data/features/cassettes/users/emails/all.yml +61 -30
  53. data/features/cassettes/users/get/oauth.yml +61 -0
  54. data/features/cassettes/users/get/user.yml +62 -0
  55. data/features/issues.feature +64 -0
  56. data/features/pull_requests.feature +27 -0
  57. data/features/repos/contents.feature +35 -0
  58. data/features/search.feature +48 -0
  59. data/features/users.feature +23 -0
  60. data/lib/github_api.rb +1 -0
  61. data/lib/github_api/api.rb +0 -15
  62. data/lib/github_api/client.rb +4 -0
  63. data/lib/github_api/constants.rb +4 -0
  64. data/lib/github_api/error.rb +1 -0
  65. data/lib/github_api/error/unknown_value.rb +18 -0
  66. data/lib/github_api/filter.rb +1 -0
  67. data/lib/github_api/gists.rb +2 -6
  68. data/lib/github_api/gists/comments.rb +2 -2
  69. data/lib/github_api/git_data/blobs.rb +1 -1
  70. data/lib/github_api/git_data/commits.rb +1 -1
  71. data/lib/github_api/git_data/references.rb +2 -2
  72. data/lib/github_api/git_data/tags.rb +1 -1
  73. data/lib/github_api/git_data/trees.rb +2 -3
  74. data/lib/github_api/issues.rb +6 -6
  75. data/lib/github_api/issues/comments.rb +2 -2
  76. data/lib/github_api/issues/labels.rb +2 -2
  77. data/lib/github_api/issues/milestones.rb +3 -3
  78. data/lib/github_api/orgs/teams.rb +4 -4
  79. data/lib/github_api/params_hash.rb +31 -0
  80. data/lib/github_api/pull_requests.rb +2 -2
  81. data/lib/github_api/pull_requests/comments.rb +2 -2
  82. data/lib/github_api/repos.rb +8 -10
  83. data/lib/github_api/repos/commits.rb +2 -2
  84. data/lib/github_api/repos/contents.rb +64 -0
  85. data/lib/github_api/repos/downloads.rb +1 -1
  86. data/lib/github_api/repos/hooks.rb +2 -2
  87. data/lib/github_api/repos/keys.rb +1 -1
  88. data/lib/github_api/result.rb +8 -0
  89. data/lib/github_api/search.rb +98 -0
  90. data/lib/github_api/users.rb +8 -6
  91. data/lib/github_api/users/emails.rb +2 -2
  92. data/lib/github_api/validations/format.rb +4 -3
  93. data/lib/github_api/validations/required.rb +5 -2
  94. data/lib/github_api/version.rb +2 -2
  95. data/spec/fixtures/repos/content.json +14 -0
  96. data/spec/fixtures/repos/readme.json +14 -0
  97. data/spec/fixtures/search/email.json +22 -0
  98. data/spec/fixtures/search/issues.json +23 -0
  99. data/spec/fixtures/search/repositories.json +29 -0
  100. data/spec/fixtures/search/users.json +24 -0
  101. data/spec/github/error/unknown_value_spec.rb +21 -0
  102. data/spec/github/repos/contents_spec.rb +65 -0
  103. data/spec/github/search_spec.rb +87 -0
  104. data/spec/github/users_spec.rb +7 -7
  105. data/spec/github/validations/format_spec.rb +6 -6
  106. data/spec/github/validations/required_spec.rb +3 -3
  107. metadata +69 -35
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://<BASIC_AUTH>@api.github.com/issues?access_token=<TOKEN>&direction=asc&filter=created&sort=created&state=open
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ""
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx/1.0.13
23
+ Date:
24
+ - Tue, 12 Jun 2012 09:11:03 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Connection:
28
+ - keep-alive
29
+ Status:
30
+ - 200 OK
31
+ X-Ratelimit-Limit:
32
+ - "5000"
33
+ Etag:
34
+ - "\"d751713988987e9331980363e24189ce\""
35
+ X-Ratelimit-Remaining:
36
+ - "4999"
37
+ Content-Length:
38
+ - "2"
39
+ body:
40
+ encoding: US-ASCII
41
+ string: "[]"
42
+ http_version:
43
+ recorded_at: Tue, 12 Jun 2012 09:11:03 GMT
44
+ recorded_with: VCR 2.2.0
@@ -1,46 +1,46 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: get
5
5
  uri: https://<BASIC_AUTH>@api.github.com/orgs/github?access_token=<TOKEN>
6
- body:
6
+ body:
7
7
  encoding: US-ASCII
8
- string: ""
9
- headers:
10
- Accept-Encoding:
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - "*/*"
14
- User-Agent:
12
+ Accept:
13
+ - ! '*/*'
14
+ User-Agent:
15
15
  - Ruby
16
- response:
17
- status:
16
+ response:
17
+ status:
18
18
  code: 200
19
19
  message: OK
20
- headers:
21
- Server:
20
+ headers:
21
+ Server:
22
22
  - nginx/1.0.13
23
- Date:
23
+ Date:
24
24
  - Sat, 09 Jun 2012 11:40:15 GMT
25
- Content-Type:
25
+ Content-Type:
26
26
  - application/json; charset=utf-8
27
- Transfer-Encoding:
27
+ Transfer-Encoding:
28
28
  - chunked
29
- Connection:
29
+ Connection:
30
30
  - keep-alive
31
- Status:
31
+ Status:
32
32
  - 200 OK
33
- X-Ratelimit-Limit:
34
- - "5000"
35
- Etag:
36
- - "\"41b3d78c36ddac34fd8b8917a4c33283\""
37
- X-Ratelimit-Remaining:
38
- - "4991"
39
- Content-Encoding:
33
+ X-Ratelimit-Limit:
34
+ - '5000'
35
+ Etag:
36
+ - ! '"41b3d78c36ddac34fd8b8917a4c33283"'
37
+ X-Ratelimit-Remaining:
38
+ - '4991'
39
+ Content-Encoding:
40
40
  - gzip
41
- body:
41
+ body:
42
42
  encoding: ASCII-8BIT
43
- string: !binary |
43
+ string: !binary |-
44
44
  H4sIAAAAAAAAA22Ry07DMBBFf6WyxC5NnGcbSwgQUmHHAlZsqonjpBaJbfkB
45
45
  Koh/Z0JaWhA7e+b4zp3rD2JCM0i+tcJoR1hZRcTvjSCMPNgelHwHL7UiEWkG
46
46
  3WN1571xLEl66XehibkeE2h08EggIBUicwsLYgQ5YMEFY7T116c32ORWgBft
@@ -49,7 +49,37 @@ http_interactions:
49
49
  fx8aFIFX8GD/yDjBgxVxb+fuHMs3mFQpzYp1XXVZneY0r9Ky4W3RrYC2vGtW
50
50
  xVV7eTQDCMYihhfA4GIlfALOCe/iU3AX2UaO0AuHh+O08/NS297FBr1H5Pem
51
51
  YOSZTjJxh09EVLaE1XVaf34BHPSdgxACAAA=
52
-
53
- http_version:
52
+ http_version: !!null
54
53
  recorded_at: Sat, 09 Jun 2012 11:40:15 GMT
54
+ - request:
55
+ method: get
56
+ uri: https://api.github.com/orgs/github?access_token=<TOKEN>
57
+ body:
58
+ encoding: US-ASCII
59
+ string: ''
60
+ headers:
61
+ Accept-Encoding:
62
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
63
+ Accept:
64
+ - ! '*/*'
65
+ User-Agent:
66
+ - Ruby
67
+ response:
68
+ status:
69
+ code: 500
70
+ message: Internal Server Error
71
+ headers:
72
+ Server:
73
+ - nginx/1.0.13
74
+ Date:
75
+ - Sat, 09 Jun 2012 14:59:20 GMT
76
+ Transfer-Encoding:
77
+ - chunked
78
+ Connection:
79
+ - keep-alive
80
+ body:
81
+ encoding: US-ASCII
82
+ string: ''
83
+ http_version: !!null
84
+ recorded_at: Sat, 09 Jun 2012 14:59:20 GMT
55
85
  recorded_with: VCR 2.2.0
@@ -1,44 +1,75 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: get
5
5
  uri: https://<BASIC_AUTH>@api.github.com/user/orgs?access_token=<TOKEN>
6
- body:
6
+ body:
7
7
  encoding: US-ASCII
8
- string: ""
9
- headers:
10
- Accept-Encoding:
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - "*/*"
14
- User-Agent:
12
+ Accept:
13
+ - ! '*/*'
14
+ User-Agent:
15
15
  - Ruby
16
- response:
17
- status:
16
+ response:
17
+ status:
18
18
  code: 200
19
19
  message: OK
20
- headers:
21
- Server:
20
+ headers:
21
+ Server:
22
22
  - nginx/1.0.13
23
- Date:
23
+ Date:
24
24
  - Sat, 09 Jun 2012 11:40:14 GMT
25
- Content-Type:
25
+ Content-Type:
26
26
  - application/json; charset=utf-8
27
- Connection:
27
+ Connection:
28
28
  - keep-alive
29
- Status:
29
+ Status:
30
30
  - 200 OK
31
- X-Ratelimit-Limit:
32
- - "5000"
33
- Etag:
34
- - "\"d751713988987e9331980363e24189ce\""
35
- X-Ratelimit-Remaining:
36
- - "4992"
37
- Content-Length:
38
- - "2"
39
- body:
31
+ X-Ratelimit-Limit:
32
+ - '5000'
33
+ Etag:
34
+ - ! '"d751713988987e9331980363e24189ce"'
35
+ X-Ratelimit-Remaining:
36
+ - '4992'
37
+ Content-Length:
38
+ - '2'
39
+ body:
40
40
  encoding: US-ASCII
41
- string: "[]"
42
- http_version:
41
+ string: ! '[]'
42
+ http_version: !!null
43
43
  recorded_at: Sat, 09 Jun 2012 11:40:14 GMT
44
+ - request:
45
+ method: get
46
+ uri: https://api.github.com/user/orgs?access_token=<TOKEN>
47
+ body:
48
+ encoding: US-ASCII
49
+ string: ''
50
+ headers:
51
+ Accept-Encoding:
52
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
53
+ Accept:
54
+ - ! '*/*'
55
+ User-Agent:
56
+ - Ruby
57
+ response:
58
+ status:
59
+ code: 500
60
+ message: Internal Server Error
61
+ headers:
62
+ Server:
63
+ - nginx/1.0.13
64
+ Date:
65
+ - Sat, 09 Jun 2012 14:59:19 GMT
66
+ Transfer-Encoding:
67
+ - chunked
68
+ Connection:
69
+ - keep-alive
70
+ body:
71
+ encoding: US-ASCII
72
+ string: ''
73
+ http_version: !!null
74
+ recorded_at: Sat, 09 Jun 2012 14:59:19 GMT
44
75
  recorded_with: VCR 2.2.0
@@ -1,87 +1,87 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: get
5
5
  uri: https://<BASIC_AUTH>@api.github.com/user/orgs?access_token=<TOKEN>
6
- body:
6
+ body:
7
7
  encoding: US-ASCII
8
- string: ""
9
- headers:
10
- Accept-Encoding:
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - "*/*"
14
- User-Agent:
12
+ Accept:
13
+ - ! '*/*'
14
+ User-Agent:
15
15
  - Ruby
16
- response:
17
- status:
16
+ response:
17
+ status:
18
18
  code: 200
19
19
  message: OK
20
- headers:
21
- Server:
20
+ headers:
21
+ Server:
22
22
  - nginx/1.0.13
23
- Date:
23
+ Date:
24
24
  - Sat, 09 Jun 2012 11:40:14 GMT
25
- Content-Type:
25
+ Content-Type:
26
26
  - application/json; charset=utf-8
27
- Connection:
27
+ Connection:
28
28
  - keep-alive
29
- Status:
29
+ Status:
30
30
  - 200 OK
31
- X-Ratelimit-Limit:
32
- - "5000"
33
- Etag:
34
- - "\"d751713988987e9331980363e24189ce\""
35
- X-Ratelimit-Remaining:
36
- - "4993"
37
- Content-Length:
38
- - "2"
39
- body:
31
+ X-Ratelimit-Limit:
32
+ - '5000'
33
+ Etag:
34
+ - ! '"d751713988987e9331980363e24189ce"'
35
+ X-Ratelimit-Remaining:
36
+ - '4993'
37
+ Content-Length:
38
+ - '2'
39
+ body:
40
40
  encoding: US-ASCII
41
- string: "[]"
42
- http_version:
41
+ string: ! '[]'
42
+ http_version: !!null
43
43
  recorded_at: Sat, 09 Jun 2012 11:40:14 GMT
44
- - request:
44
+ - request:
45
45
  method: get
46
46
  uri: https://<BASIC_AUTH>@api.github.com/users/wycats/orgs?access_token=<TOKEN>
47
- body:
47
+ body:
48
48
  encoding: US-ASCII
49
- string: ""
50
- headers:
51
- Accept-Encoding:
49
+ string: ''
50
+ headers:
51
+ Accept-Encoding:
52
52
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
53
- Accept:
54
- - "*/*"
55
- User-Agent:
53
+ Accept:
54
+ - ! '*/*'
55
+ User-Agent:
56
56
  - Ruby
57
- response:
58
- status:
57
+ response:
58
+ status:
59
59
  code: 200
60
60
  message: OK
61
- headers:
62
- Server:
61
+ headers:
62
+ Server:
63
63
  - nginx/1.0.13
64
- Date:
64
+ Date:
65
65
  - Sat, 09 Jun 2012 11:46:00 GMT
66
- Content-Type:
66
+ Content-Type:
67
67
  - application/json; charset=utf-8
68
- Transfer-Encoding:
68
+ Transfer-Encoding:
69
69
  - chunked
70
- Connection:
70
+ Connection:
71
71
  - keep-alive
72
- Status:
72
+ Status:
73
73
  - 200 OK
74
- X-Ratelimit-Limit:
75
- - "5000"
76
- Etag:
77
- - "\"e4c0ca9168a29d6b77a5ebf65285b8e4\""
78
- X-Ratelimit-Remaining:
79
- - "4990"
80
- Content-Encoding:
74
+ X-Ratelimit-Limit:
75
+ - '5000'
76
+ Etag:
77
+ - ! '"e4c0ca9168a29d6b77a5ebf65285b8e4"'
78
+ X-Ratelimit-Remaining:
79
+ - '4990'
80
+ Content-Encoding:
81
81
  - gzip
82
- body:
82
+ body:
83
83
  encoding: ASCII-8BIT
84
- string: !binary |
84
+ string: !binary |-
85
85
  H4sIAAAAAAAAA82Wy4rcMBBF/6Uhu5luqar0GgjZ5SdCCCWp1OOZfsV2B0KY
86
86
  f48mbbedZbxxwAvBFbKO6qp0v/za8A/uuf12bQ+bp81z31+6p92uk3RtZbtv
87
87
  b+o2nY+723CHqmBgFQQQxaMNOedii0SKolD5T/njuAoD+a1s+ZWP3GxP0u+4
@@ -98,7 +98,37 @@ http_interactions:
98
98
  IUqw2iOueQh9c8jSnIeuptEYb/Rk+VFegl1DiRaDmutznaPimta8JCvKWOsi
99
99
  rppX+vMrN/mObbH60s+wB3kJNpCyWICLTo5UUMlwPVMoxlsRALNmtaVtXmfp
100
100
  VNeHtT4yE/ddf/v6G59sY197DQAA
101
-
102
- http_version:
101
+ http_version: !!null
103
102
  recorded_at: Sat, 09 Jun 2012 11:46:01 GMT
103
+ - request:
104
+ method: get
105
+ uri: https://api.github.com/user/orgs?access_token=<TOKEN>
106
+ body:
107
+ encoding: US-ASCII
108
+ string: ''
109
+ headers:
110
+ Accept-Encoding:
111
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
112
+ Accept:
113
+ - ! '*/*'
114
+ User-Agent:
115
+ - Ruby
116
+ response:
117
+ status:
118
+ code: 500
119
+ message: Internal Server Error
120
+ headers:
121
+ Server:
122
+ - nginx/1.0.13
123
+ Date:
124
+ - Sat, 09 Jun 2012 14:59:18 GMT
125
+ Transfer-Encoding:
126
+ - chunked
127
+ Connection:
128
+ - keep-alive
129
+ body:
130
+ encoding: US-ASCII
131
+ string: ''
132
+ http_version: !!null
133
+ recorded_at: Sat, 09 Jun 2012 14:59:19 GMT
104
134
  recorded_with: VCR 2.2.0
@@ -1,48 +1,50 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: get
5
5
  uri: https://<BASIC_AUTH>@api.github.com/repos/wycats/thor/issues?access_token=<TOKEN>&per_page=50&state=closed
6
- body:
6
+ body:
7
7
  encoding: US-ASCII
8
- string: ""
9
- headers:
10
- Accept-Encoding:
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - "*/*"
14
- User-Agent:
12
+ Accept:
13
+ - ! '*/*'
14
+ User-Agent:
15
15
  - Ruby
16
- response:
17
- status:
16
+ response:
17
+ status:
18
18
  code: 200
19
19
  message: OK
20
- headers:
21
- Server:
20
+ headers:
21
+ Server:
22
22
  - nginx/1.0.13
23
- Date:
23
+ Date:
24
24
  - Sat, 02 Jun 2012 19:20:33 GMT
25
- Content-Type:
25
+ Content-Type:
26
26
  - application/json; charset=utf-8
27
- Transfer-Encoding:
27
+ Transfer-Encoding:
28
28
  - chunked
29
- Connection:
29
+ Connection:
30
30
  - keep-alive
31
- Status:
31
+ Status:
32
32
  - 200 OK
33
- X-Ratelimit-Limit:
34
- - "5000"
35
- Etag:
36
- - "\"464b857ce68f30ee73353428719cebf1\""
37
- Link:
38
- - <https://api.github.com/repos/wycats/thor/issues?access_token=<TOKEN>&page=2&per_page=50&state=closed>; rel="next", <https://api.github.com/repos/wycats/thor/issues?access_token=<TOKEN>&page=4&per_page=50&state=closed>; rel="last"
39
- X-Ratelimit-Remaining:
40
- - "4983"
41
- Content-Encoding:
33
+ X-Ratelimit-Limit:
34
+ - '5000'
35
+ Etag:
36
+ - ! '"464b857ce68f30ee73353428719cebf1"'
37
+ Link:
38
+ - <https://api.github.com/repos/wycats/thor/issues?access_token=<TOKEN>&page=2&per_page=50&state=closed>;
39
+ rel="next", <https://api.github.com/repos/wycats/thor/issues?access_token=<TOKEN>&page=4&per_page=50&state=closed>;
40
+ rel="last"
41
+ X-Ratelimit-Remaining:
42
+ - '4983'
43
+ Content-Encoding:
42
44
  - gzip
43
- body:
45
+ body:
44
46
  encoding: ASCII-8BIT
45
- string: !binary |
47
+ string: !binary |-
46
48
  H4sIAAAAAAAAA+1963rbRrblqyBS0pJPiyQAkiDIzqUd20l0Oo57bGcyfWx/
47
49
  EkCAEiKS0AFIy+okDzDPNS82a+2qAgGKIkHS6j4/3N/nDkXiUijU3rUva6/9
48
50
  5reD4TjN4+gsmB0MDlzbcRt2t+H0XzveoN0bdL3/Ojg5mCWzcYyfX8aT9H1s
@@ -394,7 +396,37 @@ http_interactions:
394
396
  IljQmEVfgxN2/JyiDl7C/8nolhp1cQv2UBIq1nPqQF5Z1eKpTgkcqOzTKGeB
395
397
  e4P+g1K2w4QIR1sSY9wbyR7mV6QhAkYpzZ7qF9x7BnoBXeg5KzTMu/8PzAA6
396
398
  5JMBAQA=
397
-
398
- http_version:
399
+ http_version: !!null
399
400
  recorded_at: Sat, 02 Jun 2012 19:20:34 GMT
400
- recorded_with: VCR 2.1.1
401
+ - request:
402
+ method: get
403
+ uri: https://api.github.com/repos/wycats/thor/issues?access_token=<TOKEN>&per_page=50&state=closed
404
+ body:
405
+ encoding: US-ASCII
406
+ string: ''
407
+ headers:
408
+ Accept-Encoding:
409
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
410
+ Accept:
411
+ - ! '*/*'
412
+ User-Agent:
413
+ - Ruby
414
+ response:
415
+ status:
416
+ code: 500
417
+ message: Internal Server Error
418
+ headers:
419
+ Server:
420
+ - nginx/1.0.13
421
+ Date:
422
+ - Sat, 09 Jun 2012 14:59:25 GMT
423
+ Transfer-Encoding:
424
+ - chunked
425
+ Connection:
426
+ - keep-alive
427
+ body:
428
+ encoding: US-ASCII
429
+ string: ''
430
+ http_version: !!null
431
+ recorded_at: Sat, 09 Jun 2012 14:59:25 GMT
432
+ recorded_with: VCR 2.2.0