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,104 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?locale=*&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
- 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/"124a54e4a3072cd55acbc29108bc34d7"
45
- Server:
46
- - Contentful
47
- X-Content-Type-Options:
48
- - nosniff
49
- - nosniff
50
- X-Contentful-Request-Id:
51
- - 8810dc608c80de2e6645bdc900ee7718
52
- Content-Length:
53
- - '1124'
54
- Accept-Ranges:
55
- - bytes
56
- Date:
57
- - Thu, 05 Jan 2017 20:42:42 GMT
58
- Via:
59
- - 1.1 varnish
60
- Age:
61
- - '581'
62
- Connection:
63
- - close
64
- X-Served-By:
65
- - cache-gru7120-GRU
66
- X-Cache:
67
- - HIT
68
- X-Cache-Hits:
69
- - '1'
70
- X-Timer:
71
- - S1483648962.295214,VS0,VE0
72
- Vary:
73
- - Accept-Encoding
74
- body:
75
- encoding: ASCII-8BIT
76
- string: !binary |-
77
- H4sIAAAAAAAAA+VYXW/bNhR9z68w9LKHzjJJSdbHmxG0aICt2BAXAzIUAS3R
78
- NmNZ1iQ5qVvkv+9Sn6REOW6RohgmBIlI8V5eHt5zeJmvV5OJkZ9yI5h8hVdo
79
- FKeUQctYZBk9GdD3/KsYUxwKGkM/Llv5jqfQQGUj5nteiE+oavOC7YXDv0uH
80
- ldveLOVMeUpDMVUzouqUYhEdZWcT02882Rlizu6B2ZPdso75tvTYG8AjsZxw
81
- zT7TfRozmnKxquZ5bt/LdVaPUdkkJ5qEtJActpG8TYrsJH8IM0YLFi0EEAZB
82
- 2Jqi+ZS4S0ICex5g33SwdScbHNOob+BPkb1EPowOLN9ExFUMMvbIc35IYAJH
83
- CjU8JAVLihqC18PyWvKrRxSQ0QNZ97aAGmvO4qjLMQGykdD9YPNZMv14KwD8
84
- AMhPrhXoRRrE2/bj481mmx1+6SKQty/mO6ZOB9aN8yot263OKE9Wh6e8nzZr
85
- nm/l9X3SJkp4iA9ZP4fbZdS+9UGuWF68yzhLRH4q+9bYy50aAtW5eoYcJTk7
86
- evSTVkn2LU3Tk8h2hV4dPUAItAiseFZsI5CKkUUIMmBIbJHbQAaE4OdN+VsP
87
- S8wfx/cOW5arjYLv6WY0nV4bx0WeM1kVtKJxCYwNUcq/At5PpaDyJIyPkYSC
88
- Ue1cI6mdqGqzQius2pElES/PH528inDPCqycN/Vh0nKvsmwzT5aZUaWFCc9r
89
- LUEmdrEsnWAyVFtISuwtsRM4XoCIibDXM5H01lMiG1fc1wB5XHc7qL+dpRoF
90
- BncaDYbeVr7eC0kYyLBImUqI/zyG28lAiPubrBNjaRZVjsXubhn7sjpmG5ap
91
- WtQpcH8KnQrLC9nUpUyTeNJZAcNGhVhyoUoIfJBrpsbty3QCw5cFGQap9Yci
92
- JSqfzrFrRJllYAhC1hSjKfGWxNJrcx9rnT5LLrEUrAqzTqJ/OMJ6qW4R1h96
93
- ZyHujh9FvUvlBr/VhP9LpR5irVNqKHLJEtuBMw8s2yRzpcgFAIdKjSoTJ8A4
94
- ILZpzfviLik16bZHqpH16lfwIu7XDDI5Ovkbzek1P+dhIBrHTFyhjNms5EJu
95
- 1ifJ+hjD634m31Fm1u93fyQPd8ubfLe4udkdj4f8Os9nlkeo7UVrSsIVnoe2
96
- S+HNJWt3RazVGvmzJqWfzId00ytqYXURKyiP+8VxpWBGzr8IQBzft3y15i9z
97
- W8/g2vaJR4Uoz4lrDU3BeMv4ZituR5bflXCNcsplpuhTlKOcWyD9oboyGC8s
98
- UT2fq6hnDynbXFTaNqxuFtFtokbz/2ul1vBGC9C2N/5BWXsBf230YqVV87el
99
- /MBE4m93fMj3ue/jb3uJ/Bn0tTfpvKCLp7/s6/3t5rj/h7Ddx/3MjygKI+xb
100
- c8/FKy9yiWVbzPMdilA0x3gmgr6Ha9g9cVD6+X6dQc6bafKdTMZES8cLmeyU
101
- /8/pPx2TIcTB929j8uWr1ZJa4KJEMHJdbThd/hVl5PPV89W/uoVgxfsSAAA=
102
- http_version:
103
- recorded_at: Thu, 05 Jan 2017 20:42:42 GMT
104
- recorded_with: VCR 3.0.3
@@ -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:24 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
- - '3'
51
- X-Served-By:
52
- - cache-am69-AMS
53
- X-Cache:
54
- - HIT
55
- X-Cache-Hits:
56
- - '1'
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:24 GMT
147
- recorded_with: VCR 2.9.0
@@ -1,118 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?sys.id=finn
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-Type:
40
- - application/vnd.contentful.delivery.v1+json
41
- Etag:
42
- - '"87d918d318e916d11257e79fbe2170f1"'
43
- Server:
44
- - Contentful
45
- X-Content-Type-Options:
46
- - nosniff
47
- - nosniff
48
- X-Contentful-Request-Id:
49
- - d779ead4b7a06d2c0546fbb934628db0
50
- Content-Length:
51
- - '815'
52
- Accept-Ranges:
53
- - bytes
54
- Date:
55
- - Tue, 20 Dec 2016 15:25:24 GMT
56
- Via:
57
- - 1.1 varnish
58
- Age:
59
- - '0'
60
- Connection:
61
- - close
62
- X-Served-By:
63
- - cache-fra1246-FRA
64
- X-Cache:
65
- - MISS
66
- X-Cache-Hits:
67
- - '0'
68
- X-Timer:
69
- - S1482247524.730436,VS0,VE139
70
- Vary:
71
- - Accept-Encoding
72
- body:
73
- encoding: ASCII-8BIT
74
- string: |
75
- {
76
- "sys": {
77
- "type": "Array"
78
- },
79
- "total": 1,
80
- "skip": 0,
81
- "limit": 100,
82
- "items": [
83
- {
84
- "sys": {
85
- "space": {
86
- "sys": {
87
- "type": "Link",
88
- "linkType": "Space",
89
- "id": "cfexampleapi"
90
- }
91
- },
92
- "id": "finn",
93
- "type": "Entry",
94
- "createdAt": "2013-06-27T22:46:21.450Z",
95
- "updatedAt": "2013-09-09T16:15:01.297Z",
96
- "revision": 6,
97
- "contentType": {
98
- "sys": {
99
- "type": "Link",
100
- "linkType": "ContentType",
101
- "id": "human"
102
- }
103
- },
104
- "locale": "en-US"
105
- },
106
- "fields": {
107
- "name": "Finn",
108
- "description": "Fearless adventurer! Defender of pancakes.",
109
- "likes": [
110
- "adventure"
111
- ]
112
- }
113
- }
114
- ]
115
- }
116
- http_version:
117
- recorded_at: Tue, 20 Dec 2016 15:25:24 GMT
118
- recorded_with: VCR 3.0.3
@@ -1,83 +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.6.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
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
- Server:
44
- - nginx
45
- X-Contentful-Request-Id:
46
- - 405-1374790120
47
- Content-Length:
48
- - '473'
49
- Accept-Ranges:
50
- - bytes
51
- Date:
52
- - Thu, 05 Nov 2015 14:54:08 GMT
53
- Via:
54
- - 1.1 varnish
55
- Age:
56
- - '0'
57
- Connection:
58
- - close
59
- X-Served-By:
60
- - cache-ams4127-AMS
61
- X-Cache:
62
- - MISS
63
- X-Cache-Hits:
64
- - '0'
65
- Vary:
66
- - Accept-Encoding
67
- body:
68
- encoding: ASCII-8BIT
69
- string: !binary |-
70
- H4sIAAAAAAAAA61UO2/CMBjc+RWR54JIoECzAS0SEu1CJqoOJvlCLZxHbUNJ
71
- Ef+9zsMhIRZFbZdIuc86n8/nO7YMA/kEqMeRbbzKP8M4Zl+JE09iKMQBoDuF
72
- ZX8SfamhIokz1IGDOK9l8LEjDFIWwXZQctDIxZR8lYOM+5SPLzanZAu8ufui
73
- Dqvtx4zhRLu/jynXC6hPiIAgdULJkC4o8mUSrCOKCiNOV0S7EY1YU/S0Dl/w
74
- lu5UXPtB9RUJa+BixgiEXlPHRM6My6FSsyDh9k8OUkngFHF4CgVLcsf017sm
75
- TLx71TtT+Zo0JkrhIxaVPP6LW5T4+pRJ2KDgVzKtVMxDARuo3PLtQsqb9gjH
76
- a3rbM9jrBUr4/wVeyRUJ8EbTBvM6/Asv9PmrhmnMOYgiTFLhW2pjXk6yeKY4
77
- vyMkPY0pTmZppdXaC3nAXUZiQaIwHTxD9NnJko54cn7yiMfYTbusLKLqNKtF
78
- rVSJV8UuMxZ102WXuj4ccBBTwDHRNklJPo1kwEKRvaScpqhjtzip5GSwJzw/
79
- jlWscRnI5+GNRXpEq2v22t1B2xo6lmX3B7ZpdUb31koR7mLvcvFDu2s5Zs82
80
- +3Z/2BkNeqtU5ql1an0DwOA8wioGAAA=
81
- http_version:
82
- recorded_at: Thu, 05 Nov 2015 14:54:08 GMT
83
- recorded_with: VCR 2.9.3
@@ -1,83 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/cfexampleapi
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:25 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
- - "\"14a17843cf0cf8b116801f96c1c6fe23\""
41
- X-Contentful-Request-Id:
42
- - 71a-635716491
43
- Content-Length:
44
- - '285'
45
- Accept-Ranges:
46
- - bytes
47
- Via:
48
- - 1.1 varnish
49
- Age:
50
- - '2004'
51
- X-Served-By:
52
- - cache-fra1232-FRA
53
- X-Cache:
54
- - HIT
55
- X-Cache-Hits:
56
- - '1'
57
- Vary:
58
- - Accept-Encoding
59
- body:
60
- encoding: UTF-8
61
- string: |
62
- {
63
- "sys": {
64
- "type": "Space",
65
- "id": "cfexampleapi"
66
- },
67
- "name": "Contentful Example API",
68
- "locales": [
69
- {
70
- "code": "en-US",
71
- "default": true,
72
- "name": "English"
73
- },
74
- {
75
- "code": "tlh",
76
- "default": false,
77
- "name": "Klingon"
78
- }
79
- ]
80
- }
81
- http_version:
82
- recorded_at: Wed, 16 Apr 2014 09:00:26 GMT
83
- recorded_with: VCR 2.9.0
@@ -1,121 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/facgnwwgj5fe/environments/testing/locales
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- X-Contentful-User-Agent:
11
- - sdk contentful.rb/2.4.0; platform ruby/2.4.1; os macOS/16;
12
- Authorization:
13
- - Bearer <ACCESS_TOKEN>
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
- Etag:
44
- - '"933cd424e0bbb10faa1c119a7c478a36"'
45
- Server:
46
- - Contentful
47
- X-Content-Type-Options:
48
- - nosniff
49
- X-Contentful-Request-Id:
50
- - b203a8e779b889882f508d217513881c
51
- Content-Length:
52
- - '779'
53
- Accept-Ranges:
54
- - bytes
55
- Date:
56
- - Tue, 27 Feb 2018 10:39:00 GMT
57
- Via:
58
- - 1.1 varnish
59
- Age:
60
- - '1019'
61
- Connection:
62
- - close
63
- X-Served-By:
64
- - cache-hhn1545-HHN
65
- X-Cache:
66
- - HIT
67
- X-Cache-Hits:
68
- - '1'
69
- X-Timer:
70
- - S1519727940.115595,VS0,VE1
71
- Vary:
72
- - Accept-Encoding
73
- body:
74
- encoding: ASCII-8BIT
75
- string: |
76
- {
77
- "sys": {
78
- "type": "Array"
79
- },
80
- "total": 3,
81
- "skip": 0,
82
- "limit": 1000,
83
- "items": [
84
- {
85
- "code": "en-US",
86
- "name": "U.S. English",
87
- "default": true,
88
- "fallbackCode": null,
89
- "sys": {
90
- "id": "1NkEdf220AtNFVgJO9fFQ2",
91
- "type": "Locale",
92
- "version": 1
93
- }
94
- },
95
- {
96
- "code": "foo",
97
- "name": "foobar",
98
- "default": false,
99
- "fallbackCode": null,
100
- "sys": {
101
- "id": "2QKRtwD3DKOkYKXJJsYdHk",
102
- "type": "Locale",
103
- "version": 1
104
- }
105
- },
106
- {
107
- "code": "foo-BB",
108
- "name": "Foo (BarBaz)",
109
- "default": false,
110
- "fallbackCode": "en-US",
111
- "sys": {
112
- "id": "4YnLeSNLymCAZ6eYwJmhzu",
113
- "type": "Locale",
114
- "version": 1
115
- }
116
- }
117
- ]
118
- }
119
- http_version:
120
- recorded_at: Tue, 27 Feb 2018 10:39:00 GMT
121
- recorded_with: VCR 3.0.3