notion_ruby_mapping 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eebf655e3f67cf1b8efd0b2e143550004b3d6277bb5bc9071d496c2814df2538
4
- data.tar.gz: e940233fed8804f92318434feaa99160f7ce3288b2e68e45eb09e3f4763f6efe
3
+ metadata.gz: e79de731e05cc8d52d2a4bf1cff43aa9af37fd0351632a163d250d5b1a021ccc
4
+ data.tar.gz: 603eed686b6c9aee581c921fd43416a1c835f8f7ebac38b40b6f69483e61368b
5
5
  SHA512:
6
- metadata.gz: aa4de2b82ccb55272ae93e36900036a666b5197671aedc7b54fe141d4a9bdfaaa7acd180765bf2e3948bf8dd2030f0e05aa4adfa4bd9539eb152c7e64f42ccb8
7
- data.tar.gz: 8f91372152624213a0fdde007c8d8a6fe3a0a9b76a9d17b0c8b123020aac498ab0a1f5e6a5187170c7666a87b21ddb2f2f0c68911074941b0918a2320a545d19
6
+ metadata.gz: f45b546354600850901dafded3f1dc2bded150466b4b4cc4d40a80e1d75ea50be5822ba6e494bf060a97961697fd3996de4a20fe537a519e84eb116f0d47292d
7
+ data.tar.gz: 0a30d84fad6ddfb80efee6fe222cf9ad33b85457017dd0fb8b68792ab40dd613d7d7f75a77d874f1153e442a08ae704a76c7210b5c1e884f96ffcab3283c1bc8
@@ -19,6 +19,14 @@ module NotionRubyMapping
19
19
  @file_names = Array(files)
20
20
  end
21
21
 
22
+ def file_names=(file_names = [])
23
+ array_file_names = Array(file_names)
24
+ raise StandardError, "files and file_names must be the same sizes." unless @files.length == array_file_names.length
25
+
26
+ @will_update = true
27
+ @file_names = array_file_names
28
+ end
29
+
22
30
  ### Not public announced methods
23
31
 
24
32
  ## Common methods
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NotionRubyMapping
4
- VERSION = "0.5.4"
4
+ VERSION = "0.5.5"
5
5
  NOTION_VERSION = "2022-02-22"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notion_ruby_mapping
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroyuki KOBAYASHI