jekyll-notion 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3aff6ed807b63d6bf877a8a81fcc955df0da1821be8f4ff8fd49e1a29f210bb
|
4
|
+
data.tar.gz: 7fa24cc4fcdea23b8111198ea11d3901903884639570e6b92cb20a96ea7bdc0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fc8085e674ad5df90028af1e73d550d5c814e215fc592db2cc8653bc1a57dbd3df9d29597ced5a068247f9da53516e942d227b96c70e385565abab3a84d78c3
|
7
|
+
data.tar.gz: cec2caa262ee9b029e9ad04ed4775f84fb0ba892d25ed99584fef8ffee002ee2293a367a77624d93655e8e3f42a78cfc5bd5f3017287e97b3dc37340d1494087
|
@@ -38,8 +38,8 @@ module JekyllNotion
|
|
38
38
|
true
|
39
39
|
end
|
40
40
|
|
41
|
-
def build_blocks
|
42
|
-
NotionToMd::Blocks.build(block_id:
|
41
|
+
def build_blocks(block_id)
|
42
|
+
NotionToMd::Blocks.build(block_id: block_id) do |nested_id|
|
43
43
|
@notion.block_children({ :block_id => nested_id })
|
44
44
|
end
|
45
45
|
end
|
@@ -7,7 +7,7 @@ module JekyllNotion
|
|
7
7
|
return [] unless id?
|
8
8
|
|
9
9
|
@fetch ||= @notion.database_query(query)[:results].map do |page|
|
10
|
-
NotionToMd::Page.new(:page => page, :blocks => build_blocks)
|
10
|
+
NotionToMd::Page.new(:page => page, :blocks => build_blocks(page.id))
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
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.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Enrique Arias
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|