notion_ruby_mapping 0.8.0 → 0.8.1

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: d5001d647004eef3101bd45070294fc461cb257e20a6f2eaf61cbc271491b9cd
4
- data.tar.gz: da78628f7e1ab2c11e176cfa1ec14fa0f5fb1dcdbfdbf37d73ff960bba6b85ab
3
+ metadata.gz: 1d5ecb543438b351d894b9f20d2b9ea0f10ebdacf3dd3b01c20bafae1d07f84d
4
+ data.tar.gz: e1463b904bba8cf73e41113754b9aed7492b45500321dd80b4660ba210cdb722
5
5
  SHA512:
6
- metadata.gz: 3e9ae34abd9f5f59f4920bec6f007ae897d291391a2e8c1148af6d53e206a00cfdb035118e3dae0525bdac3b7140c8b9818312e947b857ff6750a9cad749721c
7
- data.tar.gz: 43b808260694cfa5dd542901e839794309e20a39926aee9328a3976e605affec47170984a79e04bd4965c7d27c671205135ed767c2f956cbc5ff387d6218cd3f
6
+ metadata.gz: 82a8330b58a7a6edb675a03640f3c8a324fd7e3f58e124f184f4806c80a15c07d9f62fa92adfd31cfd21a7fa5db0ade83cd987baa48950f95076b021259abb2d
7
+ data.tar.gz: 86d1738c9a54021b5122435b77e93faff510294330217db44c748ebfaf8e37e3f821bd7fc18a62869200f6054a9b4d3f3b42f184d4f41724ca28eb8002368cf8
data/README.md CHANGED
@@ -127,6 +127,7 @@ NotionRubyMapping.configuration { |c| c.notion_token = ENV["NOTION_API_TOKEN"] }
127
127
 
128
128
  ## 3. ChangeLog
129
129
 
130
+ - 2023/7/10 [v0.8.1] Automatically change type to external when file object is updated
130
131
  - 2023/6/4 [v0.8.0] add unique_id properties, filter_properties
131
132
  - 2023/4/14 [v0.7.7] add token= method for Notion API book typo
132
133
  - 2023/4/1 [v0.7.6] bug fix Ignore last ? option for page_id
@@ -39,9 +39,9 @@ module NotionRubyMapping
39
39
  # @param [String] url
40
40
  # @see https://www.notion.so/hkob/FileObject-6218c354e985423a90904f47a985be33#6b841f75d0234a1aac93fb54348abb96
41
41
  def url=(url)
42
- raise StandardError "internal file url can't change." if @type == "file"
43
-
44
42
  @url = url
43
+ @type = "external"
44
+ @expiry_time = nil
45
45
  @will_update = true
46
46
  end
47
47
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NotionRubyMapping
4
- VERSION = "0.8.0"
4
+ VERSION = "0.8.1"
5
5
  NOTION_VERSION = "2022-06-28"
6
6
  end
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.8.0
4
+ version: 0.8.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: 2023-06-04 00:00:00.000000000 Z
11
+ date: 2023-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday