files.com 1.1.155 → 1.1.156
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/bundle.md +2 -0
- data/lib/files.com/models/bundle.rb +9 -0
- 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: 4750368643493c3d255dab6775e70d22c7c0b43e1bd56861173c408e88437d18
|
4
|
+
data.tar.gz: badbdf1e99fcc0ddedd975ff3715a1b546c1d8fda6dd3c717dbd1f943ade9eaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5575342067c3549e98bb5d0484ab1c8d054683d2f32c38188e6d749ce7b452bc5085130967571db5f5f9140264e3f8ed5747c2be24f9c0efa101e28eeb58320f
|
7
|
+
data.tar.gz: 1c6c0e980508a460551ecf4e6124b0fef4f3601c58d7387e9ad49e4be2f19f2e9746e172f0bfeb7dd58e9da6dd09dbf925f24503b3e0c72bddb671e1a500f9ef
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.156
|
data/docs/bundle.md
CHANGED
@@ -74,6 +74,7 @@
|
|
74
74
|
"key": "example value"
|
75
75
|
},
|
76
76
|
"has_inbox": true,
|
77
|
+
"dont_allow_folders_in_uploads": true,
|
77
78
|
"paths": [
|
78
79
|
"file.txt"
|
79
80
|
],
|
@@ -123,6 +124,7 @@
|
|
123
124
|
* `watermark_attachment` (Image): Preview watermark image applied to all bundle items.
|
124
125
|
* `watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
125
126
|
* `has_inbox` (boolean): Does this bundle have an associated inbox?
|
127
|
+
* `dont_allow_folders_in_uploads` (boolean): Should folder uploads be prevented?
|
126
128
|
* `paths` (array(string)): A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
|
127
129
|
* `bundlepaths` (array(object)): A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
|
128
130
|
* `password` (string): Password for this bundle.
|
@@ -338,6 +338,15 @@ module Files
|
|
338
338
|
@attributes[:has_inbox] = value
|
339
339
|
end
|
340
340
|
|
341
|
+
# boolean - Should folder uploads be prevented?
|
342
|
+
def dont_allow_folders_in_uploads
|
343
|
+
@attributes[:dont_allow_folders_in_uploads]
|
344
|
+
end
|
345
|
+
|
346
|
+
def dont_allow_folders_in_uploads=(value)
|
347
|
+
@attributes[:dont_allow_folders_in_uploads] = value
|
348
|
+
end
|
349
|
+
|
341
350
|
# array(string) - A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
|
342
351
|
def paths
|
343
352
|
@attributes[:paths]
|
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.156
|
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-10-
|
11
|
+
date: 2024-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|