files.com 1.0.317 → 1.0.319
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/folder.md +3 -1
- data/docs/site.md +3 -1
- data/lib/files.com/models/folder.rb +2 -0
- data/lib/files.com/models/site.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4170d70ab8de41d40023daac58c91d7b4d21118f0abcfb95a14cad9bfac4abf
|
4
|
+
data.tar.gz: 034b0ca6ea4d5c3f99f026afbb877c7b0f64c34aaa41733c77c92aac42afc54d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a58fcec5b74ce9024bb6c014c54319afc0060bdae5ede1bc9a52a40dd4db98b2d77d38300d3f292a573417faaae5f089d0e624ee5b364e0c5c5fd5fda65c232
|
7
|
+
data.tar.gz: 037cf71c3023a5adc436f4b3e599cd450daaca2592c9f61a890b3fdf4c737d9a040c6fb18746eeebb8784e9bdb8a7a36b219b56f2ba93b869487bc60624c1919
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.319
|
data/docs/folder.md
CHANGED
@@ -83,7 +83,8 @@ Files::Folder.list_for(path,
|
|
83
83
|
|
84
84
|
```
|
85
85
|
Files::Folder.create(path,
|
86
|
-
mkdir_parents: true
|
86
|
+
mkdir_parents: true,
|
87
|
+
provided_mtime: "2000-01-01T01:00:00Z"
|
87
88
|
)
|
88
89
|
```
|
89
90
|
|
@@ -91,3 +92,4 @@ Files::Folder.create(path,
|
|
91
92
|
|
92
93
|
* `path` (string): Required - Path to operate on.
|
93
94
|
* `mkdir_parents` (boolean): Create parent directories if they do not exist?
|
95
|
+
* `provided_mtime` (string): User provided modification time.
|
data/docs/site.md
CHANGED
@@ -438,7 +438,8 @@ Files::Site.update(
|
|
438
438
|
icon128_delete: true,
|
439
439
|
logo_delete: true,
|
440
440
|
bundle_watermark_attachment_delete: true,
|
441
|
-
disable_2fa_with_delay: true
|
441
|
+
disable_2fa_with_delay: true,
|
442
|
+
session_expiry_minutes: 1
|
442
443
|
)
|
443
444
|
```
|
444
445
|
|
@@ -575,3 +576,4 @@ Files::Site.update(
|
|
575
576
|
* `ldap_password_change` (string): New LDAP password.
|
576
577
|
* `ldap_password_change_confirmation` (string): Confirm new LDAP password.
|
577
578
|
* `smtp_password` (string): Password for SMTP server.
|
579
|
+
* `session_expiry_minutes` (int64): Session expiry in minutes
|
@@ -351,10 +351,12 @@ module Files
|
|
351
351
|
# Parameters:
|
352
352
|
# path (required) - string - Path to operate on.
|
353
353
|
# mkdir_parents - boolean - Create parent directories if they do not exist?
|
354
|
+
# provided_mtime - string - User provided modification time.
|
354
355
|
def self.create(path, params = {}, options = {})
|
355
356
|
params ||= {}
|
356
357
|
params[:path] = path
|
357
358
|
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
359
|
+
raise InvalidParameterError.new("Bad parameter: provided_mtime must be an String") if params[:provided_mtime] and !params[:provided_mtime].is_a?(String)
|
358
360
|
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
359
361
|
|
360
362
|
response, options = Api.send_request("/folders/#{params[:path]}", :post, params, options)
|
@@ -856,6 +856,7 @@ module Files
|
|
856
856
|
# ldap_password_change - string - New LDAP password.
|
857
857
|
# ldap_password_change_confirmation - string - Confirm new LDAP password.
|
858
858
|
# smtp_password - string - Password for SMTP server.
|
859
|
+
# session_expiry_minutes - int64 - Session expiry in minutes
|
859
860
|
def self.update(params = {}, options = {})
|
860
861
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
861
862
|
raise InvalidParameterError.new("Bad parameter: subdomain must be an String") if params[:subdomain] and !params[:subdomain].is_a?(String)
|
@@ -922,6 +923,7 @@ module Files
|
|
922
923
|
raise InvalidParameterError.new("Bad parameter: ldap_password_change must be an String") if params[:ldap_password_change] and !params[:ldap_password_change].is_a?(String)
|
923
924
|
raise InvalidParameterError.new("Bad parameter: ldap_password_change_confirmation must be an String") if params[:ldap_password_change_confirmation] and !params[:ldap_password_change_confirmation].is_a?(String)
|
924
925
|
raise InvalidParameterError.new("Bad parameter: smtp_password must be an String") if params[:smtp_password] and !params[:smtp_password].is_a?(String)
|
926
|
+
raise InvalidParameterError.new("Bad parameter: session_expiry_minutes must be an Integer") if params[:session_expiry_minutes] and !params[:session_expiry_minutes].is_a?(Integer)
|
925
927
|
|
926
928
|
response, options = Api.send_request("/site", :patch, params, options)
|
927
929
|
Site.new(response.data, options)
|
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.0.
|
4
|
+
version: 1.0.319
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|