jekyll-contentful-data-import 1.8.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c8915e7a773efeebc9f5da0ef54dc06445ace09a5cfca7ef0969f79505bf9c9d
|
|
4
|
+
data.tar.gz: 64b64dd284d11c70503abb6e4baad506cd729c70c0897a54e0f4ce3d0f52b0cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05266bded29a68d8682240d10fc52660df033029058e32aa35e834898ebb6b7a1f1bfcc813e7d646dc83091ae523753a29f69f3dc3b2588771d97f56f0d82ae7
|
|
7
|
+
data.tar.gz: 64a6e7a646171df600c3f89e414ea1f7913bbe08de24b62f0e2f2d49ed307ad7a59f67b831f3adcf2cb68feb9066868fb40e8e5911640f79b348ba993448ff13
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## v1.8.1
|
|
6
|
+
### Fixed
|
|
7
|
+
* Ensure configuration passed as `Jekyll.configuration['contentful']` from a `rake` task also works. [#68](https://github.com/contentful/jekyll-contentful-data-import/issues/68)
|
|
8
|
+
* Ensure localized assets that don't have a fallback locale don't fail upon import.
|
|
9
|
+
|
|
5
10
|
## v1.8.0
|
|
6
11
|
### Added
|
|
7
12
|
* Added capability to autoload mappers [#22](https://github.com/contentful/jekyll-contentful-data-import/issues/22)
|
|
@@ -116,13 +116,13 @@ module Jekyll
|
|
|
116
116
|
}
|
|
117
117
|
end
|
|
118
118
|
|
|
119
|
-
file = asset.file
|
|
119
|
+
file = asset.fields[:file]
|
|
120
120
|
file_url = file.nil? ? '' : file.url
|
|
121
121
|
|
|
122
122
|
{
|
|
123
123
|
'sys' => map_asset_metadata(asset),
|
|
124
|
-
'title' => asset.title,
|
|
125
|
-
'description' => asset.description,
|
|
124
|
+
'title' => asset.fields[:title],
|
|
125
|
+
'description' => asset.fields[:description],
|
|
126
126
|
'url' => file_url
|
|
127
127
|
}
|
|
128
128
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-contentful-data-import
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Contentful GmbH
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-02-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -286,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
286
286
|
version: '0'
|
|
287
287
|
requirements: []
|
|
288
288
|
rubyforge_project:
|
|
289
|
-
rubygems_version: 2.7.
|
|
289
|
+
rubygems_version: 2.7.8
|
|
290
290
|
signing_key:
|
|
291
291
|
specification_version: 4
|
|
292
292
|
summary: Include mangablable content from the Contentful CMS and API into your Jekyll
|