files.com 1.1.609 → 1.1.610
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 +4 -4
- data/lib/files.com/models/behavior.rb +4 -4
- 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: 6c0cac3455ea7b93f2d5f3195ee1712d7cf0b89657e3dcffe33ca73ab909d141
|
|
4
|
+
data.tar.gz: 7d55fc84ec33274ed4a7587a6704608944ac49d4b18e22bf547de96cc330c24c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1cac31e5c8b29c5f2ce578b75636b770f92b1de29a1ba71ba5823d9714db81b8527c0e2c5d0e945e3941e83df2ed494bc1b18afa5aa00e982858e925866d2499
|
|
7
|
+
data.tar.gz: 84dfabfed5db8c2fc7b83b868adeca5a8d8e2b5a75b59db551c924edcdc3f15878670672af6daebd76c1f6142c4cb15707ac5d0d3c5c329a9d782aacef98a3e2
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.610
|
data/docs/behavior.md
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* `description` (string): Description for this behavior.
|
|
27
27
|
* `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.
|
|
28
28
|
* `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder and its children.
|
|
29
|
-
* `recursive` (boolean):
|
|
29
|
+
* `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.
|
|
30
30
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
31
31
|
* `attachment_delete` (boolean): If `true`, delete the file stored in `attachment`.
|
|
32
32
|
|
|
@@ -101,7 +101,7 @@ Files::Behavior.create(
|
|
|
101
101
|
* `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
|
|
102
102
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
103
103
|
* `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
104
|
-
* `recursive` (boolean):
|
|
104
|
+
* `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.
|
|
105
105
|
* `name` (string): Name for this behavior.
|
|
106
106
|
* `description` (string): Description for this behavior.
|
|
107
107
|
* `path` (string): Required - Path where this behavior should apply.
|
|
@@ -153,7 +153,7 @@ Files::Behavior.update(id,
|
|
|
153
153
|
* `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
|
|
154
154
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
155
155
|
* `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
156
|
-
* `recursive` (boolean):
|
|
156
|
+
* `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.
|
|
157
157
|
* `name` (string): Name for this behavior.
|
|
158
158
|
* `description` (string): Description for this behavior.
|
|
159
159
|
* `attachment_delete` (boolean): If `true`, delete the file stored in `attachment`.
|
|
@@ -195,7 +195,7 @@ behavior.update(
|
|
|
195
195
|
* `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
|
|
196
196
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
197
197
|
* `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
198
|
-
* `recursive` (boolean):
|
|
198
|
+
* `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.
|
|
199
199
|
* `name` (string): Name for this behavior.
|
|
200
200
|
* `description` (string): Description for this behavior.
|
|
201
201
|
* `attachment_delete` (boolean): If `true`, delete the file stored in `attachment`.
|
|
@@ -81,7 +81,7 @@ module Files
|
|
|
81
81
|
@attributes[:disable_parent_folder_behavior] = value
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
# boolean -
|
|
84
|
+
# 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.
|
|
85
85
|
def recursive
|
|
86
86
|
@attributes[:recursive]
|
|
87
87
|
end
|
|
@@ -112,7 +112,7 @@ module Files
|
|
|
112
112
|
# value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
|
|
113
113
|
# attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
114
114
|
# disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
115
|
-
# recursive - boolean -
|
|
115
|
+
# 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.
|
|
116
116
|
# name - string - Name for this behavior.
|
|
117
117
|
# description - string - Description for this behavior.
|
|
118
118
|
# attachment_delete - boolean - If `true`, delete the file stored in `attachment`.
|
|
@@ -216,7 +216,7 @@ module Files
|
|
|
216
216
|
# value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
|
|
217
217
|
# attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
218
218
|
# disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
219
|
-
# recursive - boolean -
|
|
219
|
+
# 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.
|
|
220
220
|
# name - string - Name for this behavior.
|
|
221
221
|
# description - string - Description for this behavior.
|
|
222
222
|
# path (required) - string - Path where this behavior should apply.
|
|
@@ -258,7 +258,7 @@ module Files
|
|
|
258
258
|
# value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
|
|
259
259
|
# attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
|
|
260
260
|
# disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
|
|
261
|
-
# recursive - boolean -
|
|
261
|
+
# 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.
|
|
262
262
|
# name - string - Name for this behavior.
|
|
263
263
|
# description - string - Description for this behavior.
|
|
264
264
|
# attachment_delete - boolean - If `true`, delete the file stored in `attachment`.
|
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.610
|
|
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-04-
|
|
11
|
+
date: 2026-04-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|