notion_orbit 0.0.6 → 0.0.7
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/lib/notion_orbit/notion.rb +1 -1
- data/lib/notion_orbit/services/notion.rb +2 -1
- data/lib/notion_orbit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 116a98dffbf099846be57d49f61a5f2fa6c1727ad2f8e98bb988f91bc1f15825
|
|
4
|
+
data.tar.gz: 188ebd7486042a2c9446062cb421c6f774e828960cbd4ddac715116296310347
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 329efa41e0800cca22f4cf16519de5fc0c20d3cfc9052fc803095d690954edeba4598bb8fee1866d124607bd73e1f1872c436d5d07826398af56974a85c62e38
|
|
7
|
+
data.tar.gz: 303344d6953d77ce3f2bdac4371fb1e56192241c435f17bc8893777824cc2d5669d344d02f3cf4a81527ce46dd5c3dca9c2b4fa078ae54f65cd92df37bb2654d
|
data/lib/notion_orbit/notion.rb
CHANGED
|
@@ -10,7 +10,7 @@ module NotionOrbit
|
|
|
10
10
|
@notion_workspace_slug = params.fetch(:notion_workspace_slug)
|
|
11
11
|
end
|
|
12
12
|
|
|
13
|
-
def process_notes
|
|
13
|
+
def process_notes
|
|
14
14
|
notion_service = NotionOrbit::Services::Notion.new(notion_api_key: @notion_api_key)
|
|
15
15
|
orbit_service = NotionOrbit::Services::Orbit.new(orbit_workspace: @orbit_workspace, orbit_api_key: @orbit_api_key)
|
|
16
16
|
|
|
@@ -23,6 +23,7 @@ module NotionOrbit
|
|
|
23
23
|
content: page_content(page)
|
|
24
24
|
}
|
|
25
25
|
end
|
|
26
|
+
|
|
26
27
|
notes
|
|
27
28
|
end
|
|
28
29
|
|
|
@@ -39,7 +40,7 @@ module NotionOrbit
|
|
|
39
40
|
def page_properties(page)
|
|
40
41
|
{
|
|
41
42
|
email: page[:properties]['Member Email'].email,
|
|
42
|
-
page_id: page[:id]
|
|
43
|
+
page_id: "#{page[:id]}"
|
|
43
44
|
}
|
|
44
45
|
end
|
|
45
46
|
|
data/lib/notion_orbit/version.rb
CHANGED