github_api 0.5.4 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
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
data/README.md CHANGED
@@ -94,9 +94,9 @@ Main API methods are grouped into the following classes that can be instantiated
94
94
  ```ruby
95
95
  Github - full API access
96
96
 
97
- Github::Gists Github::GitData Github::Repos
98
- Github::Orgs Github::Issues Github::Authorizations
99
- Github::PullRequests Github::Users Github::Events
97
+ Github::Gists Github::GitData Github::Repos Github::Search
98
+ Github::Orgs Github::Issues Github::Authorizations
99
+ Github::PullRequests Github::Users Github::Events
100
100
  ```
101
101
 
102
102
  Some parts of GitHub API v3 require you to be autheticated, for instance the following are examples of APIs only for the authenticated user
@@ -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/events?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
  - Fri, 08 Jun 2012 21:49:55 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
- - "\"53620645d77fa5f3ff4562a89cf69152\""
37
- Link:
38
- - <https://api.github.com/repos/wycats/thor/issues/events?access_token=<TOKEN>&page=2>; rel="next", <https://api.github.com/repos/wycats/thor/issues/events?access_token=<TOKEN>&page=18>; rel="last"
39
- X-Ratelimit-Remaining:
40
- - "4993"
41
- Content-Encoding:
33
+ X-Ratelimit-Limit:
34
+ - '5000'
35
+ Etag:
36
+ - ! '"53620645d77fa5f3ff4562a89cf69152"'
37
+ Link:
38
+ - <https://api.github.com/repos/wycats/thor/issues/events?access_token=<TOKEN>&page=2>;
39
+ rel="next", <https://api.github.com/repos/wycats/thor/issues/events?access_token=<TOKEN>&page=18>;
40
+ rel="last"
41
+ X-Ratelimit-Remaining:
42
+ - '4993'
43
+ Content-Encoding:
42
44
  - gzip
43
- body:
45
+ body:
44
46
  encoding: ASCII-8BIT
45
- string: !binary |
47
+ string: !binary |-
46
48
  H4sIAAAAAAAAA+1dC3PbNrr9K6iSnaQ7tkTwTTVNJ5s0ezN7u3un9b2duXHG
47
49
  AknQ4poitSRlx93pf98DUJQoiRJtmanTBpmxI4sE+OF1+OF7HLz/94AFZZYP
48
50
  xvhwzUqWXyzyZDAeTMtyXoxHo4IHi5wPL/Pq6jDIZqPq44hGjulTI6LcCuzA
@@ -154,7 +156,37 @@ http_interactions:
154
156
  BhzjANmCXl0/MIqNxdqnZ1cBpQLK9hB8AdsKKOV7Cz1xrD7ZBTsKKEWSTDGq
155
157
  gxwrINzKcx2Emh/pmub6UUjF0aoMzD6mFlFHM1wWaYHu2pETmkJHkKC9rOV+
156
158
  cDrjVdLTh/8ANq8FmjW7AAA=
157
-
158
- http_version:
159
+ http_version: !!null
159
160
  recorded_at: Fri, 08 Jun 2012 21:49:55 GMT
161
+ - request:
162
+ method: get
163
+ uri: https://api.github.com/repos/wycats/thor/issues/events?access_token=<TOKEN>
164
+ body:
165
+ encoding: US-ASCII
166
+ string: ''
167
+ headers:
168
+ Accept-Encoding:
169
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
170
+ Accept:
171
+ - ! '*/*'
172
+ User-Agent:
173
+ - Ruby
174
+ response:
175
+ status:
176
+ code: 500
177
+ message: Internal Server Error
178
+ headers:
179
+ Server:
180
+ - nginx/1.0.13
181
+ Date:
182
+ - Sat, 09 Jun 2012 14:59:04 GMT
183
+ Transfer-Encoding:
184
+ - chunked
185
+ Connection:
186
+ - keep-alive
187
+ body:
188
+ encoding: US-ASCII
189
+ string: ''
190
+ http_version: !!null
191
+ recorded_at: Sat, 09 Jun 2012 14:59:05 GMT
160
192
  recorded_with: VCR 2.2.0
