contentful 2.10.1 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +5 -0
- data/contentful.gemspec +2 -2
- data/lib/contentful/client.rb +2 -0
- data/lib/contentful/coercions.rb +5 -1
- data/lib/contentful/entry.rb +27 -0
- data/lib/contentful/error.rb +7 -0
- data/lib/contentful/version.rb +1 -1
- data/spec/entry_spec.rb +58 -4
- data/spec/fixtures/vcr_cassettes/entries/empty_fields.yml +246 -0
- data/spec/fixtures/vcr_cassettes/entries/rich_text_unresolved_relationships.yml +983 -0
- metadata +11 -12
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contentful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Contentful GmbH (Jan Lelis)
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-
|
13
|
+
date: 2018-11-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: http
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0.8'
|
22
22
|
- - "<"
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: '
|
24
|
+
version: '4.0'
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
version: '0.8'
|
32
32
|
- - "<"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '4.0'
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: multi_json
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
@@ -218,22 +218,16 @@ dependencies:
|
|
218
218
|
name: webmock
|
219
219
|
requirement: !ruby/object:Gem::Requirement
|
220
220
|
requirements:
|
221
|
-
- - "~>"
|
222
|
-
- !ruby/object:Gem::Version
|
223
|
-
version: '1'
|
224
221
|
- - ">="
|
225
222
|
- !ruby/object:Gem::Version
|
226
|
-
version:
|
223
|
+
version: '0'
|
227
224
|
type: :development
|
228
225
|
prerelease: false
|
229
226
|
version_requirements: !ruby/object:Gem::Requirement
|
230
227
|
requirements:
|
231
|
-
- - "~>"
|
232
|
-
- !ruby/object:Gem::Version
|
233
|
-
version: '1'
|
234
228
|
- - ">="
|
235
229
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
230
|
+
version: '0'
|
237
231
|
- !ruby/object:Gem::Dependency
|
238
232
|
name: tins
|
239
233
|
requirement: !ruby/object:Gem::Requirement
|
@@ -314,6 +308,7 @@ files:
|
|
314
308
|
- doc/Contentful/DateCoercion.html
|
315
309
|
- doc/Contentful/DeletedAsset.html
|
316
310
|
- doc/Contentful/DeletedEntry.html
|
311
|
+
- doc/Contentful/EmptyFieldError.html
|
317
312
|
- doc/Contentful/Entry.html
|
318
313
|
- doc/Contentful/Error.html
|
319
314
|
- doc/Contentful/Field.html
|
@@ -452,10 +447,12 @@ files:
|
|
452
447
|
- spec/fixtures/vcr_cassettes/bad_request.yml
|
453
448
|
- spec/fixtures/vcr_cassettes/content_type.yml
|
454
449
|
- spec/fixtures/vcr_cassettes/entries.yml
|
450
|
+
- spec/fixtures/vcr_cassettes/entries/empty_fields.yml
|
455
451
|
- spec/fixtures/vcr_cassettes/entries/issue_117.yml
|
456
452
|
- spec/fixtures/vcr_cassettes/entries/issue_125.yml
|
457
453
|
- spec/fixtures/vcr_cassettes/entries/rich_text.yml
|
458
454
|
- spec/fixtures/vcr_cassettes/entries/rich_text_nested_fields.yml
|
455
|
+
- spec/fixtures/vcr_cassettes/entries/rich_text_unresolved_relationships.yml
|
459
456
|
- spec/fixtures/vcr_cassettes/entries/unresolvable_filter.yml
|
460
457
|
- spec/fixtures/vcr_cassettes/entries/unresolvable_filter_deeply_nested.yml
|
461
458
|
- spec/fixtures/vcr_cassettes/entry.yml
|
@@ -596,10 +593,12 @@ test_files:
|
|
596
593
|
- spec/fixtures/vcr_cassettes/bad_request.yml
|
597
594
|
- spec/fixtures/vcr_cassettes/content_type.yml
|
598
595
|
- spec/fixtures/vcr_cassettes/entries.yml
|
596
|
+
- spec/fixtures/vcr_cassettes/entries/empty_fields.yml
|
599
597
|
- spec/fixtures/vcr_cassettes/entries/issue_117.yml
|
600
598
|
- spec/fixtures/vcr_cassettes/entries/issue_125.yml
|
601
599
|
- spec/fixtures/vcr_cassettes/entries/rich_text.yml
|
602
600
|
- spec/fixtures/vcr_cassettes/entries/rich_text_nested_fields.yml
|
601
|
+
- spec/fixtures/vcr_cassettes/entries/rich_text_unresolved_relationships.yml
|
603
602
|
- spec/fixtures/vcr_cassettes/entries/unresolvable_filter.yml
|
604
603
|
- spec/fixtures/vcr_cassettes/entries/unresolvable_filter_deeply_nested.yml
|
605
604
|
- spec/fixtures/vcr_cassettes/entry.yml
|