contentful 2.15.3 → 2.16.2

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 (247) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/README.md +22 -11
  4. data/lib/contentful/array_like.rb +11 -2
  5. data/lib/contentful/asset.rb +4 -0
  6. data/lib/contentful/base_resource.rb +14 -2
  7. data/lib/contentful/client.rb +1 -2
  8. data/lib/contentful/fields_resource.rb +1 -0
  9. data/lib/contentful/version.rb +1 -1
  10. metadata +4 -367
  11. data/.gitignore +0 -7
  12. data/.rspec +0 -1
  13. data/.rubocop.yml +0 -31
  14. data/.rubocop_todo.yml +0 -35
  15. data/.travis.yml +0 -15
  16. data/.yardopts +0 -4
  17. data/Gemfile +0 -9
  18. data/Gemfile.lock +0 -166
  19. data/Guardfile +0 -24
  20. data/RELEASE.md +0 -8
  21. data/Rakefile +0 -33
  22. data/contentful.gemspec +0 -44
  23. data/coverage/.last_run.json +0 -5
  24. data/coverage/.resultset.json +0 -5086
  25. data/coverage/.resultset.json.lock +0 -0
  26. data/coverage/assets/0.10.2/application.css +0 -799
  27. data/coverage/assets/0.10.2/application.js +0 -1707
  28. data/coverage/assets/0.10.2/colorbox/border.png +0 -0
  29. data/coverage/assets/0.10.2/colorbox/controls.png +0 -0
  30. data/coverage/assets/0.10.2/colorbox/loading.gif +0 -0
  31. data/coverage/assets/0.10.2/colorbox/loading_background.png +0 -0
  32. data/coverage/assets/0.10.2/favicon_green.png +0 -0
  33. data/coverage/assets/0.10.2/favicon_red.png +0 -0
  34. data/coverage/assets/0.10.2/favicon_yellow.png +0 -0
  35. data/coverage/assets/0.10.2/loading.gif +0 -0
  36. data/coverage/assets/0.10.2/magnify.png +0 -0
  37. data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  38. data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  39. data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  40. data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  41. data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  42. data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  43. data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  44. data/coverage/assets/0.10.2/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  45. data/coverage/assets/0.10.2/smoothness/images/ui-icons_222222_256x240.png +0 -0
  46. data/coverage/assets/0.10.2/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  47. data/coverage/assets/0.10.2/smoothness/images/ui-icons_454545_256x240.png +0 -0
  48. data/coverage/assets/0.10.2/smoothness/images/ui-icons_888888_256x240.png +0 -0
  49. data/coverage/assets/0.10.2/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  50. data/coverage/index.html +0 -0
  51. data/doc/Contentful/AccessDenied.html +0 -159
  52. data/doc/Contentful/Array.html +0 -844
  53. data/doc/Contentful/ArrayCoercion.html +0 -242
  54. data/doc/Contentful/ArrayLike.html +0 -624
  55. data/doc/Contentful/Asset.html +0 -486
  56. data/doc/Contentful/BadGateway.html +0 -159
  57. data/doc/Contentful/BadRequest.html +0 -159
  58. data/doc/Contentful/BaseCoercion.html +0 -445
  59. data/doc/Contentful/BaseResource.html +0 -598
  60. data/doc/Contentful/BooleanCoercion.html +0 -242
  61. data/doc/Contentful/Client.html +0 -1738
  62. data/doc/Contentful/ContentType.html +0 -617
  63. data/doc/Contentful/ContentTypeCache.html +0 -428
  64. data/doc/Contentful/DateCoercion.html +0 -244
  65. data/doc/Contentful/DeletedAsset.html +0 -156
  66. data/doc/Contentful/DeletedEntry.html +0 -156
  67. data/doc/Contentful/EmptyFieldError.html +0 -217
  68. data/doc/Contentful/Entry.html +0 -334
  69. data/doc/Contentful/Error.html +0 -407
  70. data/doc/Contentful/Field.html +0 -935
  71. data/doc/Contentful/FieldsResource.html +0 -583
  72. data/doc/Contentful/File.html +0 -218
  73. data/doc/Contentful/FloatCoercion.html +0 -238
  74. data/doc/Contentful/IntegerCoercion.html +0 -238
  75. data/doc/Contentful/Link.html +0 -246
  76. data/doc/Contentful/LinkCoercion.html +0 -156
  77. data/doc/Contentful/Locale.html +0 -536
  78. data/doc/Contentful/Location.html +0 -382
  79. data/doc/Contentful/LocationCoercion.html +0 -238
  80. data/doc/Contentful/NotFound.html +0 -159
  81. data/doc/Contentful/ObjectCoercion.html +0 -238
  82. data/doc/Contentful/RateLimitExceeded.html +0 -346
  83. data/doc/Contentful/Request.html +0 -895
  84. data/doc/Contentful/ResourceBuilder.html +0 -1067
  85. data/doc/Contentful/ResourceReferences.html +0 -254
  86. data/doc/Contentful/Response.html +0 -708
  87. data/doc/Contentful/RichTextCoercion.html +0 -238
  88. data/doc/Contentful/ServerError.html +0 -159
  89. data/doc/Contentful/ServiceUnavailable.html +0 -159
  90. data/doc/Contentful/Space.html +0 -392
  91. data/doc/Contentful/StringCoercion.html +0 -242
  92. data/doc/Contentful/StructuredTextCoercion.html +0 -238
  93. data/doc/Contentful/Support.html +0 -788
  94. data/doc/Contentful/SymbolCoercion.html +0 -169
  95. data/doc/Contentful/Sync.html +0 -653
  96. data/doc/Contentful/SyncPage.html +0 -807
  97. data/doc/Contentful/TextCoercion.html +0 -169
  98. data/doc/Contentful/Unauthorized.html +0 -159
  99. data/doc/Contentful/UnparsableJson.html +0 -159
  100. data/doc/Contentful/UnparsableResource.html +0 -135
  101. data/doc/Contentful.html +0 -157
  102. data/doc/_index.html +0 -563
  103. data/doc/class_list.html +0 -51
  104. data/doc/css/common.css +0 -1
  105. data/doc/css/full_list.css +0 -58
  106. data/doc/css/style.css +0 -496
  107. data/doc/file.CHANGELOG.html +0 -708
  108. data/doc/file.LICENSE.html +0 -70
  109. data/doc/file.README.html +0 -758
  110. data/doc/file_list.html +0 -66
  111. data/doc/frames.html +0 -17
  112. data/doc/index.html +0 -758
  113. data/doc/js/app.js +0 -303
  114. data/doc/js/full_list.js +0 -216
  115. data/doc/js/jquery.js +0 -4
  116. data/doc/method_list.html +0 -1187
  117. data/doc/top-level-namespace.html +0 -110
  118. data/examples/custom_classes.rb +0 -39
  119. data/examples/example_queries.rb +0 -26
  120. data/examples/raise_errors.rb +0 -20
  121. data/examples/raw_mode.rb +0 -14
  122. data/spec/array_spec.rb +0 -167
  123. data/spec/asset_spec.rb +0 -192
  124. data/spec/auto_includes_spec.rb +0 -12
  125. data/spec/client_class_spec.rb +0 -86
  126. data/spec/client_configuration_spec.rb +0 -377
  127. data/spec/content_type_spec.rb +0 -49
  128. data/spec/deleted_asset_spec.rb +0 -38
  129. data/spec/deleted_entry_spec.rb +0 -38
  130. data/spec/entry_spec.rb +0 -777
  131. data/spec/error_class_spec.rb +0 -327
  132. data/spec/error_requests_spec.rb +0 -87
  133. data/spec/field_spec.rb +0 -95
  134. data/spec/file_spec.rb +0 -33
  135. data/spec/fixtures/json_responses/400_details_errors_object.json +0 -14
  136. data/spec/fixtures/json_responses/400_details_errors_string.json +0 -12
  137. data/spec/fixtures/json_responses/400_details_string.json +0 -8
  138. data/spec/fixtures/json_responses/403_reasons.json +0 -13
  139. data/spec/fixtures/json_responses/404_details_string.json +0 -8
  140. data/spec/fixtures/json_responses/404_id.json +0 -11
  141. data/spec/fixtures/json_responses/404_sys_type.json +0 -12
  142. data/spec/fixtures/json_responses/404_type.json +0 -10
  143. data/spec/fixtures/json_responses/content_type.json +0 -83
  144. data/spec/fixtures/json_responses/default_400.json +0 -7
  145. data/spec/fixtures/json_responses/default_401.json +0 -7
  146. data/spec/fixtures/json_responses/default_403.json +0 -7
  147. data/spec/fixtures/json_responses/default_404.json +0 -7
  148. data/spec/fixtures/json_responses/default_429.json +0 -7
  149. data/spec/fixtures/json_responses/default_500.json +0 -7
  150. data/spec/fixtures/json_responses/default_502.json +0 -7
  151. data/spec/fixtures/json_responses/default_503.json +0 -7
  152. data/spec/fixtures/json_responses/includes.json +0 -111
  153. data/spec/fixtures/json_responses/link_array.json +0 -43
  154. data/spec/fixtures/json_responses/not_found.json +0 -13
  155. data/spec/fixtures/json_responses/nyancat.json +0 -48
  156. data/spec/fixtures/json_responses/other_error.json +0 -9
  157. data/spec/fixtures/json_responses/other_error_no_details.json +0 -8
  158. data/spec/fixtures/json_responses/other_error_no_message.json +0 -8
  159. data/spec/fixtures/json_responses/other_error_no_request_id.json +0 -8
  160. data/spec/fixtures/json_responses/other_error_nothing.json +0 -6
  161. data/spec/fixtures/json_responses/self_link.json +0 -82
  162. data/spec/fixtures/json_responses/unparsable.json +0 -13
  163. data/spec/fixtures/vcr_cassettes/array/marshal_custom_classes.yml +0 -159
  164. data/spec/fixtures/vcr_cassettes/array/marshal_unpublished.yml +0 -315
  165. data/spec/fixtures/vcr_cassettes/array/nested_resources.yml +0 -159
  166. data/spec/fixtures/vcr_cassettes/array.yml +0 -288
  167. data/spec/fixtures/vcr_cassettes/arrayField.yml +0 -87
  168. data/spec/fixtures/vcr_cassettes/array_page_1.yml +0 -106
  169. data/spec/fixtures/vcr_cassettes/array_page_2.yml +0 -73
  170. data/spec/fixtures/vcr_cassettes/asset/select_empty_array.yml +0 -104
  171. data/spec/fixtures/vcr_cassettes/asset/select_no_sys.yml +0 -119
  172. data/spec/fixtures/vcr_cassettes/asset/select_one_field.yml +0 -97
  173. data/spec/fixtures/vcr_cassettes/asset/select_only_sys.yml +0 -88
  174. data/spec/fixtures/vcr_cassettes/asset.yml +0 -96
  175. data/spec/fixtures/vcr_cassettes/assets/issues_129.yml +0 -90
  176. data/spec/fixtures/vcr_cassettes/assets/issues_jekyll_46.yml +0 -115
  177. data/spec/fixtures/vcr_cassettes/bad_request.yml +0 -76
  178. data/spec/fixtures/vcr_cassettes/content_type.yml +0 -147
  179. data/spec/fixtures/vcr_cassettes/entries/empty_fields.yml +0 -246
  180. data/spec/fixtures/vcr_cassettes/entries/issue_117.yml +0 -201
  181. data/spec/fixtures/vcr_cassettes/entries/issue_125.yml +0 -198
  182. data/spec/fixtures/vcr_cassettes/entries/rich_text.yml +0 -1707
  183. data/spec/fixtures/vcr_cassettes/entries/rich_text_hydration_issue.yml +0 -460
  184. data/spec/fixtures/vcr_cassettes/entries/rich_text_nested_fields.yml +0 -653
  185. data/spec/fixtures/vcr_cassettes/entries/rich_text_unresolved_relationships.yml +0 -983
  186. data/spec/fixtures/vcr_cassettes/entries/unresolvable_assets.yml +0 -89
  187. data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter.yml +0 -159
  188. data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter_deeply_nested.yml +0 -167
  189. data/spec/fixtures/vcr_cassettes/entries.yml +0 -561
  190. data/spec/fixtures/vcr_cassettes/entry/custom_resource.yml +0 -168
  191. data/spec/fixtures/vcr_cassettes/entry/include_resolution.yml +0 -101
  192. data/spec/fixtures/vcr_cassettes/entry/include_resolution_uniques.yml +0 -81
  193. data/spec/fixtures/vcr_cassettes/entry/json_objects.yml +0 -88
  194. data/spec/fixtures/vcr_cassettes/entry/json_objects_client.yml +0 -86
  195. data/spec/fixtures/vcr_cassettes/entry/marshal_138.yml +0 -159
  196. data/spec/fixtures/vcr_cassettes/entry/marshal_unpublished.yml +0 -303
  197. data/spec/fixtures/vcr_cassettes/entry/marshall.yml +0 -293
  198. data/spec/fixtures/vcr_cassettes/entry/raw.yml +0 -201
  199. data/spec/fixtures/vcr_cassettes/entry/search_link_to_asset.yml +0 -81
  200. data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry.yml +0 -81
  201. data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry_with_custom_query.yml +0 -115
  202. data/spec/fixtures/vcr_cassettes/entry/select_empty_array.yml +0 -111
  203. data/spec/fixtures/vcr_cassettes/entry/select_no_sys.yml +0 -102
  204. data/spec/fixtures/vcr_cassettes/entry/select_one_field.yml +0 -76
  205. data/spec/fixtures/vcr_cassettes/entry/select_one_field_proper.yml +0 -114
  206. data/spec/fixtures/vcr_cassettes/entry/select_only_sys.yml +0 -111
  207. data/spec/fixtures/vcr_cassettes/entry.yml +0 -102
  208. data/spec/fixtures/vcr_cassettes/entry_cache.yml +0 -288
  209. data/spec/fixtures/vcr_cassettes/entry_locales.yml +0 -104
  210. data/spec/fixtures/vcr_cassettes/field.yml +0 -147
  211. data/spec/fixtures/vcr_cassettes/human.yml +0 -118
  212. data/spec/fixtures/vcr_cassettes/linkField.yml +0 -83
  213. data/spec/fixtures/vcr_cassettes/locale.yml +0 -83
  214. data/spec/fixtures/vcr_cassettes/locale_from_environment.yml +0 -121
  215. data/spec/fixtures/vcr_cassettes/location.yml +0 -193
  216. data/spec/fixtures/vcr_cassettes/multi_locale_array_reference.yml +0 -196
  217. data/spec/fixtures/vcr_cassettes/multi_locale_reference.yml +0 -214
  218. data/spec/fixtures/vcr_cassettes/not_found.yml +0 -76
  219. data/spec/fixtures/vcr_cassettes/nyancat.yml +0 -102
  220. data/spec/fixtures/vcr_cassettes/query_array_1.yml +0 -89
  221. data/spec/fixtures/vcr_cassettes/query_array_2.yml +0 -89
  222. data/spec/fixtures/vcr_cassettes/ratelimit.yml +0 -64
  223. data/spec/fixtures/vcr_cassettes/ratelimit_retry.yml +0 -294
  224. data/spec/fixtures/vcr_cassettes/reloaded_entry.yml +0 -102
  225. data/spec/fixtures/vcr_cassettes/space.yml +0 -83
  226. data/spec/fixtures/vcr_cassettes/sync_deleted_asset.yml +0 -174
  227. data/spec/fixtures/vcr_cassettes/sync_deleted_entry.yml +0 -89
  228. data/spec/fixtures/vcr_cassettes/sync_deletion.yml +0 -191
  229. data/spec/fixtures/vcr_cassettes/sync_environment.yml +0 -81
  230. data/spec/fixtures/vcr_cassettes/sync_page.yml +0 -637
  231. data/spec/fixtures/vcr_cassettes/sync_page_2.yml +0 -71
  232. data/spec/fixtures/vcr_cassettes/sync_page_short.yml +0 -106
  233. data/spec/fixtures/vcr_cassettes/unauthorized.yml +0 -64
  234. data/spec/fixtures/vcr_cassettes/unavailable.yml +0 -76
  235. data/spec/link_spec.rb +0 -50
  236. data/spec/locale_spec.rb +0 -37
  237. data/spec/location_spec.rb +0 -25
  238. data/spec/request_spec.rb +0 -57
  239. data/spec/resource_building_spec.rb +0 -31
  240. data/spec/response_spec.rb +0 -62
  241. data/spec/space_spec.rb +0 -31
  242. data/spec/spec_helper.rb +0 -14
  243. data/spec/support/client.rb +0 -6
  244. data/spec/support/json_responses.rb +0 -18
  245. data/spec/support/vcr.rb +0 -16
  246. data/spec/sync_page_spec.rb +0 -103
  247. data/spec/sync_spec.rb +0 -180
@@ -1,147 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/content_types/cat
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - RubyContentfulGem/0.1.1
12
- Authorization:
13
- - Bearer b4c0n73n7fu1
14
- Content-Type:
15
- - application/vnd.contentful.delivery.v1+json
16
- Host:
17
- - cdn.contentful.com
18
- response:
19
- status:
20
- code: 200
21
- message: OK
22
- headers:
23
- Date:
24
- - Wed, 16 Apr 2014 09:00:21 GMT
25
- Server:
26
- - nginx/1.1.19
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
29
- Access-Control-Allow-Methods:
30
- - GET,HEAD,OPTIONS
31
- Access-Control-Allow-Origin:
32
- - "*"
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
- - "\"311dab6ef7fafc9f223a427ddd896e3e\""
41
- X-Contentful-Request-Id:
42
- - 85f-649640519
43
- Content-Length:
44
- - '1578'
45
- Accept-Ranges:
46
- - bytes
47
- Via:
48
- - 1.1 varnish
49
- Age:
50
- - '0'
51
- X-Served-By:
52
- - cache-am70-AMS
53
- X-Cache:
54
- - MISS
55
- X-Cache-Hits:
56
- - '0'
57
- Vary:
58
- - Accept-Encoding
59
- body:
60
- encoding: UTF-8
61
- string: |
62
- {
63
- "fields": [
64
- {
65
- "id": "name",
66
- "name": "Name",
67
- "type": "Text",
68
- "required": true,
69
- "localized": true
70
- },
71
- {
72
- "id": "likes",
73
- "name": "Likes",
74
- "type": "Array",
75
- "required": false,
76
- "localized": false,
77
- "items": {
78
- "type": "Symbol"
79
- }
80
- },
81
- {
82
- "id": "color",
83
- "name": "Color",
84
- "type": "Symbol",
85
- "required": false,
86
- "localized": false
87
- },
88
- {
89
- "id": "bestFriend",
90
- "name": "Best Friend",
91
- "type": "Link",
92
- "required": false,
93
- "localized": false,
94
- "linkType": "Entry"
95
- },
96
- {
97
- "id": "birthday",
98
- "name": "Birthday",
99
- "type": "Date",
100
- "required": false,
101
- "localized": false
102
- },
103
- {
104
- "id": "lifes",
105
- "name": "Lifes left",
106
- "type": "Integer",
107
- "required": false,
108
- "localized": false,
109
- "disabled": true
110
- },
111
- {
112
- "id": "lives",
113
- "name": "Lives left",
114
- "type": "Integer",
115
- "required": false,
116
- "localized": false
117
- },
118
- {
119
- "id": "image",
120
- "name": "Image",
121
- "required": false,
122
- "localized": false,
123
- "type": "Link",
124
- "linkType": "Asset"
125
- }
126
- ],
127
- "name": "Cat",
128
- "displayField": "name",
129
- "description": "Meow.",
130
- "sys": {
131
- "space": {
132
- "sys": {
133
- "type": "Link",
134
- "linkType": "Space",
135
- "id": "cfexampleapi"
136
- }
137
- },
138
- "type": "ContentType",
139
- "id": "cat",
140
- "revision": 2,
141
- "createdAt": "2013-06-27T22:46:12.852Z",
142
- "updatedAt": "2013-09-02T13:14:47.863Z"
143
- }
144
- }
145
- http_version:
146
- recorded_at: Wed, 16 Apr 2014 09:00:21 GMT
147
- recorded_with: VCR 2.9.0
@@ -1,246 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/z4ssexir3p93/environments/master/content_types?limit=1000
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- X-Contentful-User-Agent:
11
- - sdk contentful.rb/2.10.1; platform ruby/2.5.1; os macOS/16;
12
- Authorization:
13
- - Bearer e157fdaf7b325b71d07a94b7502807d4cfbbb1a34e69b7856838e25b92777bc6
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
- User-Agent:
23
- - http.rb/2.2.2
24
- response:
25
- status:
26
- code: 200
27
- message: OK
28
- headers:
29
- Access-Control-Allow-Headers:
30
- - 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,X-Contentful-Enable-Alpha-Feature
31
- Access-Control-Allow-Methods:
32
- - GET,HEAD,OPTIONS
33
- Access-Control-Allow-Origin:
34
- - "*"
35
- Access-Control-Expose-Headers:
36
- - Etag
37
- Access-Control-Max-Age:
38
- - '86400'
39
- Cache-Control:
40
- - max-age=0
41
- Content-Type:
42
- - application/vnd.contentful.delivery.v1+json
43
- Contentful-Api:
44
- - cda_cached
45
- Etag:
46
- - '"736965822f777aebb01c9ee4ac6d1b2a"'
47
- Server:
48
- - Contentful
49
- X-Content-Type-Options:
50
- - nosniff
51
- X-Contentful-Region:
52
- - us-east-1
53
- X-Contentful-Request-Id:
54
- - 43dd26ec0162d8b206895bf92ec3cb7c
55
- Content-Length:
56
- - '945'
57
- Accept-Ranges:
58
- - bytes
59
- Date:
60
- - Thu, 08 Nov 2018 13:19:20 GMT
61
- Via:
62
- - 1.1 varnish
63
- Age:
64
- - '11024'
65
- Connection:
66
- - close
67
- X-Served-By:
68
- - cache-fra19123-FRA
69
- X-Cache:
70
- - HIT
71
- X-Cache-Hits:
72
- - '1'
73
- Vary:
74
- - Accept-Encoding
75
- body:
76
- encoding: ASCII-8BIT
77
- string: |
78
- {
79
- "sys": {
80
- "type": "Array"
81
- },
82
- "total": 1,
83
- "skip": 0,
84
- "limit": 1000,
85
- "items": [
86
- {
87
- "sys": {
88
- "space": {
89
- "sys": {
90
- "type": "Link",
91
- "linkType": "Space",
92
- "id": "z4ssexir3p93"
93
- }
94
- },
95
- "id": "test",
96
- "type": "ContentType",
97
- "createdAt": "2018-11-08T10:14:31.609Z",
98
- "updatedAt": "2018-11-08T10:14:31.609Z",
99
- "environment": {
100
- "sys": {
101
- "id": "master",
102
- "type": "Link",
103
- "linkType": "Environment"
104
- }
105
- },
106
- "revision": 1
107
- },
108
- "displayField": "title",
109
- "name": "Test",
110
- "description": "",
111
- "fields": [
112
- {
113
- "id": "title",
114
- "name": "Title",
115
- "type": "Symbol",
116
- "localized": false,
117
- "required": false,
118
- "disabled": false,
119
- "omitted": false
120
- }
121
- ]
122
- }
123
- ]
124
- }
125
- http_version:
126
- recorded_at: Thu, 08 Nov 2018 13:19:20 GMT
127
- - request:
128
- method: get
129
- uri: https://cdn.contentful.com/spaces/z4ssexir3p93/environments/master/entries?sys.id=2t1x77MgUA4SM2gMiaUcsy
130
- body:
131
- encoding: US-ASCII
132
- string: ''
133
- headers:
134
- X-Contentful-User-Agent:
135
- - sdk contentful.rb/2.10.1; platform ruby/2.5.1; os macOS/16;
136
- Authorization:
137
- - Bearer e157fdaf7b325b71d07a94b7502807d4cfbbb1a34e69b7856838e25b92777bc6
138
- Content-Type:
139
- - application/vnd.contentful.delivery.v1+json
140
- Accept-Encoding:
141
- - gzip
142
- Connection:
143
- - close
144
- Host:
145
- - cdn.contentful.com
146
- User-Agent:
147
- - http.rb/2.2.2
148
- response:
149
- status:
150
- code: 200
151
- message: OK
152
- headers:
153
- Access-Control-Allow-Headers:
154
- - 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,X-Contentful-Enable-Alpha-Feature
155
- Access-Control-Allow-Methods:
156
- - GET,HEAD,OPTIONS
157
- Access-Control-Allow-Origin:
158
- - "*"
159
- Access-Control-Expose-Headers:
160
- - Etag
161
- Access-Control-Max-Age:
162
- - '86400'
163
- Cache-Control:
164
- - max-age=0
165
- Content-Type:
166
- - application/vnd.contentful.delivery.v1+json
167
- Contentful-Api:
168
- - cda_cached
169
- Etag:
170
- - '"08908121582750c6cc9ba9d71bfd6e0f"'
171
- Server:
172
- - Contentful
173
- X-Content-Type-Options:
174
- - nosniff
175
- X-Contentful-Region:
176
- - us-east-1
177
- X-Contentful-Request-Id:
178
- - 0e4aaa81032e63c7a619be69843ff267
179
- Content-Length:
180
- - '842'
181
- Accept-Ranges:
182
- - bytes
183
- Date:
184
- - Thu, 08 Nov 2018 13:19:20 GMT
185
- Via:
186
- - 1.1 varnish
187
- Age:
188
- - '0'
189
- Connection:
190
- - close
191
- X-Served-By:
192
- - cache-fra19146-FRA
193
- X-Cache:
194
- - MISS
195
- X-Cache-Hits:
196
- - '0'
197
- Vary:
198
- - Accept-Encoding
199
- body:
200
- encoding: ASCII-8BIT
201
- string: |
202
- {
203
- "sys": {
204
- "type": "Array"
205
- },
206
- "total": 1,
207
- "skip": 0,
208
- "limit": 100,
209
- "items": [
210
- {
211
- "sys": {
212
- "space": {
213
- "sys": {
214
- "type": "Link",
215
- "linkType": "Space",
216
- "id": "z4ssexir3p93"
217
- }
218
- },
219
- "id": "2t1x77MgUA4SM2gMiaUcsy",
220
- "type": "Entry",
221
- "createdAt": "2018-11-08T10:14:42.223Z",
222
- "updatedAt": "2018-11-08T10:14:42.223Z",
223
- "environment": {
224
- "sys": {
225
- "id": "master",
226
- "type": "Link",
227
- "linkType": "Environment"
228
- }
229
- },
230
- "revision": 1,
231
- "contentType": {
232
- "sys": {
233
- "type": "Link",
234
- "linkType": "ContentType",
235
- "id": "test"
236
- }
237
- },
238
- "locale": "en-US"
239
- },
240
- "fields": {}
241
- }
242
- ]
243
- }
244
- http_version:
245
- recorded_at: Thu, 08 Nov 2018 13:19:21 GMT
246
- recorded_with: VCR 4.0.0
@@ -1,201 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/8jbbayggj9gj/environments/master/content_types?limit=1000
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - RubyContentfulGem/1.2.1
12
- Authorization:
13
- - Bearer 4ce0108f04e55c76476ba84ab0e6149734db73d67cd1b429323ef67f00977e07
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/"d02c518f396fb5eb186d791cf1cc57cb"
45
- Server:
46
- - Contentful
47
- X-Content-Type-Options:
48
- - nosniff
49
- - nosniff
50
- X-Contentful-Request-Id:
51
- - d68e2dbfc63f32d5054ac63537e8d03e
52
- Content-Length:
53
- - '375'
54
- Accept-Ranges:
55
- - bytes
56
- Date:
57
- - Tue, 03 Jan 2017 11:34:30 GMT
58
- Via:
59
- - 1.1 varnish
60
- Age:
61
- - '5788'
62
- Connection:
63
- - close
64
- X-Served-By:
65
- - cache-gru7126-GRU
66
- X-Cache:
67
- - HIT
68
- X-Cache-Hits:
69
- - '1'
70
- X-Timer:
71
- - S1483443270.292050,VS0,VE0
72
- Vary:
73
- - Accept-Encoding
74
- body:
75
- encoding: ASCII-8BIT
76
- string: !binary |-
77
- H4sIAAAAAAAAA9VTvW7CMBDeeQrkuVQmUkXLhqp2qlhgasXgJAYdOI5rm0ou
78
- 4t3rs0lwUhi6US/J3fm+n7vkMBgOiXGGTIcH/+oD6xT3EZlpzRzxueMd3rG1
79
- ZcLnxyEyO1A+oCEQUIHFEqUxAZZXiPgRECNujyZQGcUK5GpuxGQiBhMh2Yh6
80
- A7kjSHo+nl7ulifRi4DYuwAl+nnc5jlzm832abNFW805tu/BaDwk9lhubILW
81
- yniupeXSBtakqdCcWV7OcBgko+PJiI5HNFtmdEon0+zh3k/oPW3Yq/JvDZp/
82
- gYFa4rRPYlvVpASjBHOvwEVwLFl1lhcjn12mnkjJTaFB2YhJWnFkjSjnJeJY
83
- OmuKA+pQ4J2WZp6Sh0qzw4Wr8lp0lkREXTAB3xx1r5kwPF0h0fxzD/pK0btm
84
- ubhSrP2X6TfSoF5a9QVXvFLWdQUGo356L79L/8eXhN7YG1fzfuGmPJ22tgpP
85
- /F1Xg+PgB3EoeHC5BAAA
86
- http_version:
87
- recorded_at: Tue, 03 Jan 2017 11:34:30 GMT
88
- - request:
89
- method: get
90
- uri: https://cdn.contentful.com/spaces/8jbbayggj9gj/environments/master/entries
91
- body:
92
- encoding: US-ASCII
93
- string: ''
94
- headers:
95
- User-Agent:
96
- - RubyContentfulGem/1.2.1
97
- Authorization:
98
- - Bearer 4ce0108f04e55c76476ba84ab0e6149734db73d67cd1b429323ef67f00977e07
99
- Content-Type:
100
- - application/vnd.contentful.delivery.v1+json
101
- Accept-Encoding:
102
- - gzip
103
- Connection:
104
- - close
105
- Host:
106
- - cdn.contentful.com
107
- response:
108
- status:
109
- code: 200
110
- message: OK
111
- headers:
112
- Access-Control-Allow-Headers:
113
- - 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
114
- Access-Control-Allow-Methods:
115
- - GET,HEAD,OPTIONS
116
- Access-Control-Allow-Origin:
117
- - "*"
118
- Access-Control-Expose-Headers:
119
- - Etag
120
- Access-Control-Max-Age:
121
- - '86400'
122
- Cache-Control:
123
- - max-age=0
124
- Content-Type:
125
- - application/vnd.contentful.delivery.v1+json
126
- Etag:
127
- - '"16bd1168ea8f89e34f0a4d2eb7e905c5"'
128
- Server:
129
- - Contentful
130
- X-Content-Type-Options:
131
- - nosniff
132
- - nosniff
133
- X-Contentful-Request-Id:
134
- - 3e7f93d9d3d1ca80aa17f60fd8a644bc
135
- Content-Length:
136
- - '753'
137
- Accept-Ranges:
138
- - bytes
139
- Date:
140
- - Tue, 03 Jan 2017 11:34:30 GMT
141
- Via:
142
- - 1.1 varnish
143
- Age:
144
- - '5774'
145
- Connection:
146
- - close
147
- X-Served-By:
148
- - cache-gru7122-GRU
149
- X-Cache:
150
- - HIT
151
- X-Cache-Hits:
152
- - '1'
153
- X-Timer:
154
- - S1483443270.462614,VS0,VE0
155
- Vary:
156
- - Accept-Encoding
157
- body:
158
- encoding: ASCII-8BIT
159
- string: |
160
- {
161
- "sys": {
162
- "type": "Array"
163
- },
164
- "total": 1,
165
- "skip": 0,
166
- "limit": 100,
167
- "items": [
168
- {
169
- "sys": {
170
- "space": {
171
- "sys": {
172
- "type": "Link",
173
- "linkType": "Space",
174
- "id": "8jbbayggj9gj"
175
- }
176
- },
177
- "id": "3vuP7wtireIWM2WO2oiw4u",
178
- "type": "Entry",
179
- "createdAt": "2017-01-02T20:07:37.872Z",
180
- "updatedAt": "2017-01-03T09:57:26.558Z",
181
- "revision": 3,
182
- "contentType": {
183
- "sys": {
184
- "type": "Link",
185
- "linkType": "ContentType",
186
- "id": "test"
187
- }
188
- },
189
- "locale": "en-US"
190
- },
191
- "fields": {
192
- "name": "Test",
193
- "empty": "",
194
- "nil": null
195
- }
196
- }
197
- ]
198
- }
199
- http_version:
200
- recorded_at: Tue, 03 Jan 2017 11:34:30 GMT
201
- recorded_with: VCR 3.0.3