@@ -1,48 +1,49 @@
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/networks/wycats/thor/events?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
  - Fri, 08 Jun 2012 21:50:32 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
- - "\"77f2b88eef29fcf9eb8c918c8eea99b6\""
37
- Link:
38
- - <https://api.github.com/networks/wycats/thor/events?access_token=<TOKEN>&page=2>; rel="next"
39
- X-Ratelimit-Remaining:
40
- - "4992"
41
- Content-Encoding:
33
+ X-Ratelimit-Limit:
34
+ - '5000'
35
+ Etag:
36
+ - ! '"77f2b88eef29fcf9eb8c918c8eea99b6"'
37
+ Link:
38
+ - <https://api.github.com/networks/wycats/thor/events?access_token=<TOKEN>&page=2>;
39
+ rel="next"
40
+ X-Ratelimit-Remaining:
41
+ - '4992'
42
+ Content-Encoding:
42
43
  - gzip
43
- body:
44
+ body:
44
45
  encoding: ASCII-8BIT
45
- string: !binary |
46
+ string: !binary |-
46
47
  H4sIAAAAAAAAA9Vba2sj2RH9K0YQ8mVs3fejISSB7OZTSD4IAlmW5T6lXltq
47
48
  oZZmMjvsf8+5etjexOpuCTrQ4Bls3JKquk7XPXXq+IdvMxf2zW5WfZstd+6z
48
49
  27vdT3WcVTNrktXUJyUjEZFyTqKWnlFHbdbJ89mn2WH3ggtX+/22reZzt62f
@@ -97,7 +98,37 @@ http_interactions:
97
98
  G+OkYENTWCJbGH2zjMEP3BwumyZ+qTevrj7B+B27475YRofAaxpTgQA16vhH
98
99
  eR+3AZiKLEYBCMWdbSCGyEUQYIMgg4ySzH3MVER05EioHzoNwNW5W7pDvDQC
99
100
  gXPknn1RXzjjo+Atk4ngAGZsJq4fB2xBIBACCgUHP/4HuOdhUfw9AAA=
100
-
101
- http_version:
101
+ http_version: !!null
102
102
  recorded_at: Fri, 08 Jun 2012 21:50:32 GMT
103
+ - request:
104
+ method: get
105
+ uri: https://api.github.com/networks/wycats/thor/events?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:05 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:05 GMT
103
134
  recorded_with: VCR 2.2.0
@@ -1,48 +1,48 @@
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/rails/events?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
  - Fri, 08 Jun 2012 21:51:22 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
- - "\"06adc86e990d0d178d5b92b766cd5d60\""
37
- Link:
33
+ X-Ratelimit-Limit:
34
+ - '5000'
35
+ Etag:
36
+ - ! '"06adc86e990d0d178d5b92b766cd5d60"'
37
+ Link:
38
38
  - <https://api.github.com/orgs/rails/events?access_token=<TOKEN>&page=2>; rel="next"
39
- X-Ratelimit-Remaining:
40
- - "4991"
41
- Content-Encoding:
39
+ X-Ratelimit-Remaining:
40
+ - '4991'
41
+ Content-Encoding:
42
42
  - gzip
43
- body:
43
+ body:
44
44
  encoding: ASCII-8BIT
45
- string: !binary |
45
+ string: !binary |-
46
46
  H4sIAAAAAAAAA+1965LbRpbmq2CpcJS0UcXC/Ra222q3Fa0Nu8crqaMjxuUo
47
47
  4ZIoQiIBNkBWqUbhHz2vME+wv/fHPpRfZL+TmQBBEgR4k2mN2dOjLpJA3vPc
48
48
  z3d++jgIolleDPyPg7siuA9mQXGbxgN/oAdhHFpqFCRqHFmhpamGoSa2G6p6
@@ -289,7 +289,37 @@ http_interactions:
289
289
  jD7ZRGhxXA6XhMjUTFdF/lgV6S9+wwFbF4GMK/0KWYfQ4fu6WaeGUgRaaqIS
290
290
  gVAbzWEa55W/nbC1j2RI528p7fI0QhpAdklNOVuHD7UOE2snIe3n/w/gmKTe
291
291
  BRoBAA==
