files.com 1.1.122 → 1.1.123

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: a1a53a2c59353753b7e4dd055551fcfd38dc92cff2ab062e73acc5f7c081c7db
4
- data.tar.gz: c02c359ea3171f4b49ffe87d3a8a49f1824f226a09dacee8217076e4b929a517
3
+ metadata.gz: cedbc9ff30c7818dec09be0e7a046b24c31091fa9d877f5e60b618d920138823
4
+ data.tar.gz: 76aa38deac71782db63129d8409a51bf3a1927ceadcd55f56169035822161f3d
5
5
  SHA512:
6
- metadata.gz: 6d6bdbb9a2d5fb65e50ee1e1e8ecb72c404556dce96080be39d4d71a3d39430ef2649e0625a74f5bf14e73c9da7e307cef0f9d6c915a6d759165405c97267453
7
- data.tar.gz: 920ae0bd2aa5fbf5a10af55e98d5a73f20108f78bff0ddeba3c1c6ad1b1f5b14c25e583b9f55ba11b1bc2355d0578459410a67397067ebbd3836db02c768951d
6
+ metadata.gz: 799da18b67f1f7a52b1dc7c1ec2e97d87c9c4c2acf0b3b5abc618ebb66c7c40930bf852522ada120ccd24b7ca6dcd7cbc5a8964b8932409854b75af846fb7834
7
+ data.tar.gz: 27c99ae0727d9d59d818ef842cf48a9e47d8f26d422b54a8f5f2ef72de82c833c099df6d83e0ebf8ff71262b478a021007348d4ee72756a2710e3b328cbe7ee4
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.122
1
+ 1.1.123
data/docs/file.md CHANGED
@@ -113,7 +113,6 @@ Files::File.download(path,
113
113
  * `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
114
114
  * `with_previews` (boolean): Include file preview information?
115
115
  * `with_priority_color` (boolean): Include file priority color information?
116
- * `point_in_time` (string): Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
117
116
 
118
117
 
119
118
  ---
@@ -292,7 +291,6 @@ file.download(
292
291
  * `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
293
292
  * `with_previews` (boolean): Include file preview information?
294
293
  * `with_priority_color` (boolean): Include file priority color information?
295
- * `point_in_time` (string): Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
296
294
 
297
295
 
298
296
  ---
data/docs/folder.md CHANGED
@@ -113,7 +113,6 @@ Files::Folder.list_for(path,
113
113
  * `search_all` (boolean): Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the UI. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
114
114
  * `with_previews` (boolean): Include file previews?
115
115
  * `with_priority_color` (boolean): Include file priority color information?
116
- * `point_in_time` (string): Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
117
116
 
118
117
 
119
118
  ---
@@ -947,7 +947,6 @@ module Files
947
947
  # preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
948
948
  # with_previews - boolean - Include file preview information?
949
949
  # with_priority_color - boolean - Include file priority color information?
950
- # point_in_time - string - Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
951
950
  def download(params = {})
952
951
  params ||= {}
953
952
  params[:path] = @attributes[:path]
@@ -955,7 +954,6 @@ module Files
955
954
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
956
955
  raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
957
956
  raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params[:preview_size] and !params[:preview_size].is_a?(String)
958
- raise InvalidParameterError.new("Bad parameter: point_in_time must be an String") if params[:point_in_time] and !params[:point_in_time].is_a?(String)
959
957
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
960
958
 
961
959
  Api.send_request("/files/#{@attributes[:path]}", :get, params, @options)
@@ -1067,14 +1065,12 @@ module Files
1067
1065
  # preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
1068
1066
  # with_previews - boolean - Include file preview information?
1069
1067
  # with_priority_color - boolean - Include file priority color information?
1070
- # point_in_time - string - Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
1071
1068
  def self.download(path, params = {}, options = {})
1072
1069
  params ||= {}
1073
1070
  params[:path] = path
1074
1071
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
1075
1072
  raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
1076
1073
  raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params[:preview_size] and !params[:preview_size].is_a?(String)
1077
- raise InvalidParameterError.new("Bad parameter: point_in_time must be an String") if params[:point_in_time] and !params[:point_in_time].is_a?(String)
1078
1074
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
1079
1075
 
1080
1076
  response, options = Api.send_request("/files/#{params[:path]}", :get, params, options)
@@ -469,7 +469,6 @@ module Files
469
469
  # search_all - boolean - Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the UI. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
470
470
  # with_previews - boolean - Include file previews?
471
471
  # with_priority_color - boolean - Include file priority color information?
472
- # point_in_time - string - Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
473
472
  def self.list_for(path, params = {}, options = {})
474
473
  params ||= {}
475
474
  params[:path] = path
@@ -480,7 +479,6 @@ module Files
480
479
  raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params[:preview_size] and !params[:preview_size].is_a?(String)
481
480
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
482
481
  raise InvalidParameterError.new("Bad parameter: search must be an String") if params[:search] and !params[:search].is_a?(String)
483
- raise InvalidParameterError.new("Bad parameter: point_in_time must be an String") if params[:point_in_time] and !params[:point_in_time].is_a?(String)
484
482
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
485
483
 
486
484
  List.new(File, params) do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.122"
4
+ VERSION = "1.1.123"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.122
4
+ version: 1.1.123
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-27 00:00:00.000000000 Z
11
+ date: 2024-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable