contentful 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile.lock +2 -2
  4. data/README.md +0 -2
  5. data/coverage/.last_run.json +1 -1
  6. data/coverage/.resultset.json +64 -50
  7. data/coverage/index.html +429 -345
  8. data/doc/Contentful.html +2 -2
  9. data/doc/Contentful/AccessDenied.html +1 -1
  10. data/doc/Contentful/Array.html +1 -1
  11. data/doc/Contentful/ArrayCoercion.html +1 -1
  12. data/doc/Contentful/ArrayLike.html +1 -1
  13. data/doc/Contentful/Asset.html +1 -1
  14. data/doc/Contentful/BadGateway.html +1 -1
  15. data/doc/Contentful/BadRequest.html +1 -1
  16. data/doc/Contentful/BaseCoercion.html +1 -1
  17. data/doc/Contentful/BaseResource.html +1 -1
  18. data/doc/Contentful/BooleanCoercion.html +1 -1
  19. data/doc/Contentful/Client.html +1 -1
  20. data/doc/Contentful/ContentType.html +1 -1
  21. data/doc/Contentful/ContentTypeCache.html +1 -1
  22. data/doc/Contentful/DateCoercion.html +1 -1
  23. data/doc/Contentful/DeletedAsset.html +1 -1
  24. data/doc/Contentful/DeletedEntry.html +1 -1
  25. data/doc/Contentful/Entry.html +1 -1
  26. data/doc/Contentful/Error.html +1 -1
  27. data/doc/Contentful/Field.html +1 -1
  28. data/doc/Contentful/FieldsResource.html +1 -1
  29. data/doc/Contentful/File.html +1 -1
  30. data/doc/Contentful/FloatCoercion.html +1 -1
  31. data/doc/Contentful/IntegerCoercion.html +1 -1
  32. data/doc/Contentful/Link.html +1 -1
  33. data/doc/Contentful/LinkCoercion.html +1 -1
  34. data/doc/Contentful/Locale.html +1 -1
  35. data/doc/Contentful/Location.html +1 -1
  36. data/doc/Contentful/LocationCoercion.html +1 -1
  37. data/doc/Contentful/NotFound.html +1 -1
  38. data/doc/Contentful/ObjectCoercion.html +1 -1
  39. data/doc/Contentful/RateLimitExceeded.html +7 -7
  40. data/doc/Contentful/Request.html +1 -1
  41. data/doc/Contentful/ResourceBuilder.html +1 -1
  42. data/doc/Contentful/Response.html +1 -1
  43. data/doc/Contentful/ServerError.html +1 -1
  44. data/doc/Contentful/ServiceUnavailable.html +1 -1
  45. data/doc/Contentful/Space.html +1 -1
  46. data/doc/Contentful/StringCoercion.html +1 -1
  47. data/doc/Contentful/Support.html +1 -1
  48. data/doc/Contentful/SymbolCoercion.html +1 -1
  49. data/doc/Contentful/Sync.html +1 -1
  50. data/doc/Contentful/SyncPage.html +1 -1
  51. data/doc/Contentful/TextCoercion.html +1 -1
  52. data/doc/Contentful/Unauthorized.html +1 -1
  53. data/doc/Contentful/UnparsableJson.html +1 -1
  54. data/doc/Contentful/UnparsableResource.html +1 -1
  55. data/doc/_index.html +1 -1
  56. data/doc/file.CHANGELOG.html +8 -1
  57. data/doc/file.LICENSE.html +1 -1
  58. data/doc/file.README.html +1 -1
  59. data/doc/index.html +1 -1
  60. data/doc/top-level-namespace.html +1 -1
  61. data/lib/contentful/error.rb +2 -1
  62. data/lib/contentful/version.rb +1 -1
  63. data/spec/error_class_spec.rb +22 -9
  64. data/spec/fixtures/json_responses/404_sys_type.json +12 -0
  65. metadata +4 -2
data/doc/Contentful.html CHANGED
@@ -126,7 +126,7 @@
126
126
 
127
127
  </div>
128
128
  </dt>
129
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>2.2.0</span><span class='tstring_end'>&#39;</span></span></pre></dd>
129
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>2.2.1</span><span class='tstring_end'>&#39;</span></span></pre></dd>
130
130
 
131
131
  </dl>
132
132
 
@@ -141,7 +141,7 @@
141
141
  </div>
142
142
 
143
143
  <div id="footer">
144
- Generated on Wed Oct 25 11:55:56 2017 by
144
+ Generated on Wed Nov 15 11:06:20 2017 by
145
145
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
146
146
  0.9.9 (ruby-2.4.1).
147
147
  </div>
@@ -149,7 +149,7 @@
149
149
  </div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Wed Oct 25 11:55:56 2017 by
152
+ Generated on Wed Nov 15 11:06:21 2017 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.9 (ruby-2.4.1).
155
155
  </div>
@@ -737,7 +737,7 @@
737
737
  </div>
738
738
 
739
739
  <div id="footer">
740
- Generated on Wed Oct 25 11:55:56 2017 by
740
+ Generated on Wed Nov 15 11:06:21 2017 by
741
741
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
742
742
  0.9.9 (ruby-2.4.1).
743
743
  </div>
@@ -232,7 +232,7 @@
232
232
  </div>
233
233
 
234
234
  <div id="footer">
235
- Generated on Wed Oct 25 11:55:57 2017 by
235
+ Generated on Wed Nov 15 11:06:21 2017 by
236
236
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
237
237
  0.9.9 (ruby-2.4.1).
238
238
  </div>
@@ -615,7 +615,7 @@ property exists</p>
615
615
  </div>
616
616
 
617
617
  <div id="footer">
618
- Generated on Wed Oct 25 11:55:56 2017 by
618
+ Generated on Wed Nov 15 11:06:20 2017 by
619
619
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
620
620
  0.9.9 (ruby-2.4.1).
621
621
  </div>
@@ -468,7 +468,7 @@ href="https://www.contentful.com/developers/documentation/content-delivery-api/#
468
468
  </div>
469
469
 
470
470
  <div id="footer">
471
- Generated on Wed Oct 25 11:55:56 2017 by
471
+ Generated on Wed Nov 15 11:06:21 2017 by
472
472
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
473
473
  0.9.9 (ruby-2.4.1).
474
474
  </div>
@@ -149,7 +149,7 @@
149
149
  </div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Wed Oct 25 11:55:56 2017 by
152
+ Generated on Wed Nov 15 11:06:21 2017 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.9 (ruby-2.4.1).
155
155
  </div>
@@ -149,7 +149,7 @@
149
149
  </div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Wed Oct 25 11:55:56 2017 by
152
+ Generated on Wed Nov 15 11:06:21 2017 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.9 (ruby-2.4.1).
155
155
  </div>
@@ -435,7 +435,7 @@
435
435
  </div>
436
436
 
437
437
  <div id="footer">
438
- Generated on Wed Oct 25 11:55:57 2017 by
438
+ Generated on Wed Nov 15 11:06:21 2017 by
439
439
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
440
440
  0.9.9 (ruby-2.4.1).
441
441
  </div>
@@ -587,7 +587,7 @@ for Entry, Asset, ContentType and Space</p>
587
587
  </div>
588
588
 
589
589
  <div id="footer">
590
- Generated on Wed Oct 25 11:55:57 2017 by
590
+ Generated on Wed Nov 15 11:06:21 2017 by
591
591
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
592
592
  0.9.9 (ruby-2.4.1).
593
593
  </div>
@@ -232,7 +232,7 @@
232
232
  </div>
233
233
 
234
234
  <div id="footer">
235
- Generated on Wed Oct 25 11:55:57 2017 by
235
+ Generated on Wed Nov 15 11:06:21 2017 by
236
236
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
237
237
  0.9.9 (ruby-2.4.1).
238
238
  </div>
@@ -1588,7 +1588,7 @@ Preview API</p>
1588
1588
  </div>
1589
1589
 
1590
1590
  <div id="footer">
