contentful_middleman 4.0.1 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -3
- data/CHANGELOG.md +4 -0
- data/README.md +54 -14
- data/contentful_middleman.gemspec +1 -0
- data/lib/contentful_middleman/core.rb +4 -0
- data/lib/contentful_middleman/helpers.rb +11 -0
- data/lib/contentful_middleman/mappers/base.rb +13 -0
- data/lib/contentful_middleman/version.rb +1 -1
- data/spec/contentful_middleman/helpers_spec.rb +148 -0
- data/spec/fixtures/backup_fixtures/.tmp/backups/.gitkeep +0 -0
- data/spec/fixtures/json_fixtures/structured_text.json +206 -0
- data/spec/fixtures/vcr_fixtures/helpers/rich_text.yml +1707 -0
- data/spec/spec_helper.rb +6 -0
- metadata +20 -2
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contentful_middleman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sascha Konietzke
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-10-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: middleman-core
|
@@ -67,6 +67,20 @@ dependencies:
|
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0.1'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rich_text_renderer
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0.1'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0.1'
|
70
84
|
- !ruby/object:Gem::Dependency
|
71
85
|
name: rubygems-tasks
|
72
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -265,6 +279,7 @@ files:
|
|
265
279
|
- spec/contentful_middleman/webhook_handler_spec.rb
|
266
280
|
- spec/fixtures/backup_fixtures/.tmp/backups/.gitkeep
|
267
281
|
- spec/fixtures/backup_fixtures/baz
|
282
|
+
- spec/fixtures/json_fixtures/structured_text.json
|
268
283
|
- spec/fixtures/space_hash_fixtures/.blah-space-hash
|
269
284
|
- spec/fixtures/space_hash_fixtures/.foo-space-hash
|
270
285
|
- spec/fixtures/space_hash_fixtures/.foobar-space-hash
|
@@ -277,6 +292,7 @@ files:
|
|
277
292
|
- spec/fixtures/vcr_fixtures/entries/nil_file.yml
|
278
293
|
- spec/fixtures/vcr_fixtures/entries/repeated_entry.yml
|
279
294
|
- spec/fixtures/vcr_fixtures/helpers/preview.yml
|
295
|
+
- spec/fixtures/vcr_fixtures/helpers/rich_text.yml
|
280
296
|
- spec/fixtures/vcr_fixtures/instance/entries_1.yml
|
281
297
|
- spec/fixtures/vcr_fixtures/instance/entries_2.yml
|
282
298
|
- spec/fixtures/vcr_fixtures/instance/entries_3.yml
|
@@ -333,6 +349,7 @@ test_files:
|
|
333
349
|
- spec/contentful_middleman/webhook_handler_spec.rb
|
334
350
|
- spec/fixtures/backup_fixtures/.tmp/backups/.gitkeep
|
335
351
|
- spec/fixtures/backup_fixtures/baz
|
352
|
+
- spec/fixtures/json_fixtures/structured_text.json
|
336
353
|
- spec/fixtures/space_hash_fixtures/.blah-space-hash
|
337
354
|
- spec/fixtures/space_hash_fixtures/.foo-space-hash
|
338
355
|
- spec/fixtures/space_hash_fixtures/.foobar-space-hash
|
@@ -345,6 +362,7 @@ test_files:
|
|
345
362
|
- spec/fixtures/vcr_fixtures/entries/nil_file.yml
|
346
363
|
- spec/fixtures/vcr_fixtures/entries/repeated_entry.yml
|
347
364
|
- spec/fixtures/vcr_fixtures/helpers/preview.yml
|
365
|
+
- spec/fixtures/vcr_fixtures/helpers/rich_text.yml
|
348
366
|
- spec/fixtures/vcr_fixtures/instance/entries_1.yml
|
349
367
|
- spec/fixtures/vcr_fixtures/instance/entries_2.yml
|
350
368
|
- spec/fixtures/vcr_fixtures/instance/entries_3.yml
|