contentful 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - RubyContentfulGem/0.1.0
11
+ - RubyContentfulGem/0.1.1
12
12
  Authorization:
13
13
  - Bearer b4c0n73n7fu1
14
14
  Content-Type:
@@ -21,25 +21,25 @@ http_interactions:
21
21
  message: OK
22
22
  headers:
23
23
  Date:
24
- - Wed, 05 Mar 2014 21:16:41 GMT
24
+ - Wed, 16 Apr 2014 09:00:22 GMT
25
25
  Server:
26
26
  - nginx/1.1.19
27
- Content-Type:
28
- - application/vnd.contentful.delivery.v1+json
29
- X-Contentful-Request-Id:
30
- - 85f-830831812
31
- Etag:
32
- - "\"a9e11c59bf73598894bf05d4db7700cb\""
33
- Access-Control-Allow-Origin:
34
- - "*"
35
27
  Access-Control-Allow-Headers:
36
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
37
29
  Access-Control-Allow-Methods:
38
30
  - GET,HEAD,OPTIONS
31
+ Access-Control-Allow-Origin:
32
+ - "*"
39
33
  Access-Control-Max-Age:
40
34
  - '86400'
41
35
  Cache-Control:
42
36
  - max-age=0
37
+ Content-Type:
38
+ - application/vnd.contentful.delivery.v1+json
39
+ Etag:
40
+ - "\"a9e11c59bf73598894bf05d4db7700cb\""
41
+ X-Contentful-Request-Id:
42
+ - 71a-635712892
43
43
  Content-Length:
44
44
  - '882'
45
45
  Accept-Ranges:
@@ -49,7 +49,7 @@ http_interactions:
49
49
  Age:
50
50
  - '0'
51
51
  X-Served-By:
52
- - cache-fra1235-FRA
52
+ - cache-am77-AMS
53
53
  X-Cache:
54
54
  - MISS
55
55
  X-Cache-Hits:
@@ -108,5 +108,5 @@ http_interactions:
108
108
  }
109
109
  }
110
110
  http_version:
111
- recorded_at: Wed, 05 Mar 2014 21:16:41 GMT
112
- recorded_with: VCR 2.8.0
111
+ recorded_at: Wed, 16 Apr 2014 09:00:22 GMT
112
+ recorded_with: VCR 2.9.0
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - RubyContentfulGem/0.1.0
11
+ - RubyContentfulGem/0.1.1
12
12
  Authorization:
13
13
  - Bearer b4c0n73n7fu1
14
14
  Content-Type:
@@ -21,25 +21,25 @@ http_interactions:
21
21
  message: OK
22
22
  headers:
23
23
  Date:
24
- - Wed, 12 Mar 2014 23:25:44 GMT
24
+ - Wed, 16 Apr 2014 09:00:27 GMT
25
25
  Server:
26
26
  - nginx/1.1.19
27
- Content-Type:
28
- - application/vnd.contentful.delivery.v1+json
29
- X-Contentful-Request-Id:
30
- - 85f-830971439
31
- Etag:
32
- - "\"a9e11c59bf73598894bf05d4db7700cb\""
33
- Access-Control-Allow-Origin:
34
- - "*"
35
27
  Access-Control-Allow-Headers:
36
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
37
29
  Access-Control-Allow-Methods:
38
30
  - GET,HEAD,OPTIONS
31
+ Access-Control-Allow-Origin:
32
+ - "*"
39
33
  Access-Control-Max-Age:
40
34
  - '86400'
41
35
  Cache-Control:
42
36
  - max-age=0
37
+ Content-Type:
38
+ - application/vnd.contentful.delivery.v1+json
39
+ Etag:
40
+ - "\"a9e11c59bf73598894bf05d4db7700cb\""
41
+ X-Contentful-Request-Id:
42
+ - 71a-635712892
43
43
  Content-Length:
44
44
  - '882'
45
45
  Accept-Ranges:
@@ -47,13 +47,13 @@ http_interactions:
47
47
  Via:
48
48
  - 1.1 varnish
49
49
  Age:
