contentful 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/{ChangeLog.md → CHANGELOG.md} +5 -0
- data/lib/contentful/client.rb +1 -1
- data/lib/contentful/version.rb +1 -1
- data/spec/client_configuration_spec.rb +1 -1
- data/spec/fixtures/vcr_cassettes/array.yml +13 -13
- data/spec/fixtures/vcr_cassettes/array_page_1.yml +13 -13
- data/spec/fixtures/vcr_cassettes/array_page_2.yml +13 -13
- data/spec/fixtures/vcr_cassettes/asset.yml +16 -16
- data/spec/fixtures/vcr_cassettes/bad_request.yml +10 -10
- data/spec/fixtures/vcr_cassettes/content_type.yml +16 -16
- data/spec/fixtures/vcr_cassettes/entries.yml +39 -39
- data/spec/fixtures/vcr_cassettes/entry.yml +13 -13
- data/spec/fixtures/vcr_cassettes/entry_cache.yml +19 -19
- data/spec/fixtures/vcr_cassettes/field.yml +14 -14
- data/spec/fixtures/vcr_cassettes/locale.yml +19 -17
- data/spec/fixtures/vcr_cassettes/location.yml +31 -31
- data/spec/fixtures/vcr_cassettes/not_found.yml +10 -10
- data/spec/fixtures/vcr_cassettes/nyancat.yml +13 -13
- data/spec/fixtures/vcr_cassettes/reloaded_entry.yml +16 -16
- data/spec/fixtures/vcr_cassettes/space.yml +17 -15
- data/spec/fixtures/vcr_cassettes/unauthorized.yml +13 -13
- metadata +67 -43
- checksums.yaml +0 -7
- data/spec/fixtures/vcr_cassettes/nyancat_include.yml +0 -112
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: a1f5e5d0ae0f81f3be2fcef1c4cdffbd4eeb253a
|
4
|
-
data.tar.gz: 7826b5a5d1dbbdd695617a02840a2e26cd79fb22
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 68d88252df1d4fb897c243d05fea8cd104c342fa8431de9b693abf7bf49d931d76f7b821ad984841d6803ddd60291eb9e2745a0b1a69d2022088079f5deea471
|
7
|
-
data.tar.gz: 0dc914a52aa703c1cade8c1bbc10f3ed7d3aec2ef8d8c7db064d47664ec2fab7c27fbda756e56ebe7d183985600355fac35f134720bb836959455dac92c79c3f
|
@@ -1,112 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/cfexampleapi/entries/nyancat?include=1
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- RubyContentfulGem/0.1.0
|
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, 05 Mar 2014 21:15:55 GMT
|
25
|
-
Server:
|
26
|
-
- nginx/1.1.19
|
27
|
-
Content-Type:
|
28
|
-
- application/vnd.contentful.delivery.v1+json
|
29
|
-
X-Contentful-Request-Id:
|
30
|
-
- 85f-830831771
|
31
|
-
Etag:
|
32
|
-
- "\"a9e11c59bf73598894bf05d4db7700cb\""
|
33
|
-
Access-Control-Allow-Origin:
|
34
|
-
- "*"
|
35
|
-
Access-Control-Allow-Headers:
|
36
|
-
- 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
|
37
|
-
Access-Control-Allow-Methods:
|
38
|
-
- GET,HEAD,OPTIONS
|
39
|
-
Access-Control-Max-Age:
|
40
|
-
- '86400'
|
41
|
-
Cache-Control:
|
42
|
-
- max-age=0
|
43
|
-
Content-Length:
|
44
|
-
- '882'
|
45
|
-
Accept-Ranges:
|
46
|
-
- bytes
|
47
|
-
Via:
|
48
|
-
- 1.1 varnish
|
49
|
-
Age:
|
50
|
-
- '0'
|
51
|
-
X-Served-By:
|
52
|
-
- cache-fra1227-FRA
|
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
|
-
"name": "Nyan Cat",
|
65
|
-
"likes": [
|
66
|
-
"rainbows",
|
67
|
-
"fish"
|
68
|
-
],
|
69
|
-
"color": "rainbow",
|
70
|
-
"bestFriend": {
|
71
|
-
"sys": {
|
72
|
-
"type": "Link",
|
73
|
-
"linkType": "Entry",
|
74
|
-
"id": "happycat"
|
75
|
-
}
|
76
|
-
},
|
77
|
-
"birthday": "2011-04-04T22:00:00+00:00",
|
78
|
-
"lives": 1337,
|
79
|
-
"image": {
|
80
|
-
"sys": {
|
81
|
-
"type": "Link",
|
82
|
-
"linkType": "Asset",
|
83
|
-
"id": "nyancat"
|
84
|
-
}
|
85
|
-
}
|
86
|
-
},
|
87
|
-
"sys": {
|
88
|
-
"space": {
|
89
|
-
"sys": {
|
90
|
-
"type": "Link",
|
91
|
-
"linkType": "Space",
|
92
|
-
"id": "cfexampleapi"
|
93
|
-
}
|
94
|
-
},
|
95
|
-
"type": "Entry",
|
96
|
-
"contentType": {
|
97
|
-
"sys": {
|
98
|
-
"type": "Link",
|
99
|
-
"linkType": "ContentType",
|
100
|
-
"id": "cat"
|
101
|
-
}
|
102
|
-
},
|
103
|
-
"id": "nyancat",
|
104
|
-
"revision": 5,
|
105
|
-
"createdAt": "2013-06-27T22:46:19.513Z",
|
106
|
-
"updatedAt": "2013-09-04T09:19:39.027Z",
|
107
|
-
"locale": "en-US"
|
108
|
-
}
|
109
|
-
}
|
110
|
-
http_version:
|
111
|
-
recorded_at: Wed, 05 Mar 2014 21:15:55 GMT
|
112
|
-
recorded_with: VCR 2.8.0
|