contentful 2.16.0 → 2.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/lib/contentful/version.rb +1 -1
  4. metadata +3 -370
  5. data/.gitignore +0 -7
  6. data/.rspec +0 -1
  7. data/.rubocop.yml +0 -31
  8. data/.rubocop_todo.yml +0 -35
  9. data/.travis.yml +0 -15
  10. data/.yardopts +0 -4
  11. data/Gemfile +0 -9
  12. data/Guardfile +0 -24
  13. data/RELEASE.md +0 -8
  14. data/Rakefile +0 -33
  15. data/contentful.gemspec +0 -44
  16. data/examples/custom_classes.rb +0 -39
  17. data/examples/example_queries.rb +0 -26
  18. data/examples/raise_errors.rb +0 -20
  19. data/examples/raw_mode.rb +0 -14
  20. data/spec/array_spec.rb +0 -187
  21. data/spec/asset_spec.rb +0 -220
  22. data/spec/auto_includes_spec.rb +0 -12
  23. data/spec/client_class_spec.rb +0 -86
  24. data/spec/client_configuration_spec.rb +0 -394
  25. data/spec/content_type_spec.rb +0 -49
  26. data/spec/deleted_asset_spec.rb +0 -38
  27. data/spec/deleted_entry_spec.rb +0 -38
  28. data/spec/entry_spec.rb +0 -815
  29. data/spec/error_class_spec.rb +0 -327
  30. data/spec/error_requests_spec.rb +0 -87
  31. data/spec/field_spec.rb +0 -95
  32. data/spec/file_spec.rb +0 -33
  33. data/spec/fixtures/json_responses/400_details_errors_object.json +0 -14
  34. data/spec/fixtures/json_responses/400_details_errors_string.json +0 -12
  35. data/spec/fixtures/json_responses/400_details_string.json +0 -8
  36. data/spec/fixtures/json_responses/403_reasons.json +0 -13
  37. data/spec/fixtures/json_responses/404_details_string.json +0 -8
  38. data/spec/fixtures/json_responses/404_id.json +0 -11
  39. data/spec/fixtures/json_responses/404_sys_type.json +0 -12
  40. data/spec/fixtures/json_responses/404_type.json +0 -10
  41. data/spec/fixtures/json_responses/content_type.json +0 -83
  42. data/spec/fixtures/json_responses/default_400.json +0 -7
  43. data/spec/fixtures/json_responses/default_401.json +0 -7
  44. data/spec/fixtures/json_responses/default_403.json +0 -7
  45. data/spec/fixtures/json_responses/default_404.json +0 -7
  46. data/spec/fixtures/json_responses/default_429.json +0 -7
  47. data/spec/fixtures/json_responses/default_500.json +0 -7
  48. data/spec/fixtures/json_responses/default_502.json +0 -7
  49. data/spec/fixtures/json_responses/default_503.json +0 -7
  50. data/spec/fixtures/json_responses/includes.json +0 -111
  51. data/spec/fixtures/json_responses/link_array.json +0 -43
  52. data/spec/fixtures/json_responses/not_found.json +0 -13
  53. data/spec/fixtures/json_responses/nyancat.json +0 -48
  54. data/spec/fixtures/json_responses/other_error.json +0 -9
  55. data/spec/fixtures/json_responses/other_error_no_details.json +0 -8
  56. data/spec/fixtures/json_responses/other_error_no_message.json +0 -8
  57. data/spec/fixtures/json_responses/other_error_no_request_id.json +0 -8
  58. data/spec/fixtures/json_responses/other_error_nothing.json +0 -6
  59. data/spec/fixtures/json_responses/self_link.json +0 -82
  60. data/spec/fixtures/json_responses/unparsable.json +0 -13
  61. data/spec/fixtures/vcr_cassettes/array.yml +0 -288
  62. data/spec/fixtures/vcr_cassettes/array/marshal_custom_classes.yml +0 -159
  63. data/spec/fixtures/vcr_cassettes/array/marshal_unpublished.yml +0 -315
  64. data/spec/fixtures/vcr_cassettes/array/nested_resources.yml +0 -159
  65. data/spec/fixtures/vcr_cassettes/arrayField.yml +0 -87
  66. data/spec/fixtures/vcr_cassettes/array_page_1.yml +0 -106
  67. data/spec/fixtures/vcr_cassettes/array_page_2.yml +0 -73
  68. data/spec/fixtures/vcr_cassettes/asset.yml +0 -96
  69. data/spec/fixtures/vcr_cassettes/asset/select_empty_array.yml +0 -104
  70. data/spec/fixtures/vcr_cassettes/asset/select_no_sys.yml +0 -119
  71. data/spec/fixtures/vcr_cassettes/asset/select_one_field.yml +0 -97
  72. data/spec/fixtures/vcr_cassettes/asset/select_only_sys.yml +0 -88
  73. data/spec/fixtures/vcr_cassettes/asset/with_tags.yml +0 -138
  74. data/spec/fixtures/vcr_cassettes/assets/issues_129.yml +0 -90
  75. data/spec/fixtures/vcr_cassettes/assets/issues_jekyll_46.yml +0 -115
  76. data/spec/fixtures/vcr_cassettes/bad_request.yml +0 -76
  77. data/spec/fixtures/vcr_cassettes/content_type.yml +0 -147
  78. data/spec/fixtures/vcr_cassettes/entries.yml +0 -561
  79. data/spec/fixtures/vcr_cassettes/entries/empty_fields.yml +0 -246
  80. data/spec/fixtures/vcr_cassettes/entries/issue_117.yml +0 -201
  81. data/spec/fixtures/vcr_cassettes/entries/issue_125.yml +0 -198
  82. data/spec/fixtures/vcr_cassettes/entries/rich_text.yml +0 -1707
  83. data/spec/fixtures/vcr_cassettes/entries/rich_text_hydration_issue.yml +0 -460
  84. data/spec/fixtures/vcr_cassettes/entries/rich_text_nested_fields.yml +0 -653
  85. data/spec/fixtures/vcr_cassettes/entries/rich_text_unresolved_relationships.yml +0 -983
  86. data/spec/fixtures/vcr_cassettes/entries/unresolvable_assets.yml +0 -89
  87. data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter.yml +0 -159
  88. data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter_deeply_nested.yml +0 -167
  89. data/spec/fixtures/vcr_cassettes/entry.yml +0 -102
  90. data/spec/fixtures/vcr_cassettes/entry/custom_resource.yml +0 -168
  91. data/spec/fixtures/vcr_cassettes/entry/include_resolution.yml +0 -101
  92. data/spec/fixtures/vcr_cassettes/entry/include_resolution_uniques.yml +0 -81
  93. data/spec/fixtures/vcr_cassettes/entry/json_objects.yml +0 -88
  94. data/spec/fixtures/vcr_cassettes/entry/json_objects_client.yml +0 -86
  95. data/spec/fixtures/vcr_cassettes/entry/marshal_138.yml +0 -159
  96. data/spec/fixtures/vcr_cassettes/entry/marshal_unpublished.yml +0 -303
  97. data/spec/fixtures/vcr_cassettes/entry/marshall.yml +0 -293
  98. data/spec/fixtures/vcr_cassettes/entry/raw.yml +0 -201
  99. data/spec/fixtures/vcr_cassettes/entry/search_link_to_asset.yml +0 -81
  100. data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry.yml +0 -81
  101. data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry_with_custom_query.yml +0 -115
  102. data/spec/fixtures/vcr_cassettes/entry/select_empty_array.yml +0 -111
  103. data/spec/fixtures/vcr_cassettes/entry/select_no_sys.yml +0 -102
  104. data/spec/fixtures/vcr_cassettes/entry/select_one_field.yml +0 -76
  105. data/spec/fixtures/vcr_cassettes/entry/select_one_field_proper.yml +0 -114
  106. data/spec/fixtures/vcr_cassettes/entry/select_only_sys.yml +0 -111
  107. data/spec/fixtures/vcr_cassettes/entry/with_tags.yml +0 -238
  108. data/spec/fixtures/vcr_cassettes/entry_cache.yml +0 -288
  109. data/spec/fixtures/vcr_cassettes/entry_locales.yml +0 -104
  110. data/spec/fixtures/vcr_cassettes/field.yml +0 -147
  111. data/spec/fixtures/vcr_cassettes/human.yml +0 -118
  112. data/spec/fixtures/vcr_cassettes/linkField.yml +0 -83
  113. data/spec/fixtures/vcr_cassettes/locale.yml +0 -83
  114. data/spec/fixtures/vcr_cassettes/locale_from_environment.yml +0 -121
  115. data/spec/fixtures/vcr_cassettes/location.yml +0 -193
  116. data/spec/fixtures/vcr_cassettes/multi_locale_array_reference.yml +0 -196
  117. data/spec/fixtures/vcr_cassettes/multi_locale_reference.yml +0 -214
  118. data/spec/fixtures/vcr_cassettes/not_found.yml +0 -76
  119. data/spec/fixtures/vcr_cassettes/nyancat.yml +0 -102
  120. data/spec/fixtures/vcr_cassettes/query_array_1.yml +0 -89
  121. data/spec/fixtures/vcr_cassettes/query_array_2.yml +0 -89
  122. data/spec/fixtures/vcr_cassettes/ratelimit.yml +0 -64
  123. data/spec/fixtures/vcr_cassettes/ratelimit_retry.yml +0 -294
  124. data/spec/fixtures/vcr_cassettes/reloaded_entry.yml +0 -102
  125. data/spec/fixtures/vcr_cassettes/space.yml +0 -83
  126. data/spec/fixtures/vcr_cassettes/sync_deleted_asset.yml +0 -174
  127. data/spec/fixtures/vcr_cassettes/sync_deleted_entry.yml +0 -89
  128. data/spec/fixtures/vcr_cassettes/sync_deletion.yml +0 -191
  129. data/spec/fixtures/vcr_cassettes/sync_environment.yml +0 -81
  130. data/spec/fixtures/vcr_cassettes/sync_page.yml +0 -637
  131. data/spec/fixtures/vcr_cassettes/sync_page_2.yml +0 -71
  132. data/spec/fixtures/vcr_cassettes/sync_page_short.yml +0 -106
  133. data/spec/fixtures/vcr_cassettes/unauthorized.yml +0 -64
  134. data/spec/fixtures/vcr_cassettes/unavailable.yml +0 -76
  135. data/spec/link_spec.rb +0 -50
  136. data/spec/locale_spec.rb +0 -37
  137. data/spec/location_spec.rb +0 -25
  138. data/spec/request_spec.rb +0 -57
  139. data/spec/resource_building_spec.rb +0 -31
  140. data/spec/response_spec.rb +0 -62
  141. data/spec/space_spec.rb +0 -31
  142. data/spec/spec_helper.rb +0 -14
  143. data/spec/support/client.rb +0 -6
  144. data/spec/support/json_responses.rb +0 -18
  145. data/spec/support/vcr.rb +0 -16
  146. data/spec/sync_page_spec.rb +0 -103
  147. data/spec/sync_spec.rb +0 -180