50
- - '0'
50
+ - '5'
51
51
  X-Served-By:
52
- - cache-am77-AMS
52
+ - cache-am76-AMS
53
53
  X-Cache:
54
- - MISS
54
+ - HIT
55
55
  X-Cache-Hits:
56
- - '0'
56
+ - '1'
57
57
  Vary:
58
58
  - Accept-Encoding
59
59
  body:
@@ -108,5 +108,5 @@ http_interactions:
108
108
  }
109
109
  }
110
110
  http_version:
111
- recorded_at: Wed, 12 Mar 2014 23:25:43 GMT
112
- recorded_with: VCR 2.8.0
111
+ recorded_at: Wed, 16 Apr 2014 09:00:27 GMT
112
+ recorded_with: VCR 2.9.0
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - RubyContentfulGem/0.1.0
11
+ - RubyContentfulGem/0.1.1
12
12
  Authorization:
13
13
  - Bearer b4c0n73n7fu1
14
14
  Content-Type:
@@ -21,35 +21,35 @@ http_interactions:
21
21
  message: OK
22
22
  headers:
23
23
  Date:
24
- - Wed, 05 Mar 2014 21:15:56 GMT
24
+ - Wed, 16 Apr 2014 09:00:24 GMT
25
25
  Server:
26
26
  - nginx/1.1.19
27
- Content-Type:
28
- - application/vnd.contentful.delivery.v1+json
29
- X-Contentful-Request-Id:
30
- - 85f-830831773
31
- Etag:
32
- - "\"23e4b3361b063c545fdd9f7f4f97d825\""
33
- Access-Control-Allow-Origin:
34
- - "*"
35
27
  Access-Control-Allow-Headers:
36
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
37
29
  Access-Control-Allow-Methods:
38
30
  - GET,HEAD,OPTIONS
31
+ Access-Control-Allow-Origin:
32
+ - "*"
39
33
  Access-Control-Max-Age:
40
34
  - '86400'
41
35
  Cache-Control:
42
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
43
  Content-Length:
44
- - '238'
44
+ - '285'
45
45
  Accept-Ranges:
46
46
  - bytes
47
47
  Via:
48
48
  - 1.1 varnish
49
49
  Age:
50
- - '0'
50
+ - '2003'
51
51
  X-Served-By:
52
- - cache-fra1227-FRA
52
+ - cache-fra1233-FRA
53
53
  X-Cache:
54
54
  - HIT
55
55
  X-Cache-Hits:
@@ -68,14 +68,16 @@ http_interactions:
68
68
  "locales": [
69
69
  {
70
70
  "code": "en-US",
71
+ "default": true,
71
72
  "name": "English"
72
73
  },
73
74
  {
74
75
  "code": "tlh",
76
+ "default": false,
75
77
  "name": "Klingon"
76
78
  }
77
79
  ]
78
80
  }
79
81
  http_version:
80
- recorded_at: Wed, 05 Mar 2014 21:15:56 GMT
81
- recorded_with: VCR 2.8.0
82
+ recorded_at: Wed, 16 Apr 2014 09:00:24 GMT
83
+ recorded_with: VCR 2.9.0
@@ -8,11 +8,11 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - RubyContentfulGem/0.1.0
12
- Content-Type:
13
- - application/vnd.contentful.delivery.v1+json
11
+ - RubyContentfulGem/0.1.1
14
12
  Authorization:
15
13
  - Bearer credentials
14
+ Content-Type:
15
+ - application/vnd.contentful.delivery.v1+json
16
16
  Host:
17
17
  - cdn.contentful.com
18
18
  response:
@@ -21,21 +21,21 @@ http_interactions:
21
21
  message: Unauthorized
22
22
  headers:
23
23
  Date:
24
- - Sun, 02 Mar 2014 12:03:31 GMT
24
+ - Wed, 16 Apr 2014 09:00:24 GMT
25
25
  Server:
26
26
  - nginx/1.1.19
27
- Content-Type:
28
- - application/vnd.contentful.delivery.v1+json
29
- Access-Control-Allow-Origin:
30
- - "*"
31
27
  Access-Control-Allow-Headers:
32
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
33
29
  Access-Control-Allow-Methods:
34
30
  - GET,HEAD,OPTIONS
31
+ Access-Control-Allow-Origin:
32
+ - "*"
35
33
  Access-Control-Max-Age:
36
34
  - '86400'
37
35
  Cache-Control:
38
36
  - max-age=0
37
+ Content-Type:
38
+ - application/vnd.contentful.delivery.v1+json
39
39
  Content-Length:
40
40
  - '179'
41
41
  Accept-Ranges:
@@ -43,7 +43,7 @@ http_interactions:
43
43
  Via:
44
44
  - 1.1 varnish
45
45
  X-Served-By:
46
- - cache-fra1235-FRA
46
+ - cache-am72-AMS
47
47
  X-Cache:
48
48
  - MISS
49
49
  X-Cache-Hits:
@@ -57,8 +57,8 @@ http_interactions:
57
57
  "id": "AccessTokenInvalid"
58
58
  },
59
59
  "message": "The access token you sent could not be found or is invalid.",
60
- "requestId": "85f-351082324"
60
+ "requestId": "85f-649640521"
61
61
  }
62
- http_version:
63
- recorded_at: Sun, 02 Mar 2014 12:03:31 GMT
64
- recorded_with: VCR 2.8.0
62
+ http_version:
63
+ recorded_at: Wed, 16 Apr 2014 09:00:24 GMT
64
+ recorded_with: VCR 2.9.0
metadata CHANGED
@@ -1,151 +1,170 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Contentful GmbH (Jan Lelis)
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-04-14 00:00:00.000000000 Z
12
+ date: 2014-04-16 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: http
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: '0'
20
- - - "<"
22
+ - - <
21
23
  - !ruby/object:Gem::Version
22
24
  version: '0.6'
23
25
  type: :runtime
24
26
  prerelease: false
25
27
  version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
26
29
  requirements:
27
- - - "~>"
30
+ - - ~>
28
31
  - !ruby/object:Gem::Version
29
32
  version: '0'
30
- - - "<"
33
+ - - <
31
34
  - !ruby/object:Gem::Version
32
35
  version: '0.6'
33
36
  - !ruby/object:Gem::Dependency
34
37
  name: multi_json
35
38
  requirement: !ruby/object:Gem::Requirement
39
+ none: false
36
40
  requirements:
37
- - - "~>"
41
+ - - ~>
38
42
  - !ruby/object:Gem::Version
39
43
  version: '1'
40
44
  type: :runtime
41
45
  prerelease: false
42
46
  version_requirements: !ruby/object:Gem::Requirement
47
+ none: false
43
48
  requirements:
44
- - - "~>"
49
+ - - ~>
45
50
  - !ruby/object:Gem::Version
46
51
  version: '1'
47
52
  - !ruby/object:Gem::Dependency
48
53
  name: bundler
49
54
  requirement: !ruby/object:Gem::Requirement
55
+ none: false
50
56
  requirements:
51
- - - "~>"
57
+ - - ~>
52
58
  - !ruby/object:Gem::Version
53
59
  version: '1.5'
54
60
  type: :development
55
61
  prerelease: false
56
62
  version_requirements: !ruby/object:Gem::Requirement
63
+ none: false
57
64
  requirements:
58
- - - "~>"
65
+ - - ~>
59
66
  - !ruby/object:Gem::Version
60
67
  version: '1.5'
61
68
  - !ruby/object:Gem::Dependency
62
69
  name: rake
63
70
  requirement: !ruby/object:Gem::Requirement
71
+ none: false
64
72
  requirements:
65
- - - "~>"
73
+ - - ~>
66
74
  - !ruby/object:Gem::Version
67
75
  version: '10'
68
76
  type: :development
69
77
  prerelease: false
70
78
  version_requirements: !ruby/object:Gem::Requirement
79
+ none: false
71
80
  requirements:
72
- - - "~>"
81
+ - - ~>
73
82
  - !ruby/object:Gem::Version
74
83
  version: '10'
75
84
  - !ruby/object:Gem::Dependency
76
85
  name: rubygems-tasks
77
86
  requirement: !ruby/object:Gem::Requirement
87
+ none: false
78
88
  requirements:
79
- - - "~>"
89
+ - - ~>
80
90
  - !ruby/object:Gem::Version
81
91
  version: '0.2'
82
92
  type: :development
83
93
  prerelease: false
84
94
  version_requirements: !ruby/object:Gem::Requirement
95
+ none: false
85
96
  requirements:
86
- - - "~>"
97
+ - - ~>
87
98
  - !ruby/object:Gem::Version
88
99
  version: '0.2'
89
100
  - !ruby/object:Gem::Dependency
90
101
  name: rspec
91
102
  requirement: !ruby/object:Gem::Requirement
103
+ none: false
92
104
  requirements:
93
- - - "~>"
105
+ - - ~>
94
106
  - !ruby/object:Gem::Version
95
107
  version: '2'
96
108
  type: :development
97
109
  prerelease: false
98
110
  version_requirements: !ruby/object:Gem::Requirement
111
+ none: false
99
112
  requirements:
100
- - - "~>"
113
+ - - ~>
101
114
  - !ruby/object:Gem::Version
102
115
  version: '2'
103
116
  - !ruby/object:Gem::Dependency
104
117
  name: rr
105
118
  requirement: !ruby/object:Gem::Requirement
119
+ none: false
106
120
  requirements:
107
- - - ">="
121
+ - - ! '>='
108
122
  - !ruby/object:Gem::Version
109
123
  version: '0'
110
124
  type: :development
111
125
  prerelease: false
112
126
  version_requirements: !ruby/object:Gem::Requirement
127
+ none: false
113
128
  requirements:
114
- - - ">="
129
+ - - ! '>='
115
130
  - !ruby/object:Gem::Version
116
131
  version: '0'
117
132
  - !ruby/object:Gem::Dependency
118
133
  name: vcr
119
134
  requirement: !ruby/object:Gem::Requirement
135
+ none: false
120
136
  requirements:
121
- - - ">="
137
+ - - ! '>='
122
138
  - !ruby/object:Gem::Version
123
139
  version: '0'
124
140
  type: :development
125
141
  prerelease: false
126
142
  version_requirements: !ruby/object:Gem::Requirement
143
+ none: false
127
144
  requirements:
128
- - - ">="
145
+ - - ! '>='
129
146
  - !ruby/object:Gem::Version
130
147
  version: '0'
131
148
  - !ruby/object:Gem::Dependency
132
149
  name: webmock
133
150
  requirement: !ruby/object:Gem::Requirement
151
+ none: false
134
152
  requirements:
135
- - - "~>"
153
+ - - ~>
136
154
  - !ruby/object:Gem::Version
137
155
  version: '1'
138
- - - ">="
156
+ - - ! '>='
139
157
  - !ruby/object:Gem::Version
140
158
  version: 1.17.3
141
159
  type: :development
142
160
  prerelease: false
143
161
  version_requirements: !ruby/object:Gem::Requirement
162
+ none: false
144
163
  requirements:
145
- - - "~>"
164
+ - - ~>
146
165
  - !ruby/object:Gem::Version
147
166
  version: '1'
148
- - - ">="
167
+ - - ! '>='
149
168
  - !ruby/object:Gem::Version
150
169
  version: 1.17.3
151
170
  description: Ruby client for the https://www.contentful.com Content Delivery API
@@ -154,25 +173,21 @@ executables: []
154
173
  extensions: []
155
174
  extra_rdoc_files: []
156
175
  files:
157
- - ".gitignore"
158
- - ".rspec"
159
- - ".travis.yml"
160
- - ChangeLog.md
161
- - Gemfile
162
- - Gemfile.lock
163
- - LICENSE.txt
164
- - README.md
165
- - Rakefile
166
- - contentful.gemspec
176
+ - .gitignore
177
+ - .rspec
178
+ - .travis.yml
167
179
  - coverage/.last_run.json
168
180
  - coverage/.resultset.json
181
+ - CHANGELOG.md
182
+ - contentful.gemspec
169
183
  - examples/custom_classes.rb
170
184
  - examples/dynamic_entries.rb
171
185
  - examples/example_queries.rb
172
186
  - examples/raise_errors.rb
173
187
  - examples/raw_mode.rb
174
188
  - examples/resource_mapping.rb
175
- - lib/contentful.rb
189
+ - Gemfile
190
+ - Gemfile.lock
176
191
  - lib/contentful/array.rb
177
192
  - lib/contentful/asset.rb
178
193
  - lib/contentful/client.rb
@@ -186,15 +201,19 @@ files:
186
201
  - lib/contentful/locale.rb
187
202
  - lib/contentful/location.rb
188
203
  - lib/contentful/request.rb
189
- - lib/contentful/resource.rb
190
204
  - lib/contentful/resource/asset_fields.rb
191
205
  - lib/contentful/resource/fields.rb
192
206
  - lib/contentful/resource/system_properties.rb
207
+ - lib/contentful/resource.rb
193
208
  - lib/contentful/resource_builder.rb
194
209
  - lib/contentful/response.rb
195
210
  - lib/contentful/space.rb
196
211
  - lib/contentful/support.rb
197
212
  - lib/contentful/version.rb
213
+ - lib/contentful.rb
214
+ - LICENSE.txt
215
+ - Rakefile
216
+ - README.md
198
217
  - spec/array_spec.rb
199
218
  - spec/asset_spec.rb
200
219
  - spec/auto_includes_spec.rb
@@ -228,7 +247,6 @@ files:
228
247
  - spec/fixtures/vcr_cassettes/location.yml
229
248
  - spec/fixtures/vcr_cassettes/not_found.yml
230
249
  - spec/fixtures/vcr_cassettes/nyancat.yml
231
- - spec/fixtures/vcr_cassettes/nyancat_include.yml
232
250
  - spec/fixtures/vcr_cassettes/reloaded_entry.yml
233
251
  - spec/fixtures/vcr_cassettes/space.yml
234
252
  - spec/fixtures/vcr_cassettes/unauthorized.yml
@@ -247,26 +265,33 @@ files:
247
265
  homepage: https://github.com/contentful/contentful.rb
248
266
  licenses:
249
267
  - MIT
250
- metadata: {}
251
268
  post_install_message:
252
269
  rdoc_options: []
253
270
  require_paths:
254
271
  - lib
255
272
  required_ruby_version: !ruby/object:Gem::Requirement
273
+ none: false
256
274
  requirements:
257
- - - ">="
275
+ - - ! '>='
258
276
  - !ruby/object:Gem::Version
259
277
  version: '0'
278
+ segments:
279
+ - 0
280
+ hash: -4173593734953116730
260
281
  required_rubygems_version: !ruby/object:Gem::Requirement
282
+ none: false
261
283
  requirements:
262
- - - ">="
284
+ - - ! '>='
263
285
  - !ruby/object:Gem::Version
264
286
  version: '0'
287
+ segments:
288
+ - 0
289
+ hash: -4173593734953116730
265
290
  requirements: []
266
291
  rubyforge_project:
267
- rubygems_version: 2.2.0
292
+ rubygems_version: 1.8.23.2
268
293
  signing_key:
269
- specification_version: 4
294
+ specification_version: 3
270
295
  summary: contentful
271
296
  test_files:
272
297
  - spec/array_spec.rb
@@ -302,7 +327,6 @@ test_files:
302
327
  - spec/fixtures/vcr_cassettes/location.yml
303
328
  - spec/fixtures/vcr_cassettes/not_found.yml
304
329
  - spec/fixtures/vcr_cassettes/nyancat.yml
305
- - spec/fixtures/vcr_cassettes/nyancat_include.yml
306
330
  - spec/fixtures/vcr_cassettes/reloaded_entry.yml
307
331
  - spec/fixtures/vcr_cassettes/space.yml
308
332
  - spec/fixtures/vcr_cassettes/unauthorized.yml