contentful 2.12.0 → 2.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +69 -1
- data/README.md +24 -13
- data/lib/contentful/array.rb +14 -6
- data/lib/contentful/array_like.rb +11 -2
- data/lib/contentful/asset.rb +10 -4
- data/lib/contentful/base_resource.rb +29 -6
- data/lib/contentful/client.rb +4 -3
- data/lib/contentful/coercions.rb +1 -4
- data/lib/contentful/entry.rb +9 -5
- data/lib/contentful/fields_resource.rb +7 -11
- data/lib/contentful/includes.rb +74 -0
- data/lib/contentful/request.rb +6 -1
- data/lib/contentful/resource_builder.rb +15 -12
- data/lib/contentful/support.rb +0 -35
- data/lib/contentful/version.rb +1 -1
- metadata +15 -370
- data/.gitignore +0 -7
- data/.rspec +0 -1
- data/.rubocop.yml +0 -28
- data/.rubocop_todo.yml +0 -35
- data/.travis.yml +0 -13
- data/.yardopts +0 -4
- data/Gemfile +0 -9
- data/Gemfile.lock +0 -152
- data/Guardfile +0 -24
- data/RELEASE.md +0 -8
- data/Rakefile +0 -33
- data/contentful.gemspec +0 -44
- data/coverage/.last_run.json +0 -5
- data/coverage/.resultset.json +0 -2419
- data/coverage/.resultset.json.lock +0 -0
- data/coverage/assets/0.10.2/application.css +0 -799
- data/coverage/assets/0.10.2/application.js +0 -1707
- data/coverage/assets/0.10.2/colorbox/border.png +0 -0
- data/coverage/assets/0.10.2/colorbox/controls.png +0 -0
- data/coverage/assets/0.10.2/colorbox/loading.gif +0 -0
- data/coverage/assets/0.10.2/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.10.2/favicon_green.png +0 -0
- data/coverage/assets/0.10.2/favicon_red.png +0 -0
- data/coverage/assets/0.10.2/favicon_yellow.png +0 -0
- data/coverage/assets/0.10.2/loading.gif +0 -0
- data/coverage/assets/0.10.2/magnify.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/index.html +0 -15071
- data/doc/Contentful/AccessDenied.html +0 -159
- data/doc/Contentful/Array.html +0 -765
- data/doc/Contentful/ArrayCoercion.html +0 -242
- data/doc/Contentful/ArrayLike.html +0 -625
- data/doc/Contentful/Asset.html +0 -487
- data/doc/Contentful/BadGateway.html +0 -159
- data/doc/Contentful/BadRequest.html +0 -159
- data/doc/Contentful/BaseCoercion.html +0 -445
- data/doc/Contentful/BaseResource.html +0 -599
- data/doc/Contentful/BooleanCoercion.html +0 -242
- data/doc/Contentful/Client.html +0 -1740
- data/doc/Contentful/ContentType.html +0 -618
- data/doc/Contentful/ContentTypeCache.html +0 -428
- data/doc/Contentful/DateCoercion.html +0 -244
- data/doc/Contentful/DeletedAsset.html +0 -157
- data/doc/Contentful/DeletedEntry.html +0 -157
- data/doc/Contentful/EmptyFieldError.html +0 -217
- data/doc/Contentful/Entry.html +0 -334
- data/doc/Contentful/Error.html +0 -410
- data/doc/Contentful/Field.html +0 -936
- data/doc/Contentful/FieldsResource.html +0 -583
- data/doc/Contentful/File.html +0 -218
- data/doc/Contentful/FloatCoercion.html +0 -238
- data/doc/Contentful/IntegerCoercion.html +0 -238
- data/doc/Contentful/Link.html +0 -249
- data/doc/Contentful/LinkCoercion.html +0 -158
- data/doc/Contentful/Locale.html +0 -537
- data/doc/Contentful/Location.html +0 -383
- data/doc/Contentful/LocationCoercion.html +0 -238
- data/doc/Contentful/NotFound.html +0 -159
- data/doc/Contentful/ObjectCoercion.html +0 -238
- data/doc/Contentful/RateLimitExceeded.html +0 -346
- data/doc/Contentful/Request.html +0 -887
- data/doc/Contentful/ResourceBuilder.html +0 -978
- data/doc/Contentful/ResourceReferences.html +0 -254
- data/doc/Contentful/Response.html +0 -710
- data/doc/Contentful/RichTextCoercion.html +0 -238
- data/doc/Contentful/ServerError.html +0 -159
- data/doc/Contentful/ServiceUnavailable.html +0 -159
- data/doc/Contentful/Space.html +0 -393
- data/doc/Contentful/StringCoercion.html +0 -242
- data/doc/Contentful/StructuredTextCoercion.html +0 -238
- data/doc/Contentful/Support.html +0 -788
- data/doc/Contentful/SymbolCoercion.html +0 -169
- data/doc/Contentful/Sync.html +0 -653
- data/doc/Contentful/SyncPage.html +0 -807
- data/doc/Contentful/TextCoercion.html +0 -169
- data/doc/Contentful/Unauthorized.html +0 -159
- data/doc/Contentful/UnparsableJson.html +0 -159
- data/doc/Contentful/UnparsableResource.html +0 -135
- data/doc/Contentful.html +0 -157
- data/doc/_index.html +0 -563
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -496
- data/doc/file.CHANGELOG.html +0 -729
- data/doc/file.LICENSE.html +0 -70
- data/doc/file.README.html +0 -925
- data/doc/file_list.html +0 -66
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -925
- data/doc/js/app.js +0 -292
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1171
- data/doc/top-level-namespace.html +0 -110
- data/examples/custom_classes.rb +0 -39
- data/examples/example_queries.rb +0 -26
- data/examples/raise_errors.rb +0 -20
- data/examples/raw_mode.rb +0 -14
- data/spec/array_spec.rb +0 -122
- data/spec/asset_spec.rb +0 -192
- data/spec/auto_includes_spec.rb +0 -12
- data/spec/client_class_spec.rb +0 -86
- data/spec/client_configuration_spec.rb +0 -377
- data/spec/content_type_spec.rb +0 -49
- data/spec/deleted_asset_spec.rb +0 -38
- data/spec/deleted_entry_spec.rb +0 -38
- data/spec/entry_spec.rb +0 -688
- data/spec/error_class_spec.rb +0 -327
- data/spec/error_requests_spec.rb +0 -87
- data/spec/field_spec.rb +0 -95
- data/spec/file_spec.rb +0 -33
- data/spec/fixtures/json_responses/400_details_errors_object.json +0 -14
- data/spec/fixtures/json_responses/400_details_errors_string.json +0 -12
- data/spec/fixtures/json_responses/400_details_string.json +0 -8
- data/spec/fixtures/json_responses/403_reasons.json +0 -13
- data/spec/fixtures/json_responses/404_details_string.json +0 -8
- data/spec/fixtures/json_responses/404_id.json +0 -11
- data/spec/fixtures/json_responses/404_sys_type.json +0 -12
- data/spec/fixtures/json_responses/404_type.json +0 -10
- data/spec/fixtures/json_responses/content_type.json +0 -83
- data/spec/fixtures/json_responses/default_400.json +0 -7
- data/spec/fixtures/json_responses/default_401.json +0 -7
- data/spec/fixtures/json_responses/default_403.json +0 -7
- data/spec/fixtures/json_responses/default_404.json +0 -7
- data/spec/fixtures/json_responses/default_429.json +0 -7
- data/spec/fixtures/json_responses/default_500.json +0 -7
- data/spec/fixtures/json_responses/default_502.json +0 -7
- data/spec/fixtures/json_responses/default_503.json +0 -7
- data/spec/fixtures/json_responses/includes.json +0 -111
- data/spec/fixtures/json_responses/link_array.json +0 -43
- data/spec/fixtures/json_responses/not_found.json +0 -13
- data/spec/fixtures/json_responses/nyancat.json +0 -48
- data/spec/fixtures/json_responses/other_error.json +0 -9
- data/spec/fixtures/json_responses/other_error_no_details.json +0 -8
- data/spec/fixtures/json_responses/other_error_no_message.json +0 -8
- data/spec/fixtures/json_responses/other_error_no_request_id.json +0 -8
- data/spec/fixtures/json_responses/other_error_nothing.json +0 -6
- data/spec/fixtures/json_responses/self_link.json +0 -82
- data/spec/fixtures/json_responses/unparsable.json +0 -13
- data/spec/fixtures/vcr_cassettes/array/marshal_custom_classes.yml +0 -159
- data/spec/fixtures/vcr_cassettes/array/nested_resources.yml +0 -159
- data/spec/fixtures/vcr_cassettes/array.yml +0 -288
- data/spec/fixtures/vcr_cassettes/arrayField.yml +0 -87
- data/spec/fixtures/vcr_cassettes/array_page_1.yml +0 -106
- data/spec/fixtures/vcr_cassettes/array_page_2.yml +0 -73
- data/spec/fixtures/vcr_cassettes/asset/select_empty_array.yml +0 -104
- data/spec/fixtures/vcr_cassettes/asset/select_no_sys.yml +0 -119
- data/spec/fixtures/vcr_cassettes/asset/select_one_field.yml +0 -97
- data/spec/fixtures/vcr_cassettes/asset/select_only_sys.yml +0 -88
- data/spec/fixtures/vcr_cassettes/asset.yml +0 -96
- data/spec/fixtures/vcr_cassettes/assets/issues_129.yml +0 -90
- data/spec/fixtures/vcr_cassettes/assets/issues_jekyll_46.yml +0 -115
- data/spec/fixtures/vcr_cassettes/bad_request.yml +0 -76
- data/spec/fixtures/vcr_cassettes/content_type.yml +0 -147
- data/spec/fixtures/vcr_cassettes/entries/empty_fields.yml +0 -246
- data/spec/fixtures/vcr_cassettes/entries/issue_117.yml +0 -201
- data/spec/fixtures/vcr_cassettes/entries/issue_125.yml +0 -198
- data/spec/fixtures/vcr_cassettes/entries/rich_text.yml +0 -1707
- data/spec/fixtures/vcr_cassettes/entries/rich_text_hydration_issue.yml +0 -460
- data/spec/fixtures/vcr_cassettes/entries/rich_text_nested_fields.yml +0 -653
- data/spec/fixtures/vcr_cassettes/entries/rich_text_unresolved_relationships.yml +0 -983
- data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter.yml +0 -159
- data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter_deeply_nested.yml +0 -167
- data/spec/fixtures/vcr_cassettes/entries.yml +0 -561
- data/spec/fixtures/vcr_cassettes/entry/custom_resource.yml +0 -168
- data/spec/fixtures/vcr_cassettes/entry/include_resolution.yml +0 -101
- data/spec/fixtures/vcr_cassettes/entry/include_resolution_uniques.yml +0 -81
- data/spec/fixtures/vcr_cassettes/entry/json_objects.yml +0 -88
- data/spec/fixtures/vcr_cassettes/entry/json_objects_client.yml +0 -86
- data/spec/fixtures/vcr_cassettes/entry/marshal_138.yml +0 -159
- data/spec/fixtures/vcr_cassettes/entry/marshal_unpublished.yml +0 -303
- data/spec/fixtures/vcr_cassettes/entry/marshall.yml +0 -293
- data/spec/fixtures/vcr_cassettes/entry/raw.yml +0 -201
- data/spec/fixtures/vcr_cassettes/entry/search_link_to_asset.yml +0 -81
- data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry.yml +0 -81
- data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry_with_custom_query.yml +0 -115
- data/spec/fixtures/vcr_cassettes/entry/select_empty_array.yml +0 -111
- data/spec/fixtures/vcr_cassettes/entry/select_no_sys.yml +0 -102
- data/spec/fixtures/vcr_cassettes/entry/select_one_field.yml +0 -76
- data/spec/fixtures/vcr_cassettes/entry/select_one_field_proper.yml +0 -114
- data/spec/fixtures/vcr_cassettes/entry/select_only_sys.yml +0 -111
- data/spec/fixtures/vcr_cassettes/entry.yml +0 -102
- data/spec/fixtures/vcr_cassettes/entry_cache.yml +0 -288
- data/spec/fixtures/vcr_cassettes/entry_locales.yml +0 -104
- data/spec/fixtures/vcr_cassettes/field.yml +0 -147
- data/spec/fixtures/vcr_cassettes/human.yml +0 -118
- data/spec/fixtures/vcr_cassettes/linkField.yml +0 -83
- data/spec/fixtures/vcr_cassettes/locale.yml +0 -83
- data/spec/fixtures/vcr_cassettes/locale_from_environment.yml +0 -121
- data/spec/fixtures/vcr_cassettes/location.yml +0 -193
- data/spec/fixtures/vcr_cassettes/multi_locale_array_reference.yml +0 -196
- data/spec/fixtures/vcr_cassettes/multi_locale_reference.yml +0 -214
- data/spec/fixtures/vcr_cassettes/not_found.yml +0 -76
- data/spec/fixtures/vcr_cassettes/nyancat.yml +0 -102
- data/spec/fixtures/vcr_cassettes/ratelimit.yml +0 -64
- data/spec/fixtures/vcr_cassettes/ratelimit_retry.yml +0 -294
- data/spec/fixtures/vcr_cassettes/reloaded_entry.yml +0 -102
- data/spec/fixtures/vcr_cassettes/space.yml +0 -83
- data/spec/fixtures/vcr_cassettes/sync_deleted_asset.yml +0 -174
- data/spec/fixtures/vcr_cassettes/sync_deleted_entry.yml +0 -89
- data/spec/fixtures/vcr_cassettes/sync_deletion.yml +0 -191
- data/spec/fixtures/vcr_cassettes/sync_environment.yml +0 -81
- data/spec/fixtures/vcr_cassettes/sync_page.yml +0 -637
- data/spec/fixtures/vcr_cassettes/sync_page_2.yml +0 -71
- data/spec/fixtures/vcr_cassettes/sync_page_short.yml +0 -106
- data/spec/fixtures/vcr_cassettes/unauthorized.yml +0 -64
- data/spec/fixtures/vcr_cassettes/unavailable.yml +0 -76
- data/spec/link_spec.rb +0 -50
- data/spec/locale_spec.rb +0 -37
- data/spec/location_spec.rb +0 -25
- data/spec/request_spec.rb +0 -57
- data/spec/resource_building_spec.rb +0 -31
- data/spec/response_spec.rb +0 -62
- data/spec/space_spec.rb +0 -31
- data/spec/spec_helper.rb +0 -14
- data/spec/support/client.rb +0 -6
- data/spec/support/json_responses.rb +0 -18
- data/spec/support/vcr.rb +0 -16
- data/spec/sync_page_spec.rb +0 -103
- data/spec/sync_spec.rb +0 -180
@@ -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
|
@@ -1,198 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/zui87wsu8q80/environments/master/content_types?limit=1000
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- RubyContentfulGem/2.0.0
|
12
|
-
Authorization:
|
13
|
-
- Bearer 64ff902c58cd14ea063d3ded810d1111a0266537e9aba283bad3319b1762c302
|
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/"b8403cd0f2664e6663a4ed099c5a0ad1"
|
45
|
-
Server:
|
46
|
-
- Contentful
|
47
|
-
X-Content-Type-Options:
|
48
|
-
- nosniff
|
49
|
-
X-Contentful-Request-Id:
|
50
|
-
- b2a122d2f0e4f510fd5b77d0f6e213f5
|
51
|
-
Content-Length:
|
52
|
-
- '371'
|
53
|
-
Accept-Ranges:
|
54
|
-
- bytes
|
55
|
-
Date:
|
56
|
-
- Wed, 05 Apr 2017 15:22:28 GMT
|
57
|
-
Via:
|
58
|
-
- 1.1 varnish
|
59
|
-
Age:
|
60
|
-
- '0'
|
61
|
-
Connection:
|
62
|
-
- close
|
63
|
-
X-Served-By:
|
64
|
-
- cache-lax8637-LAX
|
65
|
-
X-Cache:
|
66
|
-
- MISS
|
67
|
-
X-Cache-Hits:
|
68
|
-
- '0'
|
69
|
-
X-Timer:
|
70
|
-
- S1491405748.191815,VS0,VE196
|
71
|
-
Vary:
|
72
|
-
- Accept-Encoding
|
73
|
-
body:
|
74
|
-
encoding: ASCII-8BIT
|
75
|
-
string: !binary |-
|
76
|
-
H4sIAAAAAAAAA71SsW7CMBDd+QrkuVQOKgWxoVaVKlVdytSKwSRHdcJxgu20
|
77
|
-
Coh/r8/GIURhYKkVKb47+91773wYDIfM1IbNhwe3dYGtS3ARW2gtauZyxzs6
|
78
|
-
YwsrpMsnPjJbLF3AfSAxR0slzkMCLeSE+OURA26njW9lSpFSr3giJFtkKOGT
|
79
|
-
kdQbqi2jpufl2qvt8kT6wyN2DmBGevYVzqa/pprtZpxkxXVs9l5oWCzcsWBs
|
80
|
-
C62h8VQoC8r6rq1LqQZhIVuQGWzMk+mIP4z4ZJlM5u7jyf2YP362L1RldtsF
|
81
|
-
DT9osFDk9olsw5plaEop6hcESYpVJWUkx5TI/VSXbUUsA5NqLG1AZA01tiGM
|
82
|
-
8wjJlIshBXvQufAN+sLvptNrXzHOsbcoi1RI3AOR3whpoD1HpmFXob5SdNLF
|
83
|
-
Wl4pFu55urFE1L5594jLIMXcPfkLEtHG575iFPde5euuK/+u7aRy5f/0xleD
|
84
|
-
4+APz7KeV+4DAAA=
|
85
|
-
http_version:
|
86
|
-
recorded_at: Wed, 05 Apr 2017 15:22:28 GMT
|
87
|
-
- request:
|
88
|
-
method: get
|
89
|
-
uri: https://cdn.contentful.com/spaces/zui87wsu8q80/environments/master/entries
|
90
|
-
body:
|
91
|
-
encoding: US-ASCII
|
92
|
-
string: ''
|
93
|
-
headers:
|
94
|
-
User-Agent:
|
95
|
-
- RubyContentfulGem/2.0.0
|
96
|
-
Authorization:
|
97
|
-
- Bearer 64ff902c58cd14ea063d3ded810d1111a0266537e9aba283bad3319b1762c302
|
98
|
-
Content-Type:
|
99
|
-
- application/vnd.contentful.delivery.v1+json
|
100
|
-
Accept-Encoding:
|
101
|
-
- gzip
|
102
|
-
Connection:
|
103
|
-
- close
|
104
|
-
Host:
|
105
|
-
- cdn.contentful.com
|
106
|
-
response:
|
107
|
-
status:
|
108
|
-
code: 200
|
109
|
-
message: OK
|
110
|
-
headers:
|
111
|
-
Access-Control-Allow-Headers:
|
112
|
-
- 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
|
113
|
-
Access-Control-Allow-Methods:
|
114
|
-
- GET,HEAD,OPTIONS
|
115
|
-
Access-Control-Allow-Origin:
|
116
|
-
- "*"
|
117
|
-
Access-Control-Expose-Headers:
|
118
|
-
- Etag
|
119
|
-
Access-Control-Max-Age:
|
120
|
-
- '86400'
|
121
|
-
Cache-Control:
|
122
|
-
- max-age=0
|
123
|
-
Content-Type:
|
124
|
-
- application/vnd.contentful.delivery.v1+json
|
125
|
-
Etag:
|
126
|
-
- '"8a73a5579355b16a76b6c6827be4cb40"'
|
127
|
-
Server:
|
128
|
-
- Contentful
|
129
|
-
X-Content-Type-Options:
|
130
|
-
- nosniff
|
131
|
-
X-Contentful-Request-Id:
|
132
|
-
- 8c83e246e7803d22fb0a7f97f684952b
|
133
|
-
Content-Length:
|
134
|
-
- '735'
|
135
|
-
Accept-Ranges:
|
136
|
-
- bytes
|
137
|
-
Date:
|
138
|
-
- Wed, 05 Apr 2017 15:22:29 GMT
|
139
|
-
Via:
|
140
|
-
- 1.1 varnish
|
141
|
-
Age:
|
142
|
-
- '315'
|
143
|
-
Connection:
|
144
|
-
- close
|
145
|
-
X-Served-By:
|
146
|
-
- cache-lax8649-LAX
|
147
|
-
X-Cache:
|
148
|
-
- HIT
|
149
|
-
X-Cache-Hits:
|
150
|
-
- '1'
|
151
|
-
X-Timer:
|
152
|
-
- S1491405749.281463,VS0,VE0
|
153
|
-
Vary:
|
154
|
-
- Accept-Encoding
|
155
|
-
body:
|
156
|
-
encoding: ASCII-8BIT
|
157
|
-
string: |
|
158
|
-
{
|
159
|
-
"sys": {
|
160
|
-
"type": "Array"
|
161
|
-
},
|
162
|
-
"total": 1,
|
163
|
-
"skip": 0,
|
164
|
-
"limit": 100,
|
165
|
-
"items": [
|
166
|
-
{
|
167
|
-
"sys": {
|
168
|
-
"space": {
|
169
|
-
"sys": {
|
170
|
-
"type": "Link",
|
171
|
-
"linkType": "Space",
|
172
|
-
"id": "zui87wsu8q80"
|
173
|
-
}
|
174
|
-
},
|
175
|
-
"id": "dzNHzcQaVGwgouGswEoSm",
|
176
|
-
"type": "Entry",
|
177
|
-
"createdAt": "2017-04-05T15:15:27.632Z",
|
178
|
-
"updatedAt": "2017-04-05T15:15:27.632Z",
|
179
|
-
"revision": 1,
|
180
|
-
"contentType": {
|
181
|
-
"sys": {
|
182
|
-
"type": "Link",
|
183
|
-
"linkType": "ContentType",
|
184
|
-
"id": "test"
|
185
|
-
}
|
186
|
-
},
|
187
|
-
"locale": "en-US"
|
188
|
-
},
|
189
|
-
"fields": {
|
190
|
-
"integer": 123,
|
191
|
-
"decimal": 12.3
|
192
|
-
}
|
193
|
-
}
|
194
|
-
]
|
195
|
-
}
|
196
|
-
http_version:
|
197
|
-
recorded_at: Wed, 05 Apr 2017 15:22:29 GMT
|
198
|
-
recorded_with: VCR 3.0.3
|