@@ -1,293 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?include=2&sys.id=nyancat
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - RubyContentfulGem/1.2.2
12
- Authorization:
13
- - Bearer b4c0n73n7fu1
14
- Content-Type:
15
- - application/vnd.contentful.delivery.v1+json
16
- Connection:
17
- - close
18
- Host:
19
- - cdn.contentful.com
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Access-Control-Allow-Headers:
26
- - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent
27
- Access-Control-Allow-Methods:
28
- - GET,HEAD,OPTIONS
29
- Access-Control-Allow-Origin:
30
- - "*"
31
- Access-Control-Expose-Headers:
32
- - Etag
33
- Access-Control-Max-Age:
34
- - '86400'
35
- Cache-Control:
36
- - max-age=0
37
- Content-Type:
38
- - application/vnd.contentful.delivery.v1+json
39
- Etag:
40
- - W/"9707115047cc402819250f844939b2aa"
41
- Server:
42
- - Contentful
43
- X-Content-Type-Options:
44
- - nosniff
45
- - nosniff
46
- X-Contentful-Request-Id:
47
- - fdff368667a9181d8c0b1451c9499407
48
- Content-Length:
49
- - '4201'
50
- Accept-Ranges:
51
- - bytes
52
- Date:
53
- - Thu, 05 Jan 2017 21:35:14 GMT
54
- Via:
55
- - 1.1 varnish
56
- Age:
57
- - '284'
58
- Connection:
59
- - close
60
- X-Served-By:
61
- - cache-gru7120-GRU
62
- X-Cache:
63
- - HIT
64
- X-Cache-Hits:
65
- - '1'
66
- X-Timer:
67
- - S1483652114.308569,VS0,VE0
68
- Vary:
69
- - Accept-Encoding
70
- body:
71
- encoding: ASCII-8BIT
72
- string: |
73
- {
74
- "sys": {
75
- "type": "Array"
76
- },
77
- "total": 1,
78
- "skip": 0,
79
- "limit": 100,
80
- "items": [
81
- {
82
- "sys": {
83
- "space": {
84
- "sys": {
85
- "type": "Link",
86
- "linkType": "Space",
87
- "id": "cfexampleapi"
88
- }
89
- },
90
- "id": "nyancat",
91
- "type": "Entry",
92
- "createdAt": "2013-06-27T22:46:19.513Z",
93
- "updatedAt": "2013-09-04T09:19:39.027Z",
94
- "revision": 5,
95
- "contentType": {
96
- "sys": {
97
- "type": "Link",
98
- "linkType": "ContentType",
99
- "id": "cat"
100
- }
101
- },
102
- "locale": "en-US"
103
- },
104
- "fields": {
105
- "name": "Nyan Cat",
106
- "likes": [
107
- "rainbows",
108
- "fish"
109
- ],
110
- "color": "rainbow",
111
- "bestFriend": {
112
- "sys": {
113
- "type": "Link",
114
- "linkType": "Entry",
115
- "id": "happycat"
116
- }
117
- },
118
- "birthday": "2011-04-04T22:00:00+00:00",
119
- "lives": 1337,
120
- "image": {
121
- "sys": {
122
- "type": "Link",
123
- "linkType": "Asset",
124
- "id": "nyancat"
125
- }
126
- },
127
- "catPack": [
128
- {
129
- "sys": {
130
- "type": "Link",
131
- "linkType": "Entry",
132
- "id": "happycat"
133
- }
134
- },
135
- {
136
- "sys": {
137
- "type": "Link",
138
- "linkType": "Entry",
139
- "id": "worriedcat"
140
- }
141
- }
142
- ]
143
- }
144
- }
145
- ],
146
- "includes": {
147
- "Entry": [
148
- {
149
- "sys": {
150
- "space": {
151
- "sys": {
152
- "type": "Link",
153
- "linkType": "Space",
154
- "id": "cfexampleapi"
155
- }
156
- },
157
- "id": "happycat",
158
- "type": "Entry",
159
- "createdAt": "2013-06-27T22:46:20.171Z",
160
- "updatedAt": "2013-11-18T15:58:02.018Z",
161
- "revision": 8,
162
- "contentType": {
163
- "sys": {
164
- "type": "Link",
165
- "linkType": "ContentType",
166
- "id": "cat"
167
- }
168
- },
169
- "locale": "en-US"
170
- },
171
- "fields": {
172
- "name": "Happy Cat",
173
- "likes": [
174
- "cheezburger"
175
- ],
176
- "color": "gray",
177
- "bestFriend": {
178
- "sys": {
179
- "type": "Link",
180
- "linkType": "Entry",
181
- "id": "nyancat"
182
- }
183
- },
184
- "birthday": "2003-10-28T23:00:00+00:00",
185
- "lives": 1,
186
- "image": {
187
- "sys": {
188
- "type": "Link",
189
- "linkType": "Asset",
190
- "id": "happycat"
191
- }
192
- }
193
- }
194
- },
195
- {
196
- "sys": {
197
- "space": {
198
- "sys": {
199
- "type": "Link",
200
- "linkType": "Space",
201
- "id": "cfexampleapi"
202
- }
203
- },
204
- "id": "worriedcat",
205
- "type": "Entry",
206
- "createdAt": "2013-06-27T22:46:20.171Z",
207
- "updatedAt": "2013-11-18T15:58:02.018Z",
208
- "revision": 8,
209
- "contentType": {
210
- "sys": {
211
- "type": "Link",
212
- "linkType": "ContentType",
213
- "id": "cat"
214
- }
215
- },
216
- "locale": "en-US"
217
- },
218
- "fields": {
219
- "name": "Worried Cat"
220
- }
221
- }
222
- ],
223
- "Asset": [
224
- {
225
- "sys": {
226
- "space": {
227
- "sys": {
228
- "type": "Link",
229
- "linkType": "Space",
230
- "id": "cfexampleapi"
231
- }
232
- },
233
- "id": "happycat",
234
- "type": "Asset",
235
- "createdAt": "2013-09-02T14:56:34.267Z",
236
- "updatedAt": "2013-09-02T15:11:24.361Z",
237
- "revision": 2,
238
- "locale": "en-US"
239
- },
240
- "fields": {
241
- "title": "Happy Cat",
242
- "file": {
243
- "url": "//images.contentful.com/cfexampleapi/3MZPnjZTIskAIIkuuosCss/382a48dfa2cb16c47aa2c72f7b23bf09/happycatw.jpg",
244
- "details": {
245
- "size": 59939,
246
- "image": {
247
- "width": 273,
248
- "height": 397
249
- }
250
- },
251
- "fileName": "happycatw.jpg",
252
- "contentType": "image/jpeg"
253
- }
254
- }
255
- },
256
- {
257
- "sys": {
258
- "space": {
259
- "sys": {
260
- "type": "Link",
261
- "linkType": "Space",
262
- "id": "cfexampleapi"
263
- }
264
- },
265
- "id": "nyancat",
266
- "type": "Asset",
267
- "createdAt": "2013-09-02T14:56:34.240Z",
268
- "updatedAt": "2013-09-02T14:56:34.240Z",
269
- "revision": 1,
270
- "locale": "en-US"
271
- },
272
- "fields": {
273
- "title": "Nyan Cat",
274
- "file": {
275
- "url": "//images.contentful.com/cfexampleapi/4gp6taAwW4CmSgumq2ekUm/9da0cd1936871b8d72343e895a00d611/Nyan_cat_250px_frame.png",
276
- "details": {
277
- "size": 12273,
278
- "image": {
279
- "width": 250,
280
- "height": 250
281
- }
282
- },
283
- "fileName": "Nyan_cat_250px_frame.png",
284
- "contentType": "image/png"
285
- }
286
- }
287
- }
288
- ]
289
- }
290
- }
291
- http_version:
292
- recorded_at: Thu, 05 Jan 2017 21:35:14 GMT
293
- recorded_with: VCR 3.0.3
@@ -1,201 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?sys.id=nyancat
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - RubyContentfulGem/1.2.0
12
- Authorization:
13
- - Bearer b4c0n73n7fu1
14
- Content-Type:
15
- - application/vnd.contentful.delivery.v1+json
16
- Accept-Encoding:
17
- - gzip
18
- Connection:
19
- - close
20
- Host:
21
- - cdn.contentful.com
22
- response:
23
- status:
24
- code: 200
25
- message: OK
26
- headers:
27
- Access-Control-Allow-Headers:
28
- - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent
29
- Access-Control-Allow-Methods:
30
- - GET,HEAD,OPTIONS
31
- Access-Control-Allow-Origin:
32
- - "*"
33
- Access-Control-Expose-Headers:
34
- - Etag
35
- Access-Control-Max-Age:
36
- - '86400'
37
- Cache-Control:
38
- - max-age=0
39
- Content-Encoding:
40
- - gzip
41
- Content-Type:
42
- - application/vnd.contentful.delivery.v1+json
43
- Etag:
44
- - W/"9707115047cc402819250f844939b2aa"
45
- Server:
46
- - Contentful
47
- X-Content-Type-Options:
48
- - nosniff
49
- - nosniff
50
- X-Contentful-Request-Id:
51
- - 5d8c70a35f32dff1f29bff44068b19df
52
- Content-Length:
53
- - '1034'
54
- Accept-Ranges:
55
- - bytes
56
- Date:
57
- - Tue, 20 Dec 2016 15:27:45 GMT
58
- Via:
59
- - 1.1 varnish
60
- Age:
61
- - '171'
62
- Connection:
63
- - close
64
- X-Served-By:
65
- - cache-fra1246-FRA
66
- X-Cache:
67
- - HIT
68
- X-Cache-Hits:
69
- - '1'
70
- X-Timer:
71
- - S1482247665.377533,VS0,VE0
72
- Vary:
73
- - Accept-Encoding
74
- body:
75
- encoding: ASCII-8BIT
76
- string: !binary |-
77
- H4sIAAAAAAAAA+VX227jNhB9z1cEet1a4kX3NyNo0QDtokC8KJCiCGiJthlL
78
- sirRm/Uu8u8lqYtJXZxF1m8rBI5EcsiZwzmHw283t7dWfaqt+PabeBUf/FRS
79
- 8WUtq4qcLNH2+oscww+cZKIdqq96z0rxAdRHxnLGZRdovhmnuZzwHzVhM+1g
80
- FbVSXZJELtWNaBo1X2SDaux8+oMVe0uueX7E6sV+1fr8oGYcDGCpDCfZ0C8k
81
- LzNKSiaj6p7X/l3F2TxWY1OcSJEQrk3Ye/JrwauT3pFUlHCaLiUQFgIQL4C/
82
- QMEKodj1YxjZHsSPusGxTIcG0QK4KxCJ0TGObIACw6Cin1nNDoVYwNNcTQ4F
83
- pwVvIbgelnfavNOICmTeBDI7JCRT+USLxaeHzqDH2towmqXn9JP4WwXJlclH
84
- gf/tnbkBGdvTc3K121URVqwPL7Wx9WLqenf28F8Ds+xQyRVaQ31f1rTmv1WM
85
- FjJtrgfnMGFUoE2a7UhZnmSevYnmmlV8lwpaNjkGRb7IlBE5BoD4+6B+9WAy
86
- 9lmhBTEO9PTOyfa6zFvWNdWJooXXsWg6ura1oaH8VftksSLJjqnyvdWlBsBO
87
- Vc66MqEsM9oyOVI5ekFfRO9bCtNv5JzGCA3Vg9fZNEwBo69za5w71mW5QcCG
88
- AdTVQ/g4FhwIFzBcQS/2whggG8BwYKJJTmh4Ni861wB5XnrOUJt0uYTwjAS1
89
- B1urIBMyJNbqhOh3ydCBEqnEGGuRaE52lH5dH6strXRKawIkBx1aCdrKY9YA
90
- d1aBroHtOJcuU/USsqYcAbyAYIHCFcIzcqQgawXJJMGEHl0j2ClV6lNoSnYH
91
- 0fas7fjb/G930mqm/yklaYzslCSJggatoBt7foxdG/lGQSM2YixJoDHxYghj
92
- 5NrYH6qYJknIyKEfoDlnvKlRZni+YapbLwak85Wshy3HYTJ7a7vVxM0xE6+5
93
- ox8GDv7z8a/i+XF1X++X9/f74/FQ39W1g0NE3DDdEJSsoZ+4ARFvAdoEa4TX
94
- GxA5XY6+2M/l1lAJ4UBKOWGZWTu1clazr9JjL4pwpKPUcH2SbarrhaV8JwxR
95
- gIdmondH2XYnC1wcBdqBJi31A85QVjWtBPBjW9RdDMk8VyyFrPNc0u1MbdRV
96
- D52z5y0yLjUdKhMXjmvIzNS1o5eZ9xcF4+uHmLS/no0Kru8goAverAlaAvac
97
- HZloBFR3we6xrkHAiYq/TZ8f45+7LX1Oli9/u3f5w/aY/4fo/lPuRCkBSQoj
98
- 7IcBXIdpgLCLaRh5BIDUh9CR/jyJ0vwJeaD88rSpRBLbZfEOKkI0wakmwUeh
99
- Kc70VPTUrdp8zlQUjr2bit8b3SQrJQp6VTt3Vor215vXm/8BI5JeymkQAAA=
100
- http_version:
101
- recorded_at: Tue, 20 Dec 2016 15:27:44 GMT
102
- - request:
103
- method: get
104
- uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?sys.id=nyancat
105
- body:
106
- encoding: US-ASCII
107
- string: ''
108
- headers:
109
- User-Agent:
110
- - RubyContentfulGem/1.2.0
111
- Authorization:
112
- - Bearer b4c0n73n7fu1
113
- Content-Type:
114
- - application/vnd.contentful.delivery.v1+json
115
- Accept-Encoding:
116
- - gzip
117
- Connection:
118
- - close
119
- Host:
120
- - cdn.contentful.com
121
- response:
122
- status:
123
- code: 200
124
- message: OK
125
- headers:
126
- Access-Control-Allow-Headers:
127
- - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent
128
- Access-Control-Allow-Methods:
129
- - GET,HEAD,OPTIONS
130
- Access-Control-Allow-Origin:
131
- - "*"
132
- Access-Control-Expose-Headers:
133
- - Etag
134
- Access-Control-Max-Age:
135
- - '86400'
136
- Cache-Control:
137
- - max-age=0
138
- Content-Encoding:
139
- - gzip
140
- Content-Type:
141
- - application/vnd.contentful.delivery.v1+json
142
- Etag:
143
- - W/"9707115047cc402819250f844939b2aa"
144
- Server:
145
- - Contentful
146
- X-Content-Type-Options:
147
- - nosniff
148
- - nosniff
149
- X-Contentful-Request-Id:
150
- - 5d8c70a35f32dff1f29bff44068b19df
151
- Content-Length:
152
- - '1034'
153
- Accept-Ranges:
154
- - bytes
155
- Date:
156
- - Tue, 20 Dec 2016 15:27:45 GMT
157
- Via:
158
- - 1.1 varnish
159
- Age:
160
- - '171'
161
- Connection:
162
- - close
163
- X-Served-By:
164
- - cache-fra1229-FRA
165
- X-Cache:
166
- - HIT
167
- X-Cache-Hits:
168
- - '1'
169
- X-Timer:
170
- - S1482247665.468279,VS0,VE0
171
- Vary:
172
- - Accept-Encoding
173
- body:
174
- encoding: ASCII-8BIT
175
- string: !binary |-
176
- H4sIAAAAAAAAA+VX227jNhB9z1cEet1a4kX3NyNo0QDtokC8KJCiCGiJthlL
177
- sirRm/Uu8u8lqYtJXZxF1m8rBI5EcsiZwzmHw283t7dWfaqt+PabeBUf/FRS
178
- 8WUtq4qcLNH2+oscww+cZKIdqq96z0rxAdRHxnLGZRdovhmnuZzwHzVhM+1g
179
- FbVSXZJELtWNaBo1X2SDaux8+oMVe0uueX7E6sV+1fr8oGYcDGCpDCfZ0C8k
180
- LzNKSiaj6p7X/l3F2TxWY1OcSJEQrk3Ye/JrwauT3pFUlHCaLiUQFgIQL4C/
181
- QMEKodj1YxjZHsSPusGxTIcG0QK4KxCJ0TGObIACw6Cin1nNDoVYwNNcTQ4F
182
- pwVvIbgelnfavNOICmTeBDI7JCRT+USLxaeHzqDH2towmqXn9JP4WwXJlclH
183
- gf/tnbkBGdvTc3K121URVqwPL7Wx9WLqenf28F8Ds+xQyRVaQ31f1rTmv1WM
184
- FjJtrgfnMGFUoE2a7UhZnmSevYnmmlV8lwpaNjkGRb7IlBE5BoD4+6B+9WAy
185
- 9lmhBTEO9PTOyfa6zFvWNdWJooXXsWg6ura1oaH8VftksSLJjqnyvdWlBsBO
186
- Vc66MqEsM9oyOVI5ekFfRO9bCtNv5JzGCA3Vg9fZNEwBo69za5w71mW5QcCG
187
- AdTVQ/g4FhwIFzBcQS/2whggG8BwYKJJTmh4Ni861wB5XnrOUJt0uYTwjAS1
188
- B1urIBMyJNbqhOh3ydCBEqnEGGuRaE52lH5dH6strXRKawIkBx1aCdrKY9YA
189
- d1aBroHtOJcuU/USsqYcAbyAYIHCFcIzcqQgawXJJMGEHl0j2ClV6lNoSnYH
190
- 0fas7fjb/G930mqm/yklaYzslCSJggatoBt7foxdG/lGQSM2YixJoDHxYghj
191
- 5NrYH6qYJknIyKEfoDlnvKlRZni+YapbLwak85Wshy3HYTJ7a7vVxM0xE6+5
192
- ox8GDv7z8a/i+XF1X++X9/f74/FQ39W1g0NE3DDdEJSsoZ+4ARFvAdoEa4TX
193
- GxA5XY6+2M/l1lAJ4UBKOWGZWTu1clazr9JjL4pwpKPUcH2SbarrhaV8JwxR
194
- gIdmondH2XYnC1wcBdqBJi31A85QVjWtBPBjW9RdDMk8VyyFrPNc0u1MbdRV
195
- D52z5y0yLjUdKhMXjmvIzNS1o5eZ9xcF4+uHmLS/no0Kru8goAverAlaAvac
196
- HZloBFR3we6xrkHAiYq/TZ8f45+7LX1Oli9/u3f5w/aY/4fo/lPuRCkBSQoj
197
- 7IcBXIdpgLCLaRh5BIDUh9CR/jyJ0vwJeaD88rSpRBLbZfEOKkI0wakmwUeh
198
- Kc70VPTUrdp8zlQUjr2bit8b3SQrJQp6VTt3Vor215vXm/8BI5JeymkQAAA=
199
- http_version:
200
- recorded_at: Tue, 20 Dec 2016 15:27:44 GMT
201
- recorded_with: VCR 3.0.3