1591
- Generated on Wed Oct 25 11:55:57 2017 by
1591
+ Generated on Wed Nov 15 11:06:21 2017 by
1592
1592
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1593
1593
  0.9.9 (ruby-2.4.1).
1594
1594
  </div>
@@ -608,7 +608,7 @@ href="https://www.contentful.com/developers/documentation/content-delivery-api/#
608
608
  </div>
609
609
 
610
610
  <div id="footer">
611
- Generated on Wed Oct 25 11:55:57 2017 by
611
+ Generated on Wed Nov 15 11:06:21 2017 by
612
612
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
613
613
  0.9.9 (ruby-2.4.1).
614
614
  </div>
@@ -418,7 +418,7 @@
418
418
  </div>
419
419
 
420
420
  <div id="footer">
421
- Generated on Wed Oct 25 11:55:57 2017 by
421
+ Generated on Wed Nov 15 11:06:21 2017 by
422
422
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
423
423
  0.9.9 (ruby-2.4.1).
424
424
  </div>
@@ -228,7 +228,7 @@
228
228
  </div>
229
229
 
230
230
  <div id="footer">
231
- Generated on Wed Oct 25 11:55:57 2017 by
231
+ Generated on Wed Nov 15 11:06:21 2017 by
232
232
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
233
233
  0.9.9 (ruby-2.4.1).
234
234
  </div>
@@ -147,7 +147,7 @@ href="https://www.contentful.com/developers/documentation/content-delivery-api/h
147
147
  </div>
148
148
 
149
149
  <div id="footer">
150
- Generated on Wed Oct 25 11:55:57 2017 by
150
+ Generated on Wed Nov 15 11:06:21 2017 by
151
151
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
152
152
  0.9.9 (ruby-2.4.1).
153
153
  </div>
@@ -147,7 +147,7 @@ href="https://www.contentful.com/developers/documentation/content-delivery-api/h
147
147
  </div>
148
148
 
149
149
  <div id="footer">
150
- Generated on Wed Oct 25 11:55:57 2017 by
150
+ Generated on Wed Nov 15 11:06:21 2017 by
151
151
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
152
152
  0.9.9 (ruby-2.4.1).
153
153
  </div>
@@ -266,7 +266,7 @@
266
266
  </div>
267
267
 
268
268
  <div id="footer">
269
- Generated on Wed Oct 25 11:55:56 2017 by
269
+ Generated on Wed Nov 15 11:06:21 2017 by
270
270
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
271
271
  0.9.9 (ruby-2.4.1).
272
272
  </div>
@@ -400,7 +400,7 @@ href="404">Contentful::Error</a></p>
400
400
  </div>
401
401
 
402
402
  <div id="footer">
403
- Generated on Wed Oct 25 11:55:56 2017 by
403
+ Generated on Wed Nov 15 11:06:21 2017 by
404
404
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
405
405
  0.9.9 (ruby-2.4.1).
406
406
  </div>
@@ -917,7 +917,7 @@ href="https://www.contentful.com/developers/documentation/content-management-api
917
917
  </div>
918
918
 
919
919
  <div id="footer">
920
- Generated on Wed Oct 25 11:55:56 2017 by
920
+ Generated on Wed Nov 15 11:06:21 2017 by
921
921
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
922
922
  0.9.9 (ruby-2.4.1).
923
923
  </div>
@@ -573,7 +573,7 @@
573
573
  </div>
574
574
 
575
575
  <div id="footer">
576
- Generated on Wed Oct 25 11:55:57 2017 by
576
+ Generated on Wed Nov 15 11:06:21 2017 by
577
577
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
578
578
  0.9.9 (ruby-2.4.1).
579
579
  </div>
@@ -208,7 +208,7 @@
208
208
  </div>
209
209
 
210
210
  <div id="footer">
211
- Generated on Wed Oct 25 11:55:56 2017 by
211
+ Generated on Wed Nov 15 11:06:20 2017 by
212
212
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
213
213
  0.9.9 (ruby-2.4.1).
214
214
  </div>
@@ -228,7 +228,7 @@
228
228
  </div>
229
229
 
230
230
  <div id="footer">
231
- Generated on Wed Oct 25 11:55:57 2017 by
231
+ Generated on Wed Nov 15 11:06:21 2017 by
232
232
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
233
233
  0.9.9 (ruby-2.4.1).
234
234
  </div>
@@ -228,7 +228,7 @@
228
228
  </div>
229
229
 
230
230
  <div id="footer">
231
- Generated on Wed Oct 25 11:55:57 2017 by
231
+ Generated on Wed Nov 15 11:06:21 2017 by
232
232
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
233
233
  0.9.9 (ruby-2.4.1).
234
234
  </div>
@@ -239,7 +239,7 @@ optional query hash</p>
239
239
  </div>
240
240
 
241
241
  <div id="footer">
242
- Generated on Wed Oct 25 11:55:56 2017 by
242
+ Generated on Wed Nov 15 11:06:20 2017 by
243
243
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
244
244
  0.9.9 (ruby-2.4.1).
245
245
  </div>
@@ -148,7 +148,7 @@ Only present as a placeholder for proper resolution within ContentType.</p>
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Wed Oct 25 11:55:57 2017 by
151
+ Generated on Wed Nov 15 11:06:21 2017 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.9.9 (ruby-2.4.1).
154
154
  </div>
@@ -435,7 +435,7 @@ href="https://www.contentful.com/developers/documentation/content-delivery-api/#
435
435
  </div>
436
436
 
437
437
  <div id="footer">
438
- Generated on Wed Oct 25 11:55:57 2017 by
438
+ Generated on Wed Nov 15 11:06:21 2017 by
439
439
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
440
440
  0.9.9 (ruby-2.4.1).
441
441
  </div>
@@ -373,7 +373,7 @@ href="https://www.contentful.com/developers/documentation/content-delivery-api/#
373
373
  </div>
374
374
 
375
375
  <div id="footer">
376
- Generated on Wed Oct 25 11:55:57 2017 by
376
+ Generated on Wed Nov 15 11:06:21 2017 by
377
377
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
378
378
  0.9.9 (ruby-2.4.1).
379
379
  </div>
@@ -228,7 +228,7 @@
228
228
  </div>
229
229
 
230
230
  <div id="footer">
231
- Generated on Wed Oct 25 11:55:57 2017 by
231
+ Generated on Wed Nov 15 11:06:21 2017 by
232
232
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
233
233
  0.9.9 (ruby-2.4.1).
234
234
  </div>
@@ -149,7 +149,7 @@
149
149
  </div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Wed Oct 25 11:55:56 2017 by
152
+ Generated on Wed Nov 15 11:06:21 2017 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.9 (ruby-2.4.1).
155
155
  </div>
@@ -228,7 +228,7 @@
228
228
  </div>
229
229
 
230
230
  <div id="footer">
231
- Generated on Wed Oct 25 11:55:57 2017 by
231
+ Generated on Wed Nov 15 11:06:21 2017 by
232
232
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
233
233
  0.9.9 (ruby-2.4.1).
234
234
  </div>
@@ -254,12 +254,12 @@
254
254
  <pre class="lines">
255
255
 
256
256
 
257
- 146
258
257
  147
259
- 148</pre>
258
+ 148
259
+ 149</pre>
260
260
  </td>
261
261
  <td>
262
- <pre class="code"><span class="info file"># File 'lib/contentful/error.rb', line 146</span>
262
+ <pre class="code"><span class="info file"># File 'lib/contentful/error.rb', line 147</span>
263
263
 
264
264
  <span class='kw'>def</span> <span class='id identifier rubyid_reset_time'>reset_time</span>
265
265
  <span class='ivar'>@reset_time</span> <span class='op'>||=</span> <span class='ivar'>@response</span><span class='period'>.</span><span class='id identifier rubyid_raw'>raw</span><span class='lbracket'>[</span><span class='const'><span class='object_link'><a href="#RATE_LIMIT_RESET_HEADER_KEY-constant" title="Contentful::RateLimitExceeded::RATE_LIMIT_RESET_HEADER_KEY (constant)">RATE_LIMIT_RESET_HEADER_KEY</a></span></span><span class='rbracket'>]</span>
@@ -306,14 +306,14 @@
306
306
  <pre class="lines">
307
307
 
308
308
 
309
- 139
310
309
  140
311
310
  141
312
311
  142
313
- 143</pre>
312
+ 143
313
+ 144</pre>
314
314
  </td>
315
315
  <td>
316
- <pre class="code"><span class="info file"># File 'lib/contentful/error.rb', line 139</span>
316
+ <pre class="code"><span class="info file"># File 'lib/contentful/error.rb', line 140</span>
317
317
 
318
318
  <span class='kw'>def</span> <span class='id identifier rubyid_reset_time?'>reset_time?</span>
319
319
  <span class='comment'># rubocop:disable Style/DoubleNegation
@@ -330,7 +330,7 @@
330
330
  </div>
331
331
 
332
332
  <div id="footer">
333
- Generated on Wed Oct 25 11:55:56 2017 by
333
+ Generated on Wed Nov 15 11:06:21 2017 by
334
334
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
335
335
  0.9.9 (ruby-2.4.1).
336
336
  </div>
@@ -877,7 +877,7 @@ Request&#39;s #url and #query methods to execute the HTTP request.</p>
877
877
  </div>
878
878
 
879
879
  <div id="footer">
880
- Generated on Wed Oct 25 11:55:57 2017 by
880
+ Generated on Wed Nov 15 11:06:21 2017 by
881
881
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
882
882
  0.9.9 (ruby-2.4.1).
883
883
  </div>
@@ -957,7 +957,7 @@ Contentful::Error See example/resource_mapping.rb for advanced usage</p>
957
957
  </div>
958
958
 
959
959
  <div id="footer">
960
- Generated on Wed Oct 25 11:55:57 2017 by
960
+ Generated on Wed Nov 15 11:06:21 2017 by
961
961
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
962
962
  0.9.9 (ruby-2.4.1).
963
963
  </div>
@@ -700,7 +700,7 @@ library) to a JSON object. Responses can be asked the following methods:</p>
700
700
  </div>
701
701
 
702
702
  <div id="footer">
703
- Generated on Wed Oct 25 11:55:57 2017 by
703
+ Generated on Wed Nov 15 11:06:21 2017 by
704
704
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
705
705
  0.9.9 (ruby-2.4.1).
706
706
  </div>
@@ -149,7 +149,7 @@
149
149
  </div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Wed Oct 25 11:55:56 2017 by
152
+ Generated on Wed Nov 15 11:06:21 2017 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.9 (ruby-2.4.1).
155
155
  </div>
@@ -149,7 +149,7 @@
149
149
  </div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Wed Oct 25 11:55:56 2017 by
152
+ Generated on Wed Nov 15 11:06:21 2017 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.9 (ruby-2.4.1).
155
155
  </div>
@@ -383,7 +383,7 @@ href="https://www.contentful.com/developers/documentation/content-delivery-api/#
383
383
  </div>
384
384
 
385
385
  <div id="footer">
386
- Generated on Wed Oct 25 11:55:56 2017 by
386
+ Generated on Wed Nov 15 11:06:21 2017 by
387
387
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
388
388
  0.9.9 (ruby-2.4.1).
389
389
  </div>
@@ -232,7 +232,7 @@
232
232
  </div>
233
233
 
234
234
  <div id="footer">
235
- Generated on Wed Oct 25 11:55:57 2017 by
235
+ Generated on Wed Nov 15 11:06:21 2017 by
236
236
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
237
237
  0.9.9 (ruby-2.4.1).
238
238
  </div>
@@ -700,7 +700,7 @@
700
700
  </div>
701
701
 
702
702
  <div id="footer">
703
- Generated on Wed Oct 25 11:55:56 2017 by
703
+ Generated on Wed Nov 15 11:06:20 2017 by
704
704
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
705
705
  0.9.9 (ruby-2.4.1).
706
706
  </div>