notion_ruby_mapping 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/notion_ruby_mapping/properties/property.rb +3 -5
- data/lib/notion_ruby_mapping/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a757ebe4ea9fc3bf0709bddf57721136db4ba0c6d9bc063353971de92b172c2
|
4
|
+
data.tar.gz: 7a8e3d103725393f587c3294af0ee736b2a6ecdda6aab86b61f77bf202ca7918
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4af8a3a2ac3f2116e7b943d109b87d38231f0e5ff74fc442ed1f8eba64c63f5b3d812dd7a5be6bae2f8094910e0c7221343b292252d04bd5b4c0afab75e70d5
|
7
|
+
data.tar.gz: 8316db70c2ac52ce0de63ed9b3f1e71622c4a0b64e1f5915d9022816206842e964bca775290e66775fcd104eb331236530088d9678905d9a3497179032398b1b
|
data/README.md
CHANGED
@@ -125,6 +125,7 @@ NotionRubyMapping.configuration { |c| c.notion_token = ENV["NOTION_API_TOKEN"] }
|
|
125
125
|
|
126
126
|
## 3. ChangeLog
|
127
127
|
|
128
|
+
- 2022/12/16 [v0.7.1] bug fix for query rollup property
|
128
129
|
- 2022/11/28 [v0.7.0] add this_week filter and NotionRubyMapping.configure
|
129
130
|
- 2022/11/13 [v0.6.8] remove error checking for start and end dates, add Users.all, and change Rollup and Formula query specification
|
130
131
|
- 2022/9/2 [v0.6.7] add support for Status property, is_toggleable for headings block, and page property values
|
@@ -143,12 +143,10 @@ module NotionRubyMapping
|
|
143
143
|
# @param [Object] value query value
|
144
144
|
# @return [NotionRubyMapping::Query] generated Query object
|
145
145
|
def make_filter_query(key, value, condition: nil, another_type: nil)
|
146
|
-
if
|
147
|
-
Query.new filter: {"property" => @name,
|
148
|
-
elsif condition
|
149
|
-
Query.new filter: {"property" => @name, condition => {another_type => {key => value}}}
|
146
|
+
if condition
|
147
|
+
Query.new filter: {"property" => @name, type => {condition => {another_type => {key => value}}}}
|
150
148
|
elsif another_type
|
151
|
-
Query.new filter: {"property" => @name, another_type => {key => value}}
|
149
|
+
Query.new filter: {"property" => @name, type => {another_type => {key => value}}}
|
152
150
|
elsif @name == "__timestamp__"
|
153
151
|
Query.new filter: {"timestamp" => type, type => {key => value}}
|
154
152
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notion_ruby_mapping
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroyuki KOBAYASHI
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -257,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
257
257
|
- !ruby/object:Gem::Version
|
258
258
|
version: '0'
|
259
259
|
requirements: []
|
260
|
-
rubygems_version: 3.3.
|
260
|
+
rubygems_version: 3.3.26
|
261
261
|
signing_key:
|
262
262
|
specification_version: 4
|
263
263
|
summary: Notion Ruby mapping tool
|