notion_orbit 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/notion_orbit/services/notion.rb +3 -1
- data/lib/notion_orbit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e73fd03b3957387833c9df0e860daf28f4c70e38288371212b5273530f7f12a
|
4
|
+
data.tar.gz: fba3da055ff8cf90b8b937be0f668dbfbefeb3075acfe8dbf8ad11642f48d71d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea700fa64e3551de2e778ac9896f1356f50da883f3dc72d4f4685ca3c6792a5dfc3e2536d0e0117e479aeb87d4efdc0da6bf45b74fd59871a90aa9726c3cdf7a
|
7
|
+
data.tar.gz: 467177c6d4d90ef490d221b0135da271f45c4245b5ae4217d0689ee4a1bec952f95528155d50ead8500ff18431fa8056eb6fbc3eaeddbfa7bf56c236ea2644dc
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
notion_orbit (0.0.
|
4
|
+
notion_orbit (0.0.4)
|
5
5
|
dotenv
|
6
6
|
http (~> 4.4)
|
7
7
|
json (~> 2.5)
|
@@ -48,7 +48,7 @@ GEM
|
|
48
48
|
http-cookie (~> 1.0)
|
49
49
|
http-form_data (~> 2.2)
|
50
50
|
http-parser (~> 1.2.0)
|
51
|
-
http-cookie (1.0.
|
51
|
+
http-cookie (1.0.4)
|
52
52
|
domain_name (~> 0.5)
|
53
53
|
http-form_data (2.3.0)
|
54
54
|
http-parser (1.2.3)
|
@@ -9,9 +9,11 @@ module NotionOrbit
|
|
9
9
|
|
10
10
|
def notes(database_id:)
|
11
11
|
pages = @client.database_query(id: database_id).results
|
12
|
-
|
12
|
+
|
13
13
|
# only process pages that opt-in to sending the note to Orbit
|
14
14
|
pages = pages.filter { |page| page.properties['Send to Orbit'].checkbox }
|
15
|
+
|
16
|
+
pages = pages.filter { |page| page.properties['Orbit Status'].rich_text[0] == nil }
|
15
17
|
puts pages
|
16
18
|
|
17
19
|
notes = []
|
data/lib/notion_orbit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notion_orbit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Orbit DevRel
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-06-
|
13
|
+
date: 2021-06-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: http
|