kontent-jekyll 0.12.0 → 1.0.0

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: 2348ee20002939b60bfaa7c4bd6ce7da395747ee6024e2ad9249816d787ee26a
4
- data.tar.gz: aeca8c81e53d30e0c9d6c881a6f5e1b25e29a711443d0f8d7fdb639c422ffdc9
3
+ metadata.gz: 65977b7342794c5131129b76010a4ad2177e0e1985c0c841ce3e432184f99f8d
4
+ data.tar.gz: eceda290c3589d2590dd37aacf949eaf524f291b78b4c513d8090a1c7d25a621
5
5
  SHA512:
6
- metadata.gz: 1239aa5f4408d69fe650ff6251410558be3409adcef832513f7f6617e5f73a9a1c924aebe27909ed9082a69ccc3266f258e451d08ccbdff37425b6e2d21fbab8
7
- data.tar.gz: 80b22d1d6955a0af7c999cd6c9e3244f39810ac25bdea0918d2cc3f0134545f05d3a075900f8218e137d4966e60b92a3511a807e009113a0d58f50919e07d7a0
6
+ metadata.gz: 04a944328158dc96f30948523ebd9c28a22cd904ef004fb598c8ad4daa55686a98b575122d726d2d2d995fa2d5bd6bbd4cef21507a300451b4bc8b7b575c5971
7
+ data.tar.gz: 2637d248428a25ca228c26c3ecc1601152e1399c98578f2d928c24c4b4e6513296b89d7eef18f1d0dcc0f783fbdc752503821c55c1c24e7cf664b46529e72216
@@ -13,8 +13,8 @@ branches:
13
13
  deploy:
14
14
  provider: rubygems
15
15
  api_key:
16
- secure: kXuXaG6g0smORMWsq7iUoJFDFEoivezuz1G9Z2dCRHG2liLtfqqhYu0tJv6ypUzHzP41zseeFhVRel0P0NmrvOLaIf68zOi8YzYuChho8rfPVBZ5fRICJlVeIOAXnBJRftBTgbOI0nN/Iwy6LLlj+Uj8f2yOWep76dud453S+O8uwkCGRm+vRHp8vYxYoK9f8Rx7Ih10Cq5qTht1E4KlQP3TWt3uRUo8BnBS+v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quUP526DaoDiwaOCfuxMvFGvxG3YAhkyoLSFI9scMHlMPJjtap/BEkP/aWlmE=
17
17
  gem: kontent-jekyll
18
18
  on:
19
19
  tags: true
20
- repo: RadoslavK/kontent-jekyll
20
+ repo: Kentico/kontent-jekyll
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kontent-jekyll (0.12.0)
4
+ kontent-jekyll (1.0.0)
5
5
  kontent-delivery-sdk-ruby (~> 2.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
- [![Build Status](https://api.travis-ci.com/RadoslavK/kontent-jekyll.svg?branch=master)](https://travis-ci.com/RadoslavK/kontent-jekyll)
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 Kentico
6
+ # Kontent Jekyll
7
7
 
8
- 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.
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/RadoslavK/kontent-jekyll-blog).
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/RadoslavK/kontent-jekyll/wiki).
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/RadoslavK/kontent-jekyll/blob/master/CONTRIBUTING.md) page to see the best places to file issues, start discussions, and begin contributing.
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/RadoslavK/kontent-jekyll/blob/master/CODE_OF_CONDUCT.md).
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/RadoslavK/kontent-jekyll?pixel)
60
+ ![Analytics](https://kentico-ga-beacon.azurewebsites.net/api/UA-69014260-4/Kentico/kontent-jekyll?pixel)
@@ -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/RadoslavK/kontent-jekyll'
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/RadoslavK/kentico-jekyll'
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 Cloud CMS and populute
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 || newItems
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
@@ -1,5 +1,5 @@
1
1
  module Kentico
2
2
  module Kontent
3
- VERSION = '0.12.0'
3
+ VERSION = '1.0.0'
4
4
  end
5
5
  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.12.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-01-27 00:00:00.000000000 Z
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/RadoslavK/kontent-jekyll
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.2
176
+ rubygems_version: 3.1.4
177
177
  signing_key:
178
178
  specification_version: 4
179
179
  summary: Kentico Kontent plugin for Jekyll