contentful 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/Gemfile.lock +37 -46
  4. data/lib/contentful/array.rb +8 -1
  5. data/lib/contentful/entry.rb +9 -9
  6. data/lib/contentful/fields_resource.rb +9 -8
  7. data/lib/contentful/resource_builder.rb +1 -7
  8. data/lib/contentful/support.rb +22 -0
  9. data/lib/contentful/version.rb +1 -1
  10. data/spec/array_spec.rb +21 -0
  11. data/spec/fixtures/vcr_cassettes/array/nested_resources.yml +159 -0
  12. metadata +5 -106
  13. data/coverage/.last_run.json +0 -5
  14. data/coverage/.resultset.json +0 -1887
  15. data/coverage/.resultset.json.lock +0 -0
  16. data/coverage/assets/0.10.0/application.css +0 -799
  17. data/coverage/assets/0.10.0/application.js +0 -1707
  18. data/coverage/assets/0.10.0/colorbox/border.png +0 -0
  19. data/coverage/assets/0.10.0/colorbox/controls.png +0 -0
  20. data/coverage/assets/0.10.0/colorbox/loading.gif +0 -0
  21. data/coverage/assets/0.10.0/colorbox/loading_background.png +0 -0
  22. data/coverage/assets/0.10.0/favicon_green.png +0 -0
  23. data/coverage/assets/0.10.0/favicon_red.png +0 -0
  24. data/coverage/assets/0.10.0/favicon_yellow.png +0 -0
  25. data/coverage/assets/0.10.0/loading.gif +0 -0
  26. data/coverage/assets/0.10.0/magnify.png +0 -0
  27. data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  28. data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  29. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  30. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  31. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  32. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  33. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  34. data/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  35. data/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
  36. data/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  37. data/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
  38. data/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
  39. data/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  40. data/coverage/index.html +0 -11816
  41. data/doc/Contentful.html +0 -153
  42. data/doc/Contentful/AccessDenied.html +0 -161
  43. data/doc/Contentful/Array.html +0 -743
  44. data/doc/Contentful/ArrayCoercion.html +0 -244
  45. data/doc/Contentful/ArrayLike.html +0 -627
  46. data/doc/Contentful/Asset.html +0 -475
  47. data/doc/Contentful/BadRequest.html +0 -161
  48. data/doc/Contentful/BaseCoercion.html +0 -447
  49. data/doc/Contentful/BaseResource.html +0 -599
  50. data/doc/Contentful/BooleanCoercion.html +0 -244
  51. data/doc/Contentful/Client.html +0 -1606
  52. data/doc/Contentful/Constants.html +0 -636
  53. data/doc/Contentful/ContentType.html +0 -614
  54. data/doc/Contentful/ContentTypeCache.html +0 -430
  55. data/doc/Contentful/DateCoercion.html +0 -240
  56. data/doc/Contentful/DeletedAsset.html +0 -159
  57. data/doc/Contentful/DeletedEntry.html +0 -159
  58. data/doc/Contentful/DynamicEntry.html +0 -214
  59. data/doc/Contentful/Entry.html +0 -273
  60. data/doc/Contentful/Error.html +0 -424
  61. data/doc/Contentful/Field.html +0 -929
  62. data/doc/Contentful/FieldsResource.html +0 -501
  63. data/doc/Contentful/File.html +0 -520
  64. data/doc/Contentful/FloatCoercion.html +0 -240
  65. data/doc/Contentful/IntegerCoercion.html +0 -240
  66. data/doc/Contentful/Link.html +0 -251
  67. data/doc/Contentful/LinkCoercion.html +0 -160
  68. data/doc/Contentful/Locale.html +0 -447
  69. data/doc/Contentful/Location.html +0 -385
  70. data/doc/Contentful/LocationCoercion.html +0 -240
  71. data/doc/Contentful/NotFound.html +0 -161
  72. data/doc/Contentful/ObjectCoercion.html +0 -240
  73. data/doc/Contentful/RateLimitExceeded.html +0 -161
  74. data/doc/Contentful/Request.html +0 -889
  75. data/doc/Contentful/Resource.html +0 -117
  76. data/doc/Contentful/Resource/ArrayLike.html +0 -627
  77. data/doc/Contentful/Resource/AssetFields.html +0 -246
  78. data/doc/Contentful/Resource/AssetFields/ClassMethods.html +0 -174
  79. data/doc/Contentful/Resource/ClassMethods.html +0 -378
  80. data/doc/Contentful/Resource/CustomResource.html +0 -119
  81. data/doc/Contentful/Resource/Fields.html +0 -288
  82. data/doc/Contentful/Resource/Fields/ClassMethods.html +0 -187
  83. data/doc/Contentful/Resource/LocalizedFields.html +0 -305
  84. data/doc/Contentful/Resource/SystemProperties.html +0 -205
  85. data/doc/Contentful/Resource/SystemProperties/ClassMethods.html +0 -174
  86. data/doc/Contentful/ResourceBuilder.html +0 -969
  87. data/doc/Contentful/Response.html +0 -641
  88. data/doc/Contentful/ServerError.html +0 -161
  89. data/doc/Contentful/ServiceUnavailable.html +0 -161
  90. data/doc/Contentful/Space.html +0 -395
  91. data/doc/Contentful/StringCoercion.html +0 -244
  92. data/doc/Contentful/Support.html +0 -550
  93. data/doc/Contentful/SymbolCoercion.html +0 -171
  94. data/doc/Contentful/Sync.html +0 -655
  95. data/doc/Contentful/SyncPage.html +0 -801
  96. data/doc/Contentful/TextCoercion.html +0 -171
  97. data/doc/Contentful/Unauthorized.html +0 -161
  98. data/doc/Contentful/UnparsableJson.html +0 -161
  99. data/doc/Contentful/UnparsableResource.html +0 -137
  100. data/doc/_index.html +0 -537
  101. data/doc/class_list.html +0 -51
  102. data/doc/css/common.css +0 -1
  103. data/doc/css/full_list.css +0 -58
  104. data/doc/css/style.css +0 -481
  105. data/doc/file.CHANGELOG.html +0 -506
  106. data/doc/file.LICENSE.html +0 -72
  107. data/doc/file.README.html +0 -565
  108. data/doc/file_list.html +0 -66
  109. data/doc/frames.html +0 -17
  110. data/doc/index.html +0 -565
  111. data/doc/js/app.js +0 -243
  112. data/doc/js/full_list.js +0 -216
  113. data/doc/js/jquery.js +0 -4
  114. data/doc/method_list.html +0 -1115
  115. data/doc/top-level-namespace.html +0 -112
@@ -1,506 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- File: CHANGELOG
8
-
9
- &mdash; Documentation by YARD 0.9.5
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "CHANGELOG";
19
- relpath = '';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="file_list.html"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="_index.html">Index</a> &raquo;
40
- <span class="title">File: CHANGELOG</span>
41
-
42
- </div>
43
-
44
- <div id="search">
45
-
46
- <a class="full_list_link" id="class_list_link"
47
- href="class_list.html">
48
-
49
- <svg width="24" height="24">
50
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
51
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
52
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
53
- </svg>
54
- </a>
55
-
56
- </div>
57
- <div class="clear"></div>
58
- </div>
59
-
60
- <iframe id="search_frame" src="file_list.html"></iframe>
61
-
62
- <div id="content"><div id='filecontents'>
63
- <h1 id="label-Change+Log">Change Log</h1>
64
-
65
- <h2 id="label-Unreleased">Unreleased</h2>
66
-
67
- <h2 id="label-2.1.0">2.1.0</h2>
68
-
69
- <h3 id="label-Added">Added</h3>
70
- <ul><li>
71
- <p>Added <code>X-Contentful-User-Agent</code> header for more information.</p>
72
- </li></ul>
73
-
74
- <h2 id="label-2.0.3">2.0.3</h2>
75
-
76
- <h3 id="label-Fixed">Fixed</h3>
77
- <ul><li>
78
- <p><code>Contentful::Array</code> now marshalls properly, respecting all
79
- properties <a
80
- href="https://github.com/contentful/contentful.rb/issues/132">#132</a></p>
81
- </li></ul>
82
-
83
- <h2 id="label-2.0.2">2.0.2</h2>
84
-
85
- <h3 id="label-Fixed">Fixed</h3>
86
- <ul><li>
87
- <p>Asset File Mapping now uses <code>#internal_resource_locale</code> to use
88
- <code>Resource#sys[:locale]</code> if available <a
89
- href="https://github.com/contentful/jekyll-contentful-data-import/issues/46">jekyll-contentful-data-import
90
- #46</a></p>
91
- </li></ul>
92
-
93
- <h2 id="label-2.0.1">2.0.1</h2>
94
-
95
- <h3 id="label-Fixed">Fixed</h3>
96
- <ul><li>
97
- <p>Fixed Integer/Decimal field serializations <a
98
- href="https://github.com/contentful/contentful.rb/issues/125">#125</a></p>
99
- </li><li>
100
- <p>Fixed File coercion for Localized Assets <a
101
- href="https://github.com/contentful/contentful.rb/issues/129">#129</a></p>
102
- </li></ul>
103
-
104
- <h2 id="label-2.0.0">2.0.0</h2>
105
-
106
- <p><strong>ATTENTION</strong>: Breaking Changes introduces in order to
107
- simplify code and improve the ability to add new features.</p>
108
-
109
- <h3 id="label-Changed">Changed</h3>
110
- <ul><li>
111
- <p>The removal of the Client and Request objects from the Resource objects,
112
- means that for example: Link#resolve and Array#next_page now require the
113
- client as a parameter.</p>
114
- </li><li>
115
- <p>Client#entry now uses /entries?sys.id=ENTRY_ID instead of /entries/ENTRY_ID
116
- to properly resolve includes.</p>
117
- </li><li>
118
- <p>Refactor locale handling code</p>
119
- </li><li>
120
- <p>Refactor ResourceBuilder</p>
121
- </li><li>
122
- <p>Update all specs to RSpec 3</p>
123
- </li><li>
124
- <p>Removed DynamicEntry and Resource</p>
125
- </li><li>
126
- <p>Moved ContentTypeCache outside of the client into it&#39;s own class</p>
127
- </li><li>
128
- <p>Added new base BaseResource and FieldsResource classes to handle common
129
- resource attributes and fields related attributes respectively</p>
130
- </li><li>
131
- <p>Coercions are now part of ContentType, each Field knows which coercion
132
- should be applied depending on Field#type</p>
133
- </li><li>
134
- <p>Resource #inspect now provides a clearer and better output, without all the
135
- noise that was previously there</p>
136
- </li><li>
137
- <p>CustomResource was removed, now subclasses of Entry should be used instead.</p>
138
- </li><li>
139
- <p><code>max_include_resolution_depth</code> option added to the client,
140
- defaults to 20.</p>
141
- </li><li>
142
- <p><code>sys</code> properties now match accessors.</p>
143
- </li><li>
144
- <p><code>fields</code> properties now match accessors.</p>
145
- </li><li>
146
- <p>Updated LICENSE</p>
147
- </li><li>
148
- <p>Updated examples</p>
149
- </li></ul>
150
-
151
- <h2 id="label-1.2.2">1.2.2</h2>
152
-
153
- <h3 id="label-Fixed">Fixed</h3>
154
- <ul><li>
155
- <p>Fixed Symbol/Text field serialization when value is <code>null</code> <a
156
- href="https://github.com/contentful/contentful.rb/issues/117">#117</a></p>
157
- </li></ul>
158
-
159
- <h2 id="label-1.2.1">1.2.1</h2>
160
-
161
- <h3 id="label-Added">Added</h3>
162
- <ul><li>
163
- <p>Update dependency versions</p>
164
- </li></ul>
165
-
166
- <h2 id="label-1.2.0">1.2.0</h2>
167
-
168
- <h3 id="label-Added">Added</h3>
169
- <ul><li>
170
- <p>Add alias for <code>image_url</code></p>
171
- </li></ul>
172
-
173
- <h2 id="label-1.1.1">1.1.1</h2>
174
-
175
- <h3 id="label-Fixed">Fixed</h3>
176
- <ul><li>
177
- <p>Fix Re-Marshalling of already Un-Marshalled objects</p>
178
- </li></ul>
179
-
180
- <h2 id="label-1.1.0">1.1.0</h2>
181
-
182
- <h3 id="label-Added">Added</h3>
183
- <ul><li>
184
- <p>Add support for <code>select</code> operator in <code>#entries</code> and
185
- <code>#assets</code> call</p>
186
- </li></ul>
187
-
188
- <h2 id="label-1.0.2">1.0.2</h2>
189
-
190
- <h3 id="label-Fixed">Fixed</h3>
191
- <ul><li>
192
- <p>Fix Link resolution for Arrays on localized content</p>
193
- </li></ul>
194
-
195
- <h3 id="label-Added">Added</h3>
196
- <ul><li>
197
- <p>Add <code>entry?</code> method to resources to easily detect entries</p>
198
- </li><li>
199
- <p>Add missing documentation for <code>#locales</code> method</p>
200
- </li></ul>
201
-
202
- <h2 id="label-1.0.1">1.0.1</h2>
203
-
204
- <h3 id="label-Fixed">Fixed</h3>
205
- <ul><li>
206
- <p>Fix Link resolution on localized content</p>
207
- </li></ul>
208
-
209
- <h3 id="label-Changed">Changed</h3>
210
- <ul><li>
211
- <p>Removed dependency lock specific for Ruby &lt; 2.0 support</p>
212
- </li></ul>
213
-
214
- <h2 id="label-1.0.0">1.0.0</h2>
215
-
216
- <p><strong>ATTENTION</strong>: Breaking changes on how JSON Fields are parsed.
217
- All keys are now symbolized, including nested hashes. Parsing errors have
218
- been fixed, particularly for <code>array</code>, <code>null</code> and
219
- <code>boolean</code> present on the first level of the JSON field. Also, on
220
- release 0.11.0, it was fixed that JSON Fields were being treated as
221
- locales. This change increases consistency for the SDK, treating everything
222
- the same way. We strive for consistency and quality in our tools.</p>
223
-
224
- <p>The following <code>diff</code> shows previous and current state. This is
225
- the contents of the JSON Field we test this feature against.</p>
226
-
227
- <pre class="code ruby"><code class="ruby"><span class='op'>-</span> <span class='lbrace'>{</span><span class='symbol'>:null</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
228
- <span class='op'>-</span> <span class='symbol'>:text</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>some text</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
229
- <span class='op'>-</span> <span class='symbol'>:array</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>[1, 2, 3]</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
230
- <span class='op'>-</span> <span class='symbol'>:number</span><span class='op'>=&gt;</span><span class='int'>123</span><span class='comma'>,</span>
231
- <span class='op'>-</span> <span class='symbol'>:object</span><span class='op'>=&gt;</span>
232
- <span class='op'>-</span> <span class='lbrace'>{</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>null</span><span class='tstring_end'>&quot;</span></span><span class='op'>=&gt;</span><span class='kw'>nil</span><span class='comma'>,</span>
233
- <span class='op'>-</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>text</span><span class='tstring_end'>&quot;</span></span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>bar</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
234
- <span class='op'>-</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>array</span><span class='tstring_end'>&quot;</span></span><span class='op'>=&gt;</span><span class='lbracket'>[</span><span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span><span class='comma'>,</span> <span class='int'>3</span><span class='rbracket'>]</span><span class='comma'>,</span>
235
- <span class='op'>-</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>number</span><span class='tstring_end'>&quot;</span></span><span class='op'>=&gt;</span><span class='int'>123</span><span class='comma'>,</span>
236
- <span class='op'>-</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>object</span><span class='tstring_end'>&quot;</span></span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>foo</span><span class='tstring_end'>&quot;</span></span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>bar</span><span class='tstring_end'>&quot;</span></span><span class='rbrace'>}</span><span class='comma'>,</span>
237
- <span class='op'>-</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>boolean</span><span class='tstring_end'>&quot;</span></span><span class='op'>=&gt;</span><span class='kw'>false</span><span class='rbrace'>}</span><span class='comma'>,</span>
238
- <span class='op'>-</span> <span class='symbol'>:boolean</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>true</span><span class='tstring_end'>&quot;</span></span><span class='rbrace'>}</span>
239
- <span class='op'>+</span> <span class='lbrace'>{</span><span class='symbol'>:null</span><span class='op'>=&gt;</span><span class='kw'>nil</span><span class='comma'>,</span>
240
- <span class='op'>+</span> <span class='symbol'>:text</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>some text</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
241
- <span class='op'>+</span> <span class='symbol'>:array</span><span class='op'>=&gt;</span><span class='lbracket'>[</span><span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span><span class='comma'>,</span> <span class='int'>3</span><span class='rbracket'>]</span><span class='comma'>,</span>
242
- <span class='op'>+</span> <span class='symbol'>:number</span><span class='op'>=&gt;</span><span class='int'>123</span><span class='comma'>,</span>
243
- <span class='op'>+</span> <span class='symbol'>:object</span><span class='op'>=&gt;</span>
244
- <span class='op'>+</span> <span class='lbrace'>{</span><span class='symbol'>:null</span><span class='op'>=&gt;</span><span class='kw'>nil</span><span class='comma'>,</span>
245
- <span class='op'>+</span> <span class='symbol'>:text</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>bar</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
246
- <span class='op'>+</span> <span class='symbol'>:array</span><span class='op'>=&gt;</span><span class='lbracket'>[</span><span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span><span class='comma'>,</span> <span class='int'>3</span><span class='rbracket'>]</span><span class='comma'>,</span>
247
- <span class='op'>+</span> <span class='symbol'>:number</span><span class='op'>=&gt;</span><span class='int'>123</span><span class='comma'>,</span>
248
- <span class='op'>+</span> <span class='symbol'>:object</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:foo</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>bar</span><span class='tstring_end'>&quot;</span></span><span class='rbrace'>}</span><span class='comma'>,</span>
249
- <span class='op'>+</span> <span class='symbol'>:boolean</span><span class='op'>=&gt;</span><span class='kw'>false</span><span class='rbrace'>}</span><span class='comma'>,</span>
250
- <span class='op'>+</span> <span class='symbol'>:boolean</span><span class='op'>=&gt;</span><span class='kw'>true</span><span class='rbrace'>}</span>
251
- </code></pre>
252
-
253
- <h3 id="label-Fixed">Fixed</h3>
254
- <ul><li>
255
- <p>Fixed JSON Field Parsing <a
256
- href="https://github.com/contentful/contentful.rb/issues/96">#96</a></p>
257
- </li></ul>
258
-
259
- <h2 id="label-0.12.0">0.12.0</h2>
260
-
261
- <h3 id="label-Added">Added</h3>
262
- <ul><li>
263
- <p>Added Rate Limit automatic handling</p>
264
- </li></ul>
265
-
266
- <h2 id="label-0.11.0">0.11.0</h2>
267
-
268
- <h3 id="label-Fixed">Fixed</h3>
269
- <ul><li>
270
- <p>Fixed Locale handling <a
271
- href="https://github.com/contentful/contentful.rb/issues/98">#98</a></p>
272
- </li></ul>
273
-
274
- <h2 id="label-0.10.0">0.10.0</h2>
275
-
276
- <h3 id="label-Added">Added</h3>
277
- <ul><li>
278
- <p>Added <code>:fl</code> parameter to <code>Asset#image_url</code> to support
279
- <code>progressive</code> File Layering</p>
280
- </li><li>
281
- <p>Added Marshalling methods to <code>Asset</code> <a
282
- href="https://github.com/contentful/contentful.rb/issues/88">#88</a></p>
283
- </li></ul>
284
-
285
- <h2 id="label-Changed">Changed</h2>
286
- <ul><li>
287
- <p>Changed 503 error message to a less confusing one.</p>
288
- </li></ul>
289
-
290
- <h2 id="label-0.9.0">0.9.0</h2>
291
-
292
- <h3 id="label-Added">Added</h3>
293
- <ul><li>
294
- <p>Added <code>Contentful::Resource::CustomResource</code> to automatically
295
- map fields to accessors <a
296
- href="https://github.com/contentful/contentful.rb/issues/79">#79</a></p>
297
- </li><li>
298
- <p>Added <code>#raw</code> to <code>Contentful::Resource</code> for easier
299
- Marshalling</p>
300
- </li><li>
301
- <p>Added documentation regarding locales</p>
302
- </li></ul>
303
-
304
- <h3 id="label-Changed">Changed</h3>
305
- <ul><li>
306
- <p>Changed Documentation Format to YARD</p>
307
- </li></ul>
308
-
309
- <h3 id="label-Fixed">Fixed</h3>
310
- <ul><li>
311
- <p>Fixed Marshalling for Custom Resource Classes <a
312
- href="https://github.com/contentful/contentful.rb/issues/80">#80</a></p>
313
- </li></ul>
314
-
315
- <h2 id="label-0.8.0">0.8.0</h2>
316
-
317
- <h3 id="label-Changed">Changed</h3>
318
- <ul><li>
319
- <p>Unified Locale Handling <a
320
- href="https://github.com/contentful/contentful.rb/issues/73">#73</a></p>
321
- </li></ul>
322
-
323
- <h2 id="label-0.7.0">0.7.0</h2>
324
-
325
- <h3 id="label-Added">Added</h3>
326
- <ul><li>
327
- <p>Add support for querying a field&#39;s <code>linkType</code> <a
328
- href="https://github.com/contentful/contentful.rb/pull/75">#75</a></p>
329
- </li><li>
330
- <p>Handles multiple locales when requesting with <code>locale:
331
- &quot;*&quot;</code> <a
332
- href="https://github.com/contentful-labs/contentful_middleman/issues/39">contentful_middleman/#39</a></p>
333
- </li></ul>
334
-
335
- <h3 id="label-Fixed">Fixed</h3>
336
- <ul><li>
337
- <p>Fix Custom Resource creation parameters <a
338
- href="https://github.com/contentful/contentful.rb/issues/69">#69</a></p>
339
- </li><li>
340
- <p><code>Sync API</code> now works with <code>:raw_mode</code> enabled <a
341
- href="https://github.com/contentful/contentful.rb/issues/68">#68</a></p>
342
- </li><li>
343
- <p>Bugfix for <code>Field.items</code> <a
344
- href="https://github.com/contentful/contentful.rb/pull/76">#76</a></p>
345
- </li></ul>
346
-
347
- <h2 id="label-0.6.0">0.6.0</h2>
348
-
349
- <h3 id="label-Fixed">Fixed</h3>
350
- <ul><li>
351
- <p>Parse nested locales in <code>AssetFields</code> <a
352
- href="https://github.com/contentful/contentful.rb/pull/66">#66</a></p>
353
- </li></ul>
354
-
355
- <h3 id="label-Other">Other</h3>
356
- <ul><li>
357
- <p>Update http.rb dependency to v0.8.0</p>
358
- </li><li>
359
- <p>Fix typo in service unavailable error message <a
360
- href="https://github.com/contentful/contentful.rb/pull/61">#61</a></p>
361
- </li><li>
362
- <p>Enable gzip encoding by default <a
363
- href="https://github.com/contentful/contentful.rb/pull/62">#62</a></p>
364
- </li></ul>
365
-
366
- <h2 id="label-0.5.0">0.5.0</h2>
367
-
368
- <h3 id="label-Fixed">Fixed</h3>
369
- <ul><li>
370
- <p>Better handling of 503 responses from the API <a
371
- href="https://github.com/contentful/contentful.rb/pull/50">#50</a></p>
372
- </li><li>
373
- <p>Better handling of 429 responses from the API <a
374
- href="https://github.com/contentful/contentful.rb/pull/51">#51</a></p>
375
- </li></ul>
376
-
377
- <h3 id="label-Added">Added</h3>
378
- <ul><li>
379
- <p><code>focus</code> and <code>fit</code> to image handling parameters <a
380
- href="https://github.com/contentful/contentful.rb/pull/44">#44</a></p>
381
- </li></ul>
382
-
383
- <h2 id="label-0.4.0">0.4.0</h2>
384
-
385
- <h3 id="label-Added">Added</h3>
386
- <ul><li>
387
- <p>Proxy support</p>
388
- </li></ul>
389
-
390
- <h2 id="label-0.3.5">0.3.5</h2>
391
-
392
- <h3 id="label-Added">Added</h3>
393
- <ul><li>
394
- <p>Logging of requests</p>
395
- </li></ul>
396
-
397
- <h3 id="label-Fixed">Fixed</h3>
398
- <ul><li>
399
- <p>Cleaner and better error handling</p>
400
- </li></ul>
401
-
402
- <h3 id="label-Other">Other</h3>
403
- <ul><li>
404
- <p>Code cleanup</p>
405
- </li><li>
406
- <p>Remove encoding strings from the source code files</p>
407
- </li></ul>
408
-
409
- <h2 id="label-0.3.4">0.3.4</h2>
410
-
411
- <h3 id="label-Added">Added</h3>
412
- <ul><li>
413
- <p>Optional gzip compression</p>
414
- </li></ul>
415
-
416
- <h2 id="label-0.3.3">0.3.3</h2>
417
-
418
- <h3 id="label-Fixed">Fixed</h3>
419
- <ul><li>
420
- <p>Fix: handle 503 errors from the API</p>
421
- </li></ul>
422
-
423
- <h2 id="label-0.3.2">0.3.2</h2>
424
-
425
- <h3 id="label-Added">Added</h3>
426
- <ul><li>
427
- <p>Default property to locale, #23</p>
428
- </li></ul>
429
-
430
- <h2 id="label-0.3.1">0.3.1</h2>
431
-
432
- <h3 id="label-Fixed">Fixed</h3>
433
- <ul><li>
434
- <p>Return nil when a value is not supplied, fixes #18</p>
435
- </li><li>
436
- <p>Do not parse empty responses</p>
437
- </li></ul>
438
-
439
- <h3 id="label-Other">Other</h3>
440
- <ul><li>
441
- <p>Remove CGI dependency for http Gem</p>
442
- </li></ul>
443
-
444
- <h2 id="label-0.3.0">0.3.0</h2>
445
-
446
- <h3 id="label-Added">Added</h3>
447
- <ul><li>
448
- <p>Support Synchronization</p>
449
- </li></ul>
450
-
451
- <h2 id="label-0.2.0">0.2.0</h2>
452
-
453
- <h3 id="label-Added">Added</h3>
454
- <ul><li>
455
- <p>Introduce new :entry_mapping configuration to enable custom Entry classes
456
- based on ContentTypes</p>
457
- </li></ul>
458
-
459
- <h3 id="label-Other">Other</h3>
460
- <ul><li>
461
- <p>Update HTTP gem dependency to 0.6</p>
462
- </li><li>
463
- <p>Convert arrays in query values to strings, separated by comma</p>
464
- </li></ul>
465
-
466
- <h2 id="label-0.1.3">0.1.3</h2>
467
-
468
- <h3 id="label-Fixed">Fixed</h3>
469
- <ul><li>
470
- <p>Better link inclusion processing, prevents “stack level to deep” errors</p>
471
- </li></ul>
472
-
473
- <h2 id="label-0.1.2">0.1.2</h2>
474
-
475
- <h3 id="label-Fixed">Fixed</h3>
476
- <ul><li>
477
- <p>The way all content types are retrieved</p>
478
- </li></ul>
479
-
480
- <h2 id="label-0.1.1">0.1.1</h2>
481
-
482
- <h3 id="label-Fixed">Fixed</h3>
483
- <ul><li>
484
- <p>Bug that prevented fields with multiple resources to be parsed correctly</p>
485
- </li></ul>
486
-
487
- <h3 id="label-Other">Other</h3>
488
- <ul><li>
489
- <p>Restrict HTTP gem dependency to &lt; 0.6</p>
490
- </li></ul>
491
-
492
- <h2 id="label-0.1.0">0.1.0</h2>
493
- <ul><li>
494
- <p>Initial release.</p>
495
- </li></ul>
496
- </div></div>
497
-
498
- <div id="footer">
499
- Generated on Tue Jul 25 15:15:32 2017 by
500
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
501
- 0.9.5 (ruby-2.4.1).
502
- </div>
503
-
504
- </div>
505
- </body>
506
- </html>