files.com 1.0.105 → 1.0.106
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/file.md +2 -2
- data/docs/folder.md +1 -1
- data/docs/sso_strategy.md +2 -0
- data/lib/files.com/models/file.rb +2 -2
- data/lib/files.com/models/folder.rb +1 -1
- data/lib/files.com/models/sso_strategy.rb +5 -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: 32131f5bd3bf8f5002f21ab2ad489b1ccf93bc1fcb7c42427ea5c18f83af9977
|
4
|
+
data.tar.gz: 797cf35c63d959a478f124ff84d5f3cdef1d1c1a0d1098cc2d201cc8950ec1c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b0ec308bc1cfd10683b7fd92796eb4bc686de078b364dcb819f2531b9850b120a2721da2e49e97949b424c2648b131f83195358e404ff98bb814594193bca4f
|
7
|
+
data.tar.gz: 4c57b09e30babaeeada3e8d08f9904dbcf17b4fe22ed9be57285e8f7cde9d2142e551b61c87f9feb955269c144989eac1d16660919ea95b47dacbba639f681ff
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.106
|
data/docs/file.md
CHANGED
@@ -141,7 +141,7 @@ Files::File.delete(path,
|
|
141
141
|
### Parameters
|
142
142
|
|
143
143
|
* `path` (string): Required - Path to operate on.
|
144
|
-
* `recursive` (boolean): If true, will recursively delete folers. Otherwise, will error on non-empty folders.
|
144
|
+
* `recursive` (boolean): If true, will recursively delete folers. Otherwise, will error on non-empty folders.
|
145
145
|
|
146
146
|
|
147
147
|
---
|
@@ -201,4 +201,4 @@ file.delete(
|
|
201
201
|
### Parameters
|
202
202
|
|
203
203
|
* `path` (string): Required - Path to operate on.
|
204
|
-
* `recursive` (boolean): If true, will recursively delete folers. Otherwise, will error on non-empty folders.
|
204
|
+
* `recursive` (boolean): If true, will recursively delete folers. Otherwise, will error on non-empty folders.
|
data/docs/folder.md
CHANGED
@@ -66,7 +66,7 @@ Files::Folder.list_for(path,
|
|
66
66
|
|
67
67
|
* `page` (int64): Current page number.
|
68
68
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
69
|
-
* `action` (string): Action to take. Can be `count`, `
|
69
|
+
* `action` (string): Action to take. Can be `count`, `size`, `permissions`, or blank.
|
70
70
|
* `cursor` (string): Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor header.
|
71
71
|
* `path` (string): Required - Path to operate on.
|
72
72
|
* `filter` (string): If specified, will to filter folders/files list by this string. Wildcards of `*` and `?` are acceptable here.
|
data/docs/sso_strategy.md
CHANGED
@@ -23,6 +23,7 @@
|
|
23
23
|
"provision_groups": true,
|
24
24
|
"deprovision_users": true,
|
25
25
|
"deprovision_groups": true,
|
26
|
+
"deprovision_behavior": "disable",
|
26
27
|
"provision_group_default": "Employees",
|
27
28
|
"provision_group_exclusion": "Employees",
|
28
29
|
"provision_group_inclusion": "Employees",
|
@@ -62,6 +63,7 @@
|
|
62
63
|
* `provision_groups` (boolean): Auto-provision group membership based on group memberships on the SSO side?
|
63
64
|
* `deprovision_users` (boolean): Auto-deprovision users?
|
64
65
|
* `deprovision_groups` (boolean): Auto-deprovision group membership based on group memberships on the SSO side?
|
66
|
+
* `deprovision_behavior` (string): Method used for deprovisioning users.
|
65
67
|
* `provision_group_default` (string): Comma-separated list of group names for groups to automatically add all auto-provisioned users to.
|
66
68
|
* `provision_group_exclusion` (string): Comma-separated list of group names for groups (with optional wildcards) that will be excluded from auto-provisioning.
|
67
69
|
* `provision_group_inclusion` (string): Comma-separated list of group names for groups (with optional wildcards) that will be auto-provisioned.
|
@@ -857,7 +857,7 @@ module Files
|
|
857
857
|
end
|
858
858
|
|
859
859
|
# Parameters:
|
860
|
-
# recursive - boolean - If true, will recursively delete folers. Otherwise, will error on non-empty folders.
|
860
|
+
# recursive - boolean - If true, will recursively delete folers. Otherwise, will error on non-empty folders.
|
861
861
|
def delete(params = {})
|
862
862
|
params ||= {}
|
863
863
|
params[:path] = @attributes[:path]
|
@@ -946,7 +946,7 @@ module Files
|
|
946
946
|
end
|
947
947
|
|
948
948
|
# Parameters:
|
949
|
-
# recursive - boolean - If true, will recursively delete folers. Otherwise, will error on non-empty folders.
|
949
|
+
# recursive - boolean - If true, will recursively delete folers. Otherwise, will error on non-empty folders.
|
950
950
|
def self.delete(path, params = {}, options = {})
|
951
951
|
params ||= {}
|
952
952
|
params[:path] = path
|
@@ -311,7 +311,7 @@ module Files
|
|
311
311
|
# Parameters:
|
312
312
|
# page - int64 - Current page number.
|
313
313
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
314
|
-
# action - string - Action to take. Can be `count`, `
|
314
|
+
# action - string - Action to take. Can be `count`, `size`, `permissions`, or blank.
|
315
315
|
# cursor - string - Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor header.
|
316
316
|
# path (required) - string - Path to operate on.
|
317
317
|
# filter - string - If specified, will to filter folders/files list by this string. Wildcards of `*` and `?` are acceptable here.
|
@@ -94,6 +94,11 @@ module Files
|
|
94
94
|
@attributes[:deprovision_groups]
|
95
95
|
end
|
96
96
|
|
97
|
+
# string - Method used for deprovisioning users.
|
98
|
+
def deprovision_behavior
|
99
|
+
@attributes[:deprovision_behavior]
|
100
|
+
end
|
101
|
+
|
97
102
|
# string - Comma-separated list of group names for groups to automatically add all auto-provisioned users to.
|
98
103
|
def provision_group_default
|
99
104
|
@attributes[:provision_group_default]
|
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.106
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|