notion_ruby_mapping 0.8.9 → 2.0.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 +4 -4
- data/.rubocop.yml +12 -1
- data/lib/notion_ruby_mapping/blocks/base.rb +28 -14
- data/lib/notion_ruby_mapping/blocks/block.rb +42 -41
- data/lib/notion_ruby_mapping/blocks/callout_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/child_database_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/child_page_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/code_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/column_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/database.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/embed_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/equation_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/file_base_block.rb +13 -1
- data/lib/notion_ruby_mapping/blocks/file_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/heading1_block.rb +2 -2
- data/lib/notion_ruby_mapping/blocks/heading3_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/image_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/link_preview_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/link_to_page_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/list.rb +12 -11
- data/lib/notion_ruby_mapping/blocks/numbered_list_item_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/page.rb +1 -2
- data/lib/notion_ruby_mapping/blocks/paragraph_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/pdf_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/toggle_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/toggle_heading3_block.rb +1 -1
- data/lib/notion_ruby_mapping/blocks/video_block.rb +1 -1
- data/lib/notion_ruby_mapping/controllers/discussion_thread.rb +1 -1
- data/lib/notion_ruby_mapping/controllers/mermaid.rb +2 -5
- data/lib/notion_ruby_mapping/controllers/mermaid_database.rb +3 -6
- data/lib/notion_ruby_mapping/controllers/notion_cache.rb +73 -9
- data/lib/notion_ruby_mapping/controllers/payload.rb +20 -2
- data/lib/notion_ruby_mapping/controllers/property_cache.rb +1 -1
- data/lib/notion_ruby_mapping/controllers/query.rb +4 -4
- data/lib/notion_ruby_mapping/controllers/search.rb +4 -5
- data/lib/notion_ruby_mapping/objects/file_object.rb +38 -15
- data/lib/notion_ruby_mapping/objects/file_upload_object.rb +78 -0
- data/lib/notion_ruby_mapping/properties/button_property.rb +3 -3
- data/lib/notion_ruby_mapping/properties/checkbox_property.rb +2 -2
- data/lib/notion_ruby_mapping/properties/created_by_property.rb +2 -2
- data/lib/notion_ruby_mapping/properties/created_time_property.rb +2 -2
- data/lib/notion_ruby_mapping/properties/date_base_property.rb +4 -2
- data/lib/notion_ruby_mapping/properties/date_property.rb +4 -4
- data/lib/notion_ruby_mapping/properties/email_property.rb +2 -2
- data/lib/notion_ruby_mapping/properties/files_property.rb +9 -4
- data/lib/notion_ruby_mapping/properties/formula_property.rb +2 -2
- data/lib/notion_ruby_mapping/properties/last_edited_by_property.rb +2 -1
- data/lib/notion_ruby_mapping/properties/last_edited_time_property.rb +2 -2
- data/lib/notion_ruby_mapping/properties/multi_select_property.rb +3 -3
- data/lib/notion_ruby_mapping/properties/number_property.rb +3 -3
- data/lib/notion_ruby_mapping/properties/people_property.rb +3 -3
- data/lib/notion_ruby_mapping/properties/phone_number_property.rb +3 -3
- data/lib/notion_ruby_mapping/properties/property.rb +39 -37
- data/lib/notion_ruby_mapping/properties/relation_property.rb +2 -2
- data/lib/notion_ruby_mapping/properties/rollup_property.rb +2 -2
- data/lib/notion_ruby_mapping/properties/select_property.rb +2 -2
- data/lib/notion_ruby_mapping/properties/status_property.rb +2 -2
- data/lib/notion_ruby_mapping/properties/text_property.rb +2 -2
- data/lib/notion_ruby_mapping/properties/title_property.rb +1 -1
- data/lib/notion_ruby_mapping/properties/unique_id_property.rb +1 -1
- data/lib/notion_ruby_mapping/properties/url_property.rb +2 -2
- data/lib/notion_ruby_mapping/properties/verification_property.rb +3 -3
- data/lib/notion_ruby_mapping/version.rb +1 -1
- data/lib/notion_ruby_mapping.rb +1 -1
- data/notion_ruby_mapping.gemspec +3 -2
- metadata +20 -6
- data/sig/notion_ruby_mapping.rbs +0 -4
@@ -43,16 +43,16 @@ module NotionRubyMapping
|
|
43
43
|
if json.is_a? Array
|
44
44
|
json.map { |sub_json| UserObject.new json: sub_json }
|
45
45
|
elsif json["object"] == "list"
|
46
|
-
List.new(json: json, type:
|
46
|
+
List.new(json: json, type: "property", value: self).select { true }
|
47
47
|
else
|
48
48
|
json["people"].map { |sub_json| UserObject.new json: sub_json }
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
# @param [String] name
|
52
|
+
# @param [String, Symbol] name
|
53
53
|
# @param [Hash] json
|
54
54
|
# @param [Array] people ids for people
|
55
|
-
def initialize(name, will_update: false, base_type:
|
55
|
+
def initialize(name, will_update: false, base_type: "page", json: nil, people: nil, property_id: nil,
|
56
56
|
property_cache: nil, query: nil)
|
57
57
|
super name, will_update: will_update, base_type: base_type, property_id: property_id,
|
58
58
|
property_cache: property_cache, query: query
|
@@ -33,10 +33,10 @@ module NotionRubyMapping
|
|
33
33
|
|
34
34
|
## Common methods
|
35
35
|
|
36
|
-
# @param [String] name Property name
|
37
|
-
def initialize(name, will_update: false, base_type:
|
36
|
+
# @param [String, Symbol] name Property name
|
37
|
+
def initialize(name, will_update: false, base_type: "page", json: nil, property_id: nil, property_cache: nil)
|
38
38
|
super name, will_update: will_update, base_type: base_type, property_id: property_id,
|
39
|
-
|
39
|
+
property_cache: property_cache
|
40
40
|
@json = database? ? {} : json
|
41
41
|
end
|
42
42
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
2
|
+
|
3
3
|
require "forwardable"
|
4
4
|
|
5
5
|
module NotionRubyMapping
|
@@ -47,9 +47,9 @@ module NotionRubyMapping
|
|
47
47
|
|
48
48
|
## Common methods
|
49
49
|
|
50
|
-
# @param [String] name Property name
|
50
|
+
# @param [String, Symbol] name Property name
|
51
51
|
# @return [Property] generated Property object
|
52
|
-
def initialize(name, will_update: false, base_type:
|
52
|
+
def initialize(name, will_update: false, base_type: "page", property_id: nil, property_cache: nil, query: nil)
|
53
53
|
@name = name
|
54
54
|
@will_update = will_update
|
55
55
|
@base_type = base_type
|
@@ -62,12 +62,12 @@ module NotionRubyMapping
|
|
62
62
|
@query = query
|
63
63
|
end
|
64
64
|
|
65
|
-
# @param [String] name
|
65
|
+
# @param [String, Symbol] name
|
66
66
|
# @param [Hash] input_json
|
67
67
|
# @return [NotionRubyMapping::Property, nil] generated Property object
|
68
|
-
# @param [
|
68
|
+
# @param [String] base_type "page" or "database"
|
69
69
|
# @param [String, nil] page_id
|
70
|
-
def self.create_from_json(name, input_json, base_type =
|
70
|
+
def self.create_from_json(name, input_json, base_type = "page", property_cache = nil, query = nil)
|
71
71
|
raise StandardError, "Property not found: #{name}:#{input_json}" if input_json.nil?
|
72
72
|
|
73
73
|
type = input_json["type"]
|
@@ -76,7 +76,7 @@ module NotionRubyMapping
|
|
76
76
|
elsif type == "property_item"
|
77
77
|
tmp = new name, property_id: input_json["property_item"]["id"], base_type: base_type,
|
78
78
|
property_cache: property_cache, query: query
|
79
|
-
objects = List.new(json: input_json, type:
|
79
|
+
objects = List.new(json: input_json, type: "property", value: tmp, query: query).to_a
|
80
80
|
case input_json["property_item"]["type"]
|
81
81
|
when "people"
|
82
82
|
PeopleProperty.new name, people: objects, base_type: base_type,
|
@@ -93,33 +93,35 @@ module NotionRubyMapping
|
|
93
93
|
when "title"
|
94
94
|
TitleProperty.new name, text_objects: objects, base_type: base_type,
|
95
95
|
property_cache: property_cache, query: query
|
96
|
+
else
|
97
|
+
raise StandardError, "Irregular property type: #{input_json["property_item"]["type"]}"
|
96
98
|
end
|
97
99
|
else
|
98
100
|
klass = {
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
}[type]
|
101
|
+
button: ButtonProperty,
|
102
|
+
checkbox: CheckboxProperty,
|
103
|
+
created_time: CreatedTimeProperty,
|
104
|
+
date: DateProperty,
|
105
|
+
formula: FormulaProperty,
|
106
|
+
last_edited_time: LastEditedTimeProperty,
|
107
|
+
rollup: RollupProperty,
|
108
|
+
email: EmailProperty,
|
109
|
+
files: FilesProperty,
|
110
|
+
created_by: CreatedByProperty,
|
111
|
+
last_edited_by: LastEditedByProperty,
|
112
|
+
multi_select: MultiSelectProperty,
|
113
|
+
relation: RelationProperty,
|
114
|
+
number: NumberProperty,
|
115
|
+
people: PeopleProperty,
|
116
|
+
phone_number: PhoneNumberProperty,
|
117
|
+
select: SelectProperty,
|
118
|
+
status: StatusProperty,
|
119
|
+
title: TitleProperty,
|
120
|
+
rich_text: RichTextProperty,
|
121
|
+
unique_id: UniqueIdProperty,
|
122
|
+
url: UrlProperty,
|
123
|
+
verification: VerificationProperty,
|
124
|
+
}[type.to_sym]
|
123
125
|
raise StandardError, "Irregular property type: #{type}" unless klass
|
124
126
|
|
125
127
|
answer = klass.new name, property_id: input_json["id"], json: input_json[type], base_type: base_type,
|
@@ -138,7 +140,7 @@ module NotionRubyMapping
|
|
138
140
|
|
139
141
|
# @return [TrueClass, FalseClass] true if database property
|
140
142
|
def database?
|
141
|
-
@base_type ==
|
143
|
+
@base_type == "database"
|
142
144
|
end
|
143
145
|
|
144
146
|
# @return [TrueClass, FalseClass] true if it has Property contents
|
@@ -146,7 +148,7 @@ module NotionRubyMapping
|
|
146
148
|
!instance_of? Property
|
147
149
|
end
|
148
150
|
|
149
|
-
# @param [
|
151
|
+
# @param [Symbol] key query parameter
|
150
152
|
# @param [Object] value query value
|
151
153
|
# @return [NotionRubyMapping::Query] generated Query object
|
152
154
|
def make_filter_query(key, value, condition: nil, another_type: nil)
|
@@ -155,7 +157,7 @@ module NotionRubyMapping
|
|
155
157
|
elsif another_type
|
156
158
|
Query.new filter: {"property" => @name, type => {another_type => {key => value}}}
|
157
159
|
elsif @name == "__timestamp__"
|
158
|
-
Query.new filter: {"timestamp" => type, type => {key => value}}
|
160
|
+
Query.new filter: {"timestamp" => type.to_s, type => {key => value}}
|
159
161
|
else
|
160
162
|
Query.new filter: {"property" => @name, type => {key => value}}
|
161
163
|
end
|
@@ -163,7 +165,7 @@ module NotionRubyMapping
|
|
163
165
|
|
164
166
|
# @return [TrueClass, FalseClass] true if page property
|
165
167
|
def page?
|
166
|
-
@base_type ==
|
168
|
+
@base_type == "page"
|
167
169
|
end
|
168
170
|
|
169
171
|
# @param [Hash] json
|
@@ -208,7 +210,7 @@ module NotionRubyMapping
|
|
208
210
|
|
209
211
|
# @param [Symbol, nil] method
|
210
212
|
def assert_page_property(method)
|
211
|
-
raise StandardError, "#{method} can execute only Page property."
|
213
|
+
raise StandardError, "#{method} can execute only Page property." if database?
|
212
214
|
end
|
213
215
|
|
214
216
|
# @return [NotionRubyMapping::Property, Array<UserObject>, nil]
|
@@ -218,7 +220,7 @@ module NotionRubyMapping
|
|
218
220
|
|
219
221
|
json = NotionCache.instance.page_property_request @property_cache.page_id, @property_id,
|
220
222
|
(@query&.query_json || {})
|
221
|
-
new_property = self.class.create_from_json @name, json,
|
223
|
+
new_property = self.class.create_from_json @name, json, "page", @property_cache, @query
|
222
224
|
@property_cache.add_property new_property
|
223
225
|
new_property
|
224
226
|
end
|
@@ -68,10 +68,10 @@ module NotionRubyMapping
|
|
68
68
|
|
69
69
|
## Common methods
|
70
70
|
|
71
|
-
# @param [String] name
|
71
|
+
# @param [String, Symbol] name
|
72
72
|
# @param [Hash, Array] json
|
73
73
|
# @param [String, Array] relation
|
74
|
-
def initialize(name, will_update: false, json: nil, relation: nil, base_type:
|
74
|
+
def initialize(name, will_update: false, json: nil, relation: nil, base_type: "page", property_id: nil,
|
75
75
|
property_cache: nil, query: nil)
|
76
76
|
super name, will_update: will_update, base_type: base_type, property_id: property_id,
|
77
77
|
property_cache: property_cache, query: query
|
@@ -69,9 +69,9 @@ module NotionRubyMapping
|
|
69
69
|
|
70
70
|
## Common methods
|
71
71
|
|
72
|
-
# @param [String] name
|
72
|
+
# @param [String, Symbol] name
|
73
73
|
# @param [Hash] json
|
74
|
-
def initialize(name, will_update: false, json: nil, base_type:
|
74
|
+
def initialize(name, will_update: false, json: nil, base_type: "page", property_id: nil,
|
75
75
|
property_cache: nil, query: nil)
|
76
76
|
super name, will_update: will_update, base_type: base_type, property_id: property_id,
|
77
77
|
property_cache: property_cache, query: query
|
@@ -71,10 +71,10 @@ module NotionRubyMapping
|
|
71
71
|
|
72
72
|
## Common methods
|
73
73
|
|
74
|
-
# @param [String] name Property name
|
74
|
+
# @param [String, Symbol] name Property name
|
75
75
|
# @param [Hash] json
|
76
76
|
# @param [String] select String value (optional)
|
77
|
-
def initialize(name, will_update: false, base_type:
|
77
|
+
def initialize(name, will_update: false, base_type: "page", json: nil, select: nil, property_id: nil,
|
78
78
|
property_cache: nil)
|
79
79
|
super name, will_update: will_update, base_type: base_type, property_id: property_id,
|
80
80
|
property_cache: property_cache
|
@@ -39,9 +39,9 @@ module NotionRubyMapping
|
|
39
39
|
|
40
40
|
## Common methods
|
41
41
|
|
42
|
-
# @param [String] name Property name
|
42
|
+
# @param [String, Symbol] name Property name
|
43
43
|
# @param [Boolean, Hash] json
|
44
|
-
def initialize(name, will_update: false, base_type:
|
44
|
+
def initialize(name, will_update: false, base_type: "page", property_id: nil, property_cache: nil, json: {})
|
45
45
|
super name, will_update: will_update, base_type: base_type, property_id: property_id,
|
46
46
|
property_cache: property_cache
|
47
47
|
@json = json
|
@@ -24,10 +24,10 @@ module NotionRubyMapping
|
|
24
24
|
|
25
25
|
## Common methods
|
26
26
|
|
27
|
-
# @param [String] name
|
27
|
+
# @param [String, Symbol] name
|
28
28
|
# @param [Hash, Array] json
|
29
29
|
# @param [Array<RichTextObject>] text_objects
|
30
|
-
def initialize(name, will_update: false, base_type:
|
30
|
+
def initialize(name, will_update: false, base_type: "page", json: nil, text_objects: nil, property_id: nil,
|
31
31
|
property_cache: nil, query: nil)
|
32
32
|
raise StandardError, "TextObject is abstract class. Please use RichTextProperty." if instance_of? TextProperty
|
33
33
|
|
@@ -11,7 +11,7 @@ module NotionRubyMapping
|
|
11
11
|
|
12
12
|
def self.rich_text_array_from_json(json)
|
13
13
|
if json["object"] == "list"
|
14
|
-
rich_text_objects = List.new(json: json, type:
|
14
|
+
rich_text_objects = List.new(json: json, type: "property", value: self).select { true }
|
15
15
|
RichTextArray.rich_text_array "title", rich_text_objects
|
16
16
|
else
|
17
17
|
RichTextArray.new "title", json: json["title"]
|
@@ -27,7 +27,7 @@ module NotionRubyMapping
|
|
27
27
|
|
28
28
|
# @param [String] name Property name
|
29
29
|
# @param [Float, Integer, Hash] json Number value or format Hash
|
30
|
-
def initialize(name, will_update: false, base_type:
|
30
|
+
def initialize(name, will_update: false, base_type: "page", json: nil, property_id: nil, property_cache: nil)
|
31
31
|
super name, will_update: will_update, base_type: base_type, property_id: property_id, property_cache: property_cache
|
32
32
|
@json = json
|
33
33
|
@json ||= {} if database?
|
@@ -33,8 +33,8 @@ module NotionRubyMapping
|
|
33
33
|
|
34
34
|
## Common methods
|
35
35
|
|
36
|
-
# @param [String] name Property name
|
37
|
-
def initialize(name, will_update: false, base_type:
|
36
|
+
# @param [String, Symbol] name Property name
|
37
|
+
def initialize(name, will_update: false, base_type: "page", json: nil, property_id: nil, property_cache: nil)
|
38
38
|
super name, will_update: will_update, base_type: base_type, property_id: property_id,
|
39
39
|
property_cache: property_cache
|
40
40
|
@json = json || (database? ? {} : nil)
|
@@ -22,9 +22,9 @@ module NotionRubyMapping
|
|
22
22
|
|
23
23
|
## Common methods
|
24
24
|
|
25
|
-
# @param [String] name Property name
|
25
|
+
# @param [String, Symbol] name Property name
|
26
26
|
# @param [Boolean, Hash] json
|
27
|
-
def initialize(name, will_update: false, base_type:
|
27
|
+
def initialize(name, will_update: false, base_type: "page", property_id: nil, property_cache: nil, json: {})
|
28
28
|
super name, will_update: will_update, base_type: base_type, property_id: property_id,
|
29
29
|
property_cache: property_cache
|
30
30
|
@json = json
|
@@ -35,7 +35,7 @@ module NotionRubyMapping
|
|
35
35
|
# @return [Hash]
|
36
36
|
def property_values_json
|
37
37
|
assert_page_property __method__
|
38
|
-
{@name => {"verification" => @json, "type" =>
|
38
|
+
{@name => {"verification" => @json, "type" => TYPE}}
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
data/lib/notion_ruby_mapping.rb
CHANGED
@@ -15,7 +15,7 @@ require_relative "notion_ruby_mapping/version"
|
|
15
15
|
controllers: %w[notion_cache payload property_cache query rich_text_array discussion_thread search mermaid
|
16
16
|
mermaid_database],
|
17
17
|
objects: %w[rich_text_object emoji_object equation_object file_object mention_object text_object user_object
|
18
|
-
comment_object],
|
18
|
+
comment_object file_upload_object],
|
19
19
|
properties: %w[property checkbox_property multi_property created_by_property date_base_property created_time_property
|
20
20
|
date_property email_property files_property formula_property last_edited_by_property
|
21
21
|
last_edited_time_property multi_select_property number_property people_property phone_number_property
|
data/notion_ruby_mapping.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.description = "Mapping tool from Notion Database/Page/Block to Ruby Objects."
|
13
13
|
spec.homepage = "https://github.com/hkob/notion_ruby_mapping.git"
|
14
14
|
spec.license = "MIT"
|
15
|
-
spec.required_ruby_version = ">=
|
15
|
+
spec.required_ruby_version = ">= 3.0"
|
16
16
|
|
17
17
|
# spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
|
18
18
|
|
@@ -35,7 +35,8 @@ Gem::Specification.new do |spec|
|
|
35
35
|
# spec.add_dependency "example-gem", "~> 1.0"
|
36
36
|
|
37
37
|
spec.add_dependency "faraday"
|
38
|
-
spec.add_dependency "
|
38
|
+
spec.add_dependency "faraday-multipart"
|
39
|
+
spec.add_dependency "mime-types"
|
39
40
|
|
40
41
|
spec.add_development_dependency "guard"
|
41
42
|
spec.add_development_dependency "guard-rspec"
|
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.
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroyuki KOBAYASHI
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -25,7 +25,21 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: faraday-multipart
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: mime-types
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - ">="
|
@@ -227,6 +241,7 @@ files:
|
|
227
241
|
- lib/notion_ruby_mapping/objects/emoji_object.rb
|
228
242
|
- lib/notion_ruby_mapping/objects/equation_object.rb
|
229
243
|
- lib/notion_ruby_mapping/objects/file_object.rb
|
244
|
+
- lib/notion_ruby_mapping/objects/file_upload_object.rb
|
230
245
|
- lib/notion_ruby_mapping/objects/mention_object.rb
|
231
246
|
- lib/notion_ruby_mapping/objects/rich_text_object.rb
|
232
247
|
- lib/notion_ruby_mapping/objects/text_object.rb
|
@@ -260,7 +275,6 @@ files:
|
|
260
275
|
- lib/notion_ruby_mapping/properties/verification_property.rb
|
261
276
|
- lib/notion_ruby_mapping/version.rb
|
262
277
|
- notion_ruby_mapping.gemspec
|
263
|
-
- sig/notion_ruby_mapping.rbs
|
264
278
|
- tools/an
|
265
279
|
homepage: https://github.com/hkob/notion_ruby_mapping.git
|
266
280
|
licenses:
|
@@ -274,14 +288,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
274
288
|
requirements:
|
275
289
|
- - ">="
|
276
290
|
- !ruby/object:Gem::Version
|
277
|
-
version:
|
291
|
+
version: '3.0'
|
278
292
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
279
293
|
requirements:
|
280
294
|
- - ">="
|
281
295
|
- !ruby/object:Gem::Version
|
282
296
|
version: '0'
|
283
297
|
requirements: []
|
284
|
-
rubygems_version: 3.5.
|
298
|
+
rubygems_version: 3.5.11
|
285
299
|
signing_key:
|
286
300
|
specification_version: 4
|
287
301
|
summary: Notion Ruby mapping tool
|
data/sig/notion_ruby_mapping.rbs
DELETED