notion_to_md 2.1.0 → 2.2.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: a6cff35e8c8b88f99117499abcc24c89fc98ec723aa4d3380b7b36699e8886e3
4
- data.tar.gz: 280543cfe9aae2d20d74336f992c26ab5e83dabe738a6f1b6f5bf9742fb41e36
3
+ metadata.gz: fed0fc0d3030e3c31473dec2d1082831156f52327e3afb4864732030365195f5
4
+ data.tar.gz: 917cccf40edfb7355717bf855f3681baa57353ccd1390c34b96133c01524dd74
5
5
  SHA512:
6
- metadata.gz: 8808bdd505c6df869f5c06f71d1d763e6f008bc68379528af997b546ff0c6ba1312107b328c3b60b4708949e49a8e03ae8a764acc1e3789fdaf7a5e68b7da2d4
7
- data.tar.gz: 5bb5daa841ada70a0ded345fdbf3bbda55aac0e078413f6723ced019029f6ea9a990625f0ee22533766f54b7453e77c40a2b6e59e622dc12f9a3180366fa71bc
6
+ metadata.gz: 2c2498e638e6e80f8dcda4e888bb34e2572fd448f3ced78e2b5f00d33478466ac1322c223196388219fc68170cff832f61ad5a63e834c595e492ba64b6d9c797
7
+ data.tar.gz: 8ee37c94729d2140b0d85520648855fe2139875aa77b2bf8def9e631071bd08212fcaf7c911f9665fdd14862043234b6f0a967031522e04c031c684efad17856
data/README.md CHANGED
@@ -56,11 +56,18 @@ Everything in a notion page body is a [block object](https://developers.notion.c
56
56
  * `callout`
57
57
  * `quote`
58
58
  * `divider`
59
- * `tables`
59
+ * `table`
60
+ * `embed`
61
+ * `code`
60
62
 
61
63
  ### Nested blocks
62
64
 
63
- Starting with v2, nested blocks are supported. For now, only lists are supported, but more elements will be added.
65
+ Starting with v2, nested blocks are supported. The permitted blocks to have children are:
66
+
67
+ * `paragraph`
68
+ * `bulleted_list_item`
69
+ * `numbered_list_item`
70
+ * `to_do`
64
71
 
65
72
  ## Front matter
66
73
 
@@ -12,6 +12,8 @@ module NotionToMd
12
12
  PERMITTED_CHILDREN = [
13
13
  Types.method(:bulleted_list_item).name,
14
14
  Types.method(:numbered_list_item).name,
15
+ Types.method(:paragraph).name,
16
+ Types.method(:to_do).name,
15
17
  :table
16
18
  ].freeze
17
19
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NotionToMd
4
- VERSION = '2.1.0'
4
+ VERSION = '2.2.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notion_to_md
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
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-23 00:00:00.000000000 Z
11
+ date: 2022-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport