contentful 2.16.0 → 2.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/contentful/version.rb +1 -1
- metadata +3 -370
- data/.gitignore +0 -7
- data/.rspec +0 -1
- data/.rubocop.yml +0 -31
- data/.rubocop_todo.yml +0 -35
- data/.travis.yml +0 -15
- data/.yardopts +0 -4
- data/Gemfile +0 -9
- data/Guardfile +0 -24
- data/RELEASE.md +0 -8
- data/Rakefile +0 -33
- data/contentful.gemspec +0 -44
- 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 -187
- data/spec/asset_spec.rb +0 -220
- data/spec/auto_includes_spec.rb +0 -12
- data/spec/client_class_spec.rb +0 -86
- data/spec/client_configuration_spec.rb +0 -394
- 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 -815
- 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.yml +0 -288
- data/spec/fixtures/vcr_cassettes/array/marshal_custom_classes.yml +0 -159
- data/spec/fixtures/vcr_cassettes/array/marshal_unpublished.yml +0 -315
- data/spec/fixtures/vcr_cassettes/array/nested_resources.yml +0 -159
- 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.yml +0 -96
- 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/with_tags.yml +0 -138
- 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.yml +0 -561
- 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_assets.yml +0 -89
- 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/entry.yml +0 -102
- 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/with_tags.yml +0 -238
- 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/query_array_1.yml +0 -89
- data/spec/fixtures/vcr_cassettes/query_array_2.yml +0 -89
- 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,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
|
@@ -1,193 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/lzjz8hygvfgu/environments/master/content_types?limit=1000
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- RubyContentfulGem/1.2.0
|
12
|
-
Authorization:
|
13
|
-
- Bearer 0c6ef483524b5e46b3bafda1bf355f38f5f40b4830f7599f790a410860c7c271
|
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/"e801ad802edde7bfb6cb64aa3ec11e90"
|
45
|
-
Server:
|
46
|
-
- Contentful
|
47
|
-
X-Content-Type-Options:
|
48
|
-
- nosniff
|
49
|
-
- nosniff
|
50
|
-
X-Contentful-Request-Id:
|
51
|
-
- 7b6b3c568bc607a8c28cbadcc673dcd1
|
52
|
-
Content-Length:
|
53
|
-
- '655'
|
54
|
-
Accept-Ranges:
|
55
|
-
- bytes
|
56
|
-
Date:
|
57
|
-
- Tue, 20 Dec 2016 16:26:49 GMT
|
58
|
-
Via:
|
59
|
-
- 1.1 varnish
|
60
|
-
Age:
|
61
|
-
- '0'
|
62
|
-
Connection:
|
63
|
-
- close
|
64
|
-
X-Served-By:
|
65
|
-
- cache-fra1232-FRA
|
66
|
-
X-Cache:
|
67
|
-
- MISS
|
68
|
-
X-Cache-Hits:
|
69
|
-
- '0'
|
70
|
-
X-Timer:
|
71
|
-
- S1482251208.877055,VS0,VE319
|
72
|
-
Vary:
|
73
|
-
- Accept-Encoding
|
74
|
-
body:
|
75
|
-
encoding: ASCII-8BIT
|
76
|
-
string: !binary |-
|
77
|
-
H4sIAAAAAAAAA91W3W/aMBB/56+I/LwiJ7DS8obo9lS12gAhNvUhTRzwMHGI
|
78
|
-
nbJQ8b/Xdj6widGqoqExC4mc7/N3vrPvteU4gOUM9J1X8SkInidIUGCQpn4O
|
79
|
-
xN7uk5ThlPtE7HuKYkucCAIqguAV5oJyISw2MEcrafGnsljYPXCjXLHED6Sv
|
80
|
-
SqLY1IKRG2qzCuoex0sgne6XcB8vx2XQI2XxQACHEg/Z/treLPL5SzTPJKxq
|
81
|
-
7epvBbRYoNDp0SAbuGFEg2C6nm6mk1l3MtPM13ENacxRzFUYmpUgRT5H4UBm
|
82
|
-
B3jQ7VzB6ysPjt1uv3srfu3ODfyhK2RJaFG4Hbuw7133Xa/d+9wzFFL0ghmm
|
83
|
-
sXDQKaOvYYAQs4T4+VeMSJECGvhcCD/4q32YIJaUiG8SUYfh+YLjeF7HBELE
|
84
|
-
ghQnUk0IxRkhFT4QSbv7c5aZM06yzLvNqZStHd+XEo6KRD+8Or9j9JubHCKU
|
85
|
-
CN4iCSzyCUOGXorWGU4Vk6eZyRNZ8Z/JEUUqSlmcWGXUVhsWjCxBAUbMjLDK
|
86
|
-
68jGPFrQ4DzAjGzpHfQl5qlq+2JpPWHBLWNVlWGYq4DbuTVyq+550L8Tnl77
|
87
|
-
VoR3WnNcZN0ufOPC0ppy1GRVJzfKV8+UfLAdm736F/oxRQlNi4vXem7fS77j
|
88
|
-
H9wqFcQ7cQt/EOBZ7ht5Tat3xQpvVLAvFV2AeW4HNmxwLqcmGW/UVP1CNFmX
|
89
|
-
gyugmXoyrJU4tDH/KWzlU/Ck/svX7oInVteFfBV2SL6crDcbbzp7/PY40w/n
|
90
|
-
xJG124bQe8fIWs+4TQVtZHX/OLIaI2E9MQ4IRrFzOHWdPqs2B9CqRR+OjqYn
|
91
|
-
vYbneCz+hynG7FJBPbV2rTd3xk9hvA4AAA==
|
92
|
-
http_version:
|
93
|
-
recorded_at: Tue, 20 Dec 2016 16:26:49 GMT
|
94
|
-
- request:
|
95
|
-
method: get
|
96
|
-
uri: https://cdn.contentful.com/spaces/lzjz8hygvfgu/environments/master/entries?sys.id=3f6fq5ylFCi4kIYAQKsAYG
|
97
|
-
body:
|
98
|
-
encoding: US-ASCII
|
99
|
-
string: ''
|
100
|
-
headers:
|
101
|
-
User-Agent:
|
102
|
-
- RubyContentfulGem/1.2.0
|
103
|
-
Authorization:
|
104
|
-
- Bearer 0c6ef483524b5e46b3bafda1bf355f38f5f40b4830f7599f790a410860c7c271
|
105
|
-
Content-Type:
|
106
|
-
- application/vnd.contentful.delivery.v1+json
|
107
|
-
Accept-Encoding:
|
108
|
-
- gzip
|
109
|
-
Connection:
|
110
|
-
- close
|
111
|
-
Host:
|
112
|
-
- cdn.contentful.com
|
113
|
-
response:
|
114
|
-
status:
|
115
|
-
code: 200
|
116
|
-
message: OK
|
117
|
-
headers:
|
118
|
-
Access-Control-Allow-Headers:
|
119
|
-
- 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
|
120
|
-
Access-Control-Allow-Methods:
|
121
|
-
- GET,HEAD,OPTIONS
|
122
|
-
Access-Control-Allow-Origin:
|
123
|
-
- "*"
|
124
|
-
Access-Control-Expose-Headers:
|
125
|
-
- Etag
|
126
|
-
Access-Control-Max-Age:
|
127
|
-
- '86400'
|
128
|
-
Cache-Control:
|
129
|
-
- max-age=0
|
130
|
-
Content-Encoding:
|
131
|
-
- gzip
|
132
|
-
Content-Type:
|
133
|
-
- application/vnd.contentful.delivery.v1+json
|
134
|
-
Etag:
|
135
|
-
- W/"b9ea319dfcc2f4b46bce6eca412749ad"
|
136
|
-
Server:
|
137
|
-
- Contentful
|
138
|
-
X-Content-Type-Options:
|
139
|
-
- nosniff
|
140
|
-
- nosniff
|
141
|
-
X-Contentful-Request-Id:
|
142
|
-
- 8d8363fc7228b2dbefe3b9c1bea3414b
|
143
|
-
Content-Length:
|
144
|
-
- '1017'
|
145
|
-
Accept-Ranges:
|
146
|
-
- bytes
|
147
|
-
Date:
|
148
|
-
- Tue, 20 Dec 2016 16:26:49 GMT
|
149
|
-
Via:
|
150
|
-
- 1.1 varnish
|
151
|
-
Age:
|
152
|
-
- '0'
|
153
|
-
Connection:
|
154
|
-
- close
|
155
|
-
X-Served-By:
|
156
|
-
- cache-fra1241-FRA
|
157
|
-
X-Cache:
|
158
|
-
- MISS
|
159
|
-
X-Cache-Hits:
|
160
|
-
- '0'
|
161
|
-
X-Timer:
|
162
|
-
- S1482251209.369201,VS0,VE254
|
163
|
-
Vary:
|
164
|
-
- Accept-Encoding
|
165
|
-
body:
|
166
|
-
encoding: ASCII-8BIT
|
167
|
-
string: !binary |-
|
168
|
-
H4sIAAAAAAAAA61WbW/bNhD+nl9x0KcNiA3Jr0m+KcFabC2WdnZgeEM/MNLJ
|
169
|
-
YiWTCknHUIv8991Rlt9mJx1QwYBF8u7hvT6n7xcAga1tcAPf6ZUWrq6QVkFs
|
170
|
-
jKgD2nu5ZBmnnShpP/IrW8iKFqFflHIpHR+FzVo6XDLgPx6wgT26xd9kK5Hw
|
171
|
-
Va1Es7lnC2/4zdamj1IVAd+5e+h2VUw3Nk884pGATNmd8tvXb1d5vXjOFiv2
|
172
|
-
qn1etu/ez+YJGp1+NsqehnX57k4Oit/n8ecPNp6/38PfGvabcqbeP0gMCodp
|
173
|
-
zHEJemHU74SjTm88jQY3/aubwaA7DAd/7yusqvT/KRh8llZq1eZkY3milUPl
|
174
|
-
NhH5eaG928M9GeCxTlZxlGY6SWZPs/XsYT54mL8d6VInovQFh6rzMGkVtskI
|
175
|
-
MolluqtPdjNgJUe+/ymWXvWdqNE5CkhZ4iXEf+0H1laYSDwEOFGNHvdH6+w4
|
176
|
-
3V65qZmhvP2a3KoRzmyxnoTv4/vY3sU/Fgd26bgfSr/VuR50o+F40Bv194Mf
|
177
|
-
lIILrD/qhqPecHw9PFnMKdrEyGqDHtwJipKBXKRQYuZAwBKtFQsE4SDqD4eQ
|
178
|
-
G9sFrSC6+iO+HnVhmiNQlljLYKUNFTa4nKQtHQiVQs54K/vo3wl3LZ0iTBZb
|
179
|
-
a3hEsbSgMyjlInfgNCkjKMLJUVjHJ/QmCUIvsQEWVYXCsL6GhQbrjPC6qwqk
|
180
|
-
2gDYor6ECk2GiStrqIRhE0tW0Yrt0oRqusDm17CPqI1cSEXtBpnRS7Ivl2S4
|
181
|
-
gJzq5w3zLr2/bH/j1RoNQoqZVMR6ZIVFtoMD5KFRJDls7PBmePlS60KqBV21
|
182
|
-
FiaFWxTPFMCPokCylrEflKQdKx3Z7WBSGZJOqU1A2gP7fGrqJjeNVb6dQOGa
|
183
|
-
yJViY7fmNgdCGs7fL/bX7n6PtFlt6Cq6vh51wqgTjae9/k0Y0u+AqiynouW2
|
184
|
-
t4QTcuK4RQ/a01G0WCA2hVBW2AMW1StPrHRMIeGoTljcblnC1ztT+Bc/iaRK
|
185
|
-
yhWV+7aJgqZT21m0m0YnGeDkRDop+RZbMEe9MZe2jHFuMjWO8U3eyYO+f5Vr
|
186
|
-
DiRbSvsvZQWvzajRTTTuDoe9/cSTxa9NqTMqp+cUYZ2fVD8j5Ofn1TbwURS6
|
187
|
-
Zdov6+Lhab3uzeb3n+/n/pNn9+w+D45TcGZwHYidGl50vdqMrRnzwOH3SnBE
|
188
|
-
1tTf0IihvYR1ri0xJ6lDpg1TxdJi+YzECoaah6ZBQ5nMIZ9QV8QYDbnC1KAH
|
189
|
-
YPoRsJmJfJgTJdTwKCskgiESXxJvypQAmd+9uFS5eJROKOdJnLGrUih08EHY
|
190
|
-
vK7roruLWRuv5v8LxfLl4uXiXynqqn1mCgAA
|
191
|
-
http_version:
|
192
|
-
recorded_at: Tue, 20 Dec 2016 16:26:49 GMT
|
193
|
-
recorded_with: VCR 3.0.3
|