jekyll-notion 2.4.3 → 2.4.4
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 +4 -4
- data/README.md +6 -1
- data/lib/jekyll-notion/cacheable.rb +1 -1
- data/lib/jekyll-notion/generators/data_generator.rb +1 -1
- data/lib/jekyll-notion/version.rb +1 -1
- data/lib/jekyll-notion.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e44e3ab5a282cedcb01589e19fa93a7431123eda2ced53c3a0dd557f46cae968
|
4
|
+
data.tar.gz: cc3f9c5a136cf4e763680ae96cbd916c654c95f71137c96ffb3fccadf8f93f80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebc8f23fff22e506f48b1cc91c54d50377bf7305697f3e97870183c1b718545d5bae2125ab9a4f6148895104494a5349931615596d5d7649b0b60bac5288c64c
|
7
|
+
data.tar.gz: bb097aa7684dc69f6208d0d6bc373fc4b83d634aff15bfbdcf6595408c5ccd5a548611dcc470cbf024d2efc6a415c297dde94accc1b9653ab1a79beba3ec377a
|
data/README.md
CHANGED
@@ -21,6 +21,9 @@ Or add it to the `Gemfile`.
|
|
21
21
|
gem 'jekyll-notion'
|
22
22
|
```
|
23
23
|
|
24
|
+
> [!IMPORTANT]
|
25
|
+
> When using jekyll-archives, make sure that jekyll-notion is placed before jekyll-archives in the gemfile. Otherwise pages imported by jekyll-notion won't be collected by jekyll-archives. More info [here](https://github.com/emoriarty/jekyll-notion/issues/95#issuecomment-2732112458).
|
26
|
+
|
24
27
|
And update your jekyll plugins property in `_config.yml`.
|
25
28
|
|
26
29
|
```yml
|
@@ -152,7 +155,9 @@ Notice, the page body is stored in the key `content`.
|
|
152
155
|
|
153
156
|
The rest of properties are mapped as expected. For more info go to [notion properties](#notion-properties).
|
154
157
|
|
155
|
-
### Watch
|
158
|
+
### Watch (Deprecated)
|
159
|
+
|
160
|
+
_Use the cache mechanism instead._
|
156
161
|
|
157
162
|
By default, databases are only requested during the first build. Subsequent builds use the results from the cache.
|
158
163
|
|
@@ -9,7 +9,7 @@ module JekyllNotion
|
|
9
9
|
VCR.configure do |config|
|
10
10
|
config.cassette_library_dir = cache_path(cache_dir)
|
11
11
|
config.hook_into :faraday # Faraday is used by notion-ruby-client gem
|
12
|
-
config.filter_sensitive_data("<NOTION_TOKEN>") { ENV
|
12
|
+
config.filter_sensitive_data("<NOTION_TOKEN>") { ENV.fetch("NOTION_TOKEN", nil) }
|
13
13
|
config.allow_http_connections_when_no_cassette = true
|
14
14
|
config.default_cassette_options = {
|
15
15
|
:allow_playback_repeats => true,
|
@@ -31,7 +31,7 @@ module JekyllNotion
|
|
31
31
|
converter.convert(output)
|
32
32
|
rescue StandardError => e
|
33
33
|
Jekyll.logger.error "Conversion error:",
|
34
|
-
"#{converter.class} encountered an error while "\
|
34
|
+
"#{converter.class} encountered an error while " \
|
35
35
|
"converting notion page '#{page.title}':"
|
36
36
|
Jekyll.logger.error("", e.to_s)
|
37
37
|
raise e
|
data/lib/jekyll-notion.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-notion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Enrique Arias
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -50,28 +50,28 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 2.
|
53
|
+
version: 2.5.0
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 2.
|
60
|
+
version: 2.5.0
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: vcr
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 6.
|
67
|
+
version: 6.3.1
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: 6.
|
74
|
+
version: 6.3.1
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: bundler
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -164,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
164
|
requirements:
|
165
165
|
- - ">="
|
166
166
|
- !ruby/object:Gem::Version
|
167
|
-
version: 2.
|
167
|
+
version: 2.7.0
|
168
168
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
169
|
requirements:
|
170
170
|
- - ">="
|