292
-
293
- http_version:
292
+ http_version: !!null
294
293
  recorded_at: Fri, 08 Jun 2012 21:51:22 GMT
294
+ - request:
295
+ method: get
296
+ uri: https://api.github.com/orgs/rails/events?access_token=<TOKEN>
297
+ body:
298
+ encoding: US-ASCII
299
+ string: ''
300
+ headers:
301
+ Accept-Encoding:
302
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
303
+ Accept:
304
+ - ! '*/*'
305
+ User-Agent:
306
+ - Ruby
307
+ response:
308
+ status:
309
+ code: 500
310
+ message: Internal Server Error
311
+ headers:
312
+ Server:
313
+ - nginx/1.0.13
314
+ Date:
315
+ - Sat, 09 Jun 2012 14:59:06 GMT
316
+ Transfer-Encoding:
317
+ - chunked
318
+ Connection:
319
+ - keep-alive
320
+ body:
321
+ encoding: US-ASCII
322
+ string: ''
323
+ http_version: !!null
324
+ recorded_at: Sat, 09 Jun 2012 14:59:06 GMT
295
325
  recorded_with: VCR 2.2.0
@@ -1,48 +1,49 @@
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/users/josevalim/events?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
  - Fri, 08 Jun 2012 21:52:57 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
- - "\"f4af0d09f082fa3326df760c01e21091\""
37
- Link:
38
- - <https://api.github.com/users/josevalim/events?access_token=<TOKEN>&page=2>; rel="next"
39
- X-Ratelimit-Remaining:
40
- - "4989"
41
- Content-Encoding:
33
+ X-Ratelimit-Limit:
34
+ - '5000'
35
+ Etag:
36
+ - ! '"f4af0d09f082fa3326df760c01e21091"'
37
+ Link:
38
+ - <https://api.github.com/users/josevalim/events?access_token=<TOKEN>&page=2>;
39
+ rel="next"
40
+ X-Ratelimit-Remaining:
41
+ - '4989'
42
+ Content-Encoding:
42
43
  - gzip
43
- body:
44
+ body:
44
45
  encoding: ASCII-8BIT
45
- string: !binary |
46
+ string: !binary |-
46
47
  H4sIAAAAAAAAA+19+3rb1rXnq2CUme/YHYnE/cKZtslJ3dTnS9p8rtNblFE2
47
48
  gA0JFQmwAGlZycnTnL/Oc/TF5rfW3iBBEQBFio7dhKlrSySw73tdf2utr78/
48
49
  E8mirM4m359dV+KNWIjqKk/PJmcydILMj4MstVxfxJYvUyf1fccN/MT0HXl2
@@ -325,7 +326,37 @@ http_interactions:
325
326
  JMv8KIPHz/GzUHhBAt+LKRxJwIauTBNm6DmUwm6fTBN7dPmhYNb3GHI/Zv0r
326
327
  rrZgfPq7T37/2YvP//DZBxKV5CI3VNSL5TtFJR0YlURZOlHMmdTsb/4/RwaN
327
328
  njktAQA=
328
-
329
- http_version:
329
+ http_version: !!null
330
330
  recorded_at: Fri, 08 Jun 2012 21:52:58 GMT
331
+ - request:
332
+ method: get
333
+ uri: https://api.github.com/users/josevalim/events?access_token=<TOKEN>
334
+ body:
335
+ encoding: US-ASCII
336
+ string: ''
337
+ headers:
338
+ Accept-Encoding:
339
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
340
+ Accept:
341
+ - ! '*/*'
342
+ User-Agent:
343
+ - Ruby
344
+ response:
345
+ status:
346
+ code: 500
347
+ message: Internal Server Error
348
+ headers:
349
+ Server:
350
+ - nginx/1.0.13
351
+ Date:
352
+ - Sat, 09 Jun 2012 14:59:08 GMT
353
+ Transfer-Encoding:
354
+ - chunked
355
+ Connection:
356
+ - keep-alive
357
+ body:
358
+ encoding: US-ASCII
359
+ string: ''
360
+ http_version: !!null
361
+ recorded_at: Sat, 09 Jun 2012 14:59:08 GMT
331
362
  recorded_with: VCR 2.2.0