kontent-jekyll 0.12.0 → 1.0.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 -2
- data/Gemfile.lock +1 -1
- data/README.md +8 -8
- data/kontent-jekyll.gemspec +2 -2
- data/lib/kontent-jekyll/generator.rb +8 -3
- data/lib/kontent-jekyll/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65977b7342794c5131129b76010a4ad2177e0e1985c0c841ce3e432184f99f8d
|
4
|
+
data.tar.gz: eceda290c3589d2590dd37aacf949eaf524f291b78b4c513d8090a1c7d25a621
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04a944328158dc96f30948523ebd9c28a22cd904ef004fb598c8ad4daa55686a98b575122d726d2d2d995fa2d5bd6bbd4cef21507a300451b4bc8b7b575c5971
|
7
|
+
data.tar.gz: 2637d248428a25ca228c26c3ecc1601152e1399c98578f2d928c24c4b4e6513296b89d7eef18f1d0dcc0f783fbdc752503821c55c1c24e7cf664b46529e72216
|
data/.travis.yml
CHANGED
@@ -13,8 +13,8 @@ branches:
|
|
13
13
|
deploy:
|
14
14
|
provider: rubygems
|
15
15
|
api_key:
|
16
|
-
secure:
|
16
|
+
secure: b///FmojHLLRY/5KGaCl+JzDq9SEBe8q6V9w6Qg49Jal0/3Fs/aSuRbNiJW/IQFcm0gwZmdSXdU+IO4V2HmqvIWm71iJsFogn9ZHnQuwhmNYXbhtDqFWN6zxVOlouWgk6/TV1lSGpZmVmgNWs3YKMYHBl82pAXAW3Uq0vF1OVvD0j8qtQNb6FpPrXpJvKc1g+TyXHpOYKkIO7PVatJGtgukIAAQyztadgCkN63EQSdkpGZLVyqNipvQyInhES1jC8ZnX5ZjWqmEoG30C3POioqizZr7pRkyFgUKM531QUykq97abz/3PGb46Knq9SVjPAy4tXjeVcq7p1g0J6zFKplKhAw+SohkI59PD5Zu/fZoPYCuHPHzC0r58MFGfLNGZidGtkqXJ1cZZOG1MJanwIg476txa4gEjhj6Y4C/uTXw3Yxu2Nlg7ILLIFe4h/xTFRx7gcnfN7J4jz9JShVxo/DEpQ7juuyg8/uP/S7Eh99K06k090dBJRxNLcbgWw/SINdn2KKMV/eQE1TIGpCqacYrZroZiQo27WbKyigXDcv93NKyZwDofTrxcLe5lDx1dRxjc8rwrBnmCGYKIluCUBvk5rzroAN+7YPWxaVOHE8bFZAquUP526DaoDiwaOCfuxMvFGvxG3YAhkyoLSFI9scMHlMPJjtap/BEkP/aWlmE=
|
17
17
|
gem: kontent-jekyll
|
18
18
|
on:
|
19
19
|
tags: true
|
20
|
-
repo:
|
20
|
+
repo: Kentico/kontent-jekyll
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
[![Build Status](https://api.travis-ci.com/
|
1
|
+
[![Build Status](https://api.travis-ci.com/Kentico/kontent-jekyll.svg?branch=master)](https://travis-ci.com/Kentico/kontent-jekyll)
|
2
2
|
[![Join the chat at https://kentico-community.slack.com](https://img.shields.io/badge/join-slack-E6186D.svg)](https://kentico-community.slack.com)
|
3
3
|
[![Stack Overflow](https://img.shields.io/badge/Stack%20Overflow-ASK%20NOW-FE7A16.svg?logo=stackoverflow&logoColor=white)](https://stackoverflow.com/tags/kentico-kontent)
|
4
4
|
[![Version](https://img.shields.io/gem/v/kontent-jekyll.svg?style=flat)](https://rubygems.org/gems/kontent-jekyll)
|
5
5
|
|
6
|
-
# Jekyll
|
6
|
+
# Kontent Jekyll
|
7
7
|
|
8
|
-
Jekyll
|
8
|
+
Kontekt Jekyll is utilizing Kentico Kontent, headless CMS, as a content repository and integrates it with Jekyll static site generator. You can generate posts, pages, collections and data items.
|
9
9
|
|
10
10
|
## Examples
|
11
11
|
|
12
|
-
For a working example see [this project](https://github.com/
|
12
|
+
For a working example see [this project](https://github.com/Kentico/kontent-jekyll-blog).
|
13
13
|
|
14
14
|
## Installation
|
15
15
|
|
@@ -34,7 +34,7 @@ You can also run `bundle exec jekyll serve` to run the built site.
|
|
34
34
|
|
35
35
|
To configure the extension, add the following configuration block to Jekyll's `_config.yml`:
|
36
36
|
|
37
|
-
For full configuration [see wiki](https://github.com/
|
37
|
+
For full configuration [see wiki](https://github.com/Kentico/kontent-jekyll/wiki).
|
38
38
|
|
39
39
|
```yaml
|
40
40
|
plugins:
|
@@ -47,7 +47,7 @@ kentico:
|
|
47
47
|
|
48
48
|
## Feedback & Contributing
|
49
49
|
|
50
|
-
Check out the [contributing](https://github.com/
|
50
|
+
Check out the [contributing](https://github.com/Kentico/kontent-jekyll/blob/master/CONTRIBUTING.md) page to see the best places to file issues, start discussions, and begin contributing.
|
51
51
|
|
52
52
|
## License
|
53
53
|
|
@@ -55,6 +55,6 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
55
55
|
|
56
56
|
## Code of Conduct
|
57
57
|
|
58
|
-
Everyone interacting in the Kontent-Jekyll project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
58
|
+
Everyone interacting in the Kontent-Jekyll project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Kentico/kontent-jekyll/blob/master/CODE_OF_CONDUCT.md).
|
59
59
|
|
60
|
-
![Analytics](https://kentico-ga-beacon.azurewebsites.net/api/UA-69014260-4/
|
60
|
+
![Analytics](https://kentico-ga-beacon.azurewebsites.net/api/UA-69014260-4/Kentico/kontent-jekyll?pixel)
|
data/kontent-jekyll.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
|
14
14
|
spec.summary = 'Kentico Kontent plugin for Jekyll'
|
15
15
|
spec.description = 'Kontent Jekyll is utilizing Kentico Kontent, headless CMS, as a content repository and integrates it with Jekyll static site generator. You can generate posts, pages, collections and data items.'
|
16
|
-
spec.homepage = 'https://github.com/
|
16
|
+
spec.homepage = 'https://github.com/Kentico/kontent-jekyll'
|
17
17
|
|
18
18
|
# Specify which files should be added to the gem when it is released.
|
19
19
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -48,7 +48,7 @@ end
|
|
48
48
|
#
|
49
49
|
# spec.summary = 'Kentico Kontent plugin for Jekyll'
|
50
50
|
# spec.description = 'Jekyll Kentico is utilizing Kentico Kontent, headless CMS, as a content repository and integrates it with Jekyll static site generator. You can generate posts, pages, collections and data items.'
|
51
|
-
# spec.homepage = 'https://github.com/
|
51
|
+
# spec.homepage = 'https://github.com/Kentico/kentico-jekyll'
|
52
52
|
#
|
53
53
|
# # Specify which files should be added to the gem when it is released.
|
54
54
|
# # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -5,7 +5,7 @@ require 'kontent-jekyll/site_processing/site_processor'
|
|
5
5
|
module Kentico
|
6
6
|
module Kontent
|
7
7
|
##
|
8
|
-
# This class generates content stored in Kentico
|
8
|
+
# This class generates content stored in Kentico Kontent CMS and populute
|
9
9
|
# particular Jekyll structures so the website is correctly outputted
|
10
10
|
# during the build process.
|
11
11
|
|
@@ -15,6 +15,11 @@ module Kentico
|
|
15
15
|
DEFAULT_LANGUAGE = nil
|
16
16
|
|
17
17
|
safe true
|
18
|
+
|
19
|
+
##
|
20
|
+
# It is ensure correct order when executing generator plugins.
|
21
|
+
# We can not rely on the order of plugins from the config
|
22
|
+
# https://github.com/jekyll/jekyll/issues/8034
|
18
23
|
priority :highest
|
19
24
|
|
20
25
|
def generate(site)
|
@@ -68,7 +73,7 @@ module Kentico
|
|
68
73
|
items_by_type = importer.items_by_type(language)
|
69
74
|
|
70
75
|
all_items_by_type.merge!(items_by_type) do |key, currentItems, newItems|
|
71
|
-
currentItems
|
76
|
+
currentItems | newItems
|
72
77
|
end
|
73
78
|
end
|
74
79
|
|
@@ -104,4 +109,4 @@ module Kentico
|
|
104
109
|
end
|
105
110
|
end
|
106
111
|
end
|
107
|
-
end
|
112
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kontent-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RadoslavK
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -154,7 +154,7 @@ files:
|
|
154
154
|
- lib/kontent-jekyll/site_processing/site_processor.rb
|
155
155
|
- lib/kontent-jekyll/utils/normalize_object.rb
|
156
156
|
- lib/kontent-jekyll/version.rb
|
157
|
-
homepage: https://github.com/
|
157
|
+
homepage: https://github.com/Kentico/kontent-jekyll
|
158
158
|
licenses:
|
159
159
|
- MIT
|
160
160
|
metadata: {}
|
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
173
|
- !ruby/object:Gem::Version
|
174
174
|
version: '0'
|
175
175
|
requirements: []
|
176
|
-
rubygems_version: 3.1.
|
176
|
+
rubygems_version: 3.1.4
|
177
177
|
signing_key:
|
178
178
|
specification_version: 4
|
179
179
|
summary: Kentico Kontent plugin for Jekyll
|