files.com 1.1.733 → 1.1.735
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 +4 -4
- data/_VERSION +1 -1
- data/docs/behavior.md +8 -8
- data/lib/files.com/models/behavior.rb +5 -5
- data/lib/files.com/version.rb +1 -1
- 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: 0c5e657a8cede65f1b30b34a5532aa8533b70251cfac4e473bd47533b1e35876
|
|
4
|
+
data.tar.gz: 8a8eb050476c8355e42fbe2a86c22f18ad0d0fe2ab1c19b198d26bdd1d2a9b83
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e388c37dd8980d2e00099cca5b45eb56c5640143f87deee41104a8368600d82d2bcb360d25fda3975bdb07940e9844e5da1e047f8afc86a4c8b88ff4139ecc23
|
|
7
|
+
data.tar.gz: 5943b844f36c2c4b6212d9e0fd893dc74f78bb049f6055a326fc55d598e8e4480a6a99b79aa7fdc9616f1a8c9c499cf5174d3bdd28520ef70ab0086e155198cb
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.735
|
data/docs/behavior.md
CHANGED
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
* `name` (string): Name for this behavior.
|
|
34
34
|
* `description` (string): Description for this behavior.
|
|
35
35
|
* `value` (object): Settings for this behavior. See the section above for an example value to provide here. Formatting is different for each Behavior type. May be sent as nested JSON or a single JSON-encoded string. If using XML encoding for the API call, this data must be sent as a JSON-encoded string.
|
|
36
|
-
* `public_hosting_url` (string): Public URL for this publicly hosted folder when the `Serve Publicly` behavior has a key configured.
|
|
37
|
-
* `disable_parent_folder_behavior` (boolean): If true, the
|
|
36
|
+
* `public_hosting_url` (string): Public URL for this publicly hosted folder when the `Serve Publicly` behavior has a key configured. When a Custom Domain with `public_hosting` destination is attached to this behavior, the URL uses that domain. Otherwise it uses the site's `subdomain.hosted-by-files.com` host, unless `custom_domain_only` is enabled, in which case no URL is returned.
|
|
37
|
+
* `disable_parent_folder_behavior` (boolean): If true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
|
|
38
38
|
* `recursive` (boolean): Whether this behavior is recursive for this record. `always` behaviors are always `true`, `never` behaviors are always `false`, and `sometimes` behaviors may be either value.
|
|
39
39
|
* `inherited` (boolean): If true, this behavior is inherited from a higher scope rather than owned by the requested workspace.
|
|
40
40
|
* `managed` (boolean): If true, this behavior is controlled by a parent-site policy and cannot be modified locally.
|
|
@@ -99,7 +99,7 @@ Files::Behavior.list_for(path,
|
|
|
99
99
|
```
|
|
100
100
|
Files::Behavior.create(
|
|
101
101
|
value: {"urls":["https://example.com/webhook"],"method":"POST","encoding":"JSON"},
|
|
102
|
-
disable_parent_folder_behavior:
|
|
102
|
+
disable_parent_folder_behavior: true,
|
|
103
103
|
recursive: false,
|
|
104
104
|
name: "example",
|
|
105
105
|
description: "example",
|
|
@@ -112,7 +112,7 @@ Files::Behavior.create(
|
|
|
112
112
|
|
|
113
113
|
* `value` (object): This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
|
|
114
114
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
115
|
-
* `disable_parent_folder_behavior` (boolean): If
|
|
115
|
+
* `disable_parent_folder_behavior` (boolean): If true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
|
|
116
116
|
* `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
|
|
117
117
|
* `name` (string): Name for this behavior.
|
|
118
118
|
* `description` (string): Description for this behavior.
|
|
@@ -151,7 +151,7 @@ Files::Behavior.webhook_test(
|
|
|
151
151
|
```
|
|
152
152
|
Files::Behavior.update(id,
|
|
153
153
|
value: {"urls":["https://example.com/webhook"],"method":"POST","encoding":"JSON"},
|
|
154
|
-
disable_parent_folder_behavior:
|
|
154
|
+
disable_parent_folder_behavior: true,
|
|
155
155
|
recursive: false,
|
|
156
156
|
name: "example",
|
|
157
157
|
description: "example",
|
|
@@ -164,7 +164,7 @@ Files::Behavior.update(id,
|
|
|
164
164
|
* `id` (int64): Required - Behavior ID.
|
|
165
165
|
* `value` (object): This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
|
|
166
166
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
167
|
-
* `disable_parent_folder_behavior` (boolean): If
|
|
167
|
+
* `disable_parent_folder_behavior` (boolean): If true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
|
|
168
168
|
* `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
|
|
169
169
|
* `name` (string): Name for this behavior.
|
|
170
170
|
* `description` (string): Description for this behavior.
|
|
@@ -193,7 +193,7 @@ behavior = Files::Behavior.find(id)
|
|
|
193
193
|
|
|
194
194
|
behavior.update(
|
|
195
195
|
value: {"urls":["https://example.com/webhook"],"method":"POST","encoding":"JSON"},
|
|
196
|
-
disable_parent_folder_behavior:
|
|
196
|
+
disable_parent_folder_behavior: true,
|
|
197
197
|
recursive: false,
|
|
198
198
|
name: "example",
|
|
199
199
|
description: "example",
|
|
@@ -206,7 +206,7 @@ behavior.update(
|
|
|
206
206
|
* `id` (int64): Required - Behavior ID.
|
|
207
207
|
* `value` (object): This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
|
|
208
208
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
209
|
-
* `disable_parent_folder_behavior` (boolean): If
|
|
209
|
+
* `disable_parent_folder_behavior` (boolean): If true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
|
|
210
210
|
* `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
|
|
211
211
|
* `name` (string): Name for this behavior.
|
|
212
212
|
* `description` (string): Description for this behavior.
|
|
@@ -72,7 +72,7 @@ module Files
|
|
|
72
72
|
@attributes[:value] = value
|
|
73
73
|
end
|
|
74
74
|
|
|
75
|
-
# string - Public URL for this publicly hosted folder when the `Serve Publicly` behavior has a key configured.
|
|
75
|
+
# string - Public URL for this publicly hosted folder when the `Serve Publicly` behavior has a key configured. When a Custom Domain with `public_hosting` destination is attached to this behavior, the URL uses that domain. Otherwise it uses the site's `subdomain.hosted-by-files.com` host, unless `custom_domain_only` is enabled, in which case no URL is returned.
|
|
76
76
|
def public_hosting_url
|
|
77
77
|
@attributes[:public_hosting_url]
|
|
78
78
|
end
|
|
@@ -81,7 +81,7 @@ module Files
|
|
|
81
81
|
@attributes[:public_hosting_url] = value
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
# boolean - If true, the
|
|
84
|
+
# boolean - If true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
|
|
85
85
|
def disable_parent_folder_behavior
|
|
86
86
|
@attributes[:disable_parent_folder_behavior]
|
|
87
87
|
end
|
|
@@ -147,7 +147,7 @@ module Files
|
|
|
147
147
|
# Parameters:
|
|
148
148
|
# value - object - This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
|
|
149
149
|
# attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
150
|
-
# disable_parent_folder_behavior - boolean - If
|
|
150
|
+
# disable_parent_folder_behavior - boolean - If true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
|
|
151
151
|
# recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
|
|
152
152
|
# name - string - Name for this behavior.
|
|
153
153
|
# description - string - Description for this behavior.
|
|
@@ -251,7 +251,7 @@ module Files
|
|
|
251
251
|
# Parameters:
|
|
252
252
|
# value - object - This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
|
|
253
253
|
# attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
254
|
-
# disable_parent_folder_behavior - boolean - If
|
|
254
|
+
# disable_parent_folder_behavior - boolean - If true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
|
|
255
255
|
# recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
|
|
256
256
|
# name - string - Name for this behavior.
|
|
257
257
|
# description - string - Description for this behavior.
|
|
@@ -293,7 +293,7 @@ module Files
|
|
|
293
293
|
# Parameters:
|
|
294
294
|
# value - object - This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
|
|
295
295
|
# attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
296
|
-
# disable_parent_folder_behavior - boolean - If
|
|
296
|
+
# disable_parent_folder_behavior - boolean - If true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
|
|
297
297
|
# recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
|
|
298
298
|
# name - string - Name for this behavior.
|
|
299
299
|
# description - string - Description for this behavior.
|
data/lib/files.com/version.rb
CHANGED
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.
|
|
4
|
+
version: 1.1.735
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|