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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6790bf6e9cd0ecc1dbe2807c3fd596d87ea1bcec39afb61b73daed72e93054f2
4
- data.tar.gz: 437f59fe7c753a345cc5bdc08a1ecd2c68368840a7603faa3bdaf7c297d49692
3
+ metadata.gz: 4750368643493c3d255dab6775e70d22c7c0b43e1bd56861173c408e88437d18
4
+ data.tar.gz: badbdf1e99fcc0ddedd975ff3715a1b546c1d8fda6dd3c717dbd1f943ade9eaf
5
5
  SHA512:
6
- metadata.gz: 76fe8b0973e5e785940a35a7e86bfd33bb0db14c81b8e6da199505f5b9e0625d77b21955d2ab87fae10be2f568243a2eb30ce857b18d463d61963bb1d1e49758
7
- data.tar.gz: 30aa9415e8c37fca38e50aa1f0ee20c341dc399479887ddba66b4d5f532f12b47dc4575c5a75a3168eb4583756a2857eaebd28b0595a0f230dc769257a6c0e59
6
+ metadata.gz: 5575342067c3549e98bb5d0484ab1c8d054683d2f32c38188e6d749ce7b452bc5085130967571db5f5f9140264e3f8ed5747c2be24f9c0efa101e28eeb58320f
7
+ data.tar.gz: 1c6c0e980508a460551ecf4e6124b0fef4f3601c58d7387e9ad49e4be2f19f2e9746e172f0bfeb7dd58e9da6dd09dbf925f24503b3e0c72bddb671e1a500f9ef
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.155
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]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.155"
4
+ VERSION = "1.1.156"
5
5
  end
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.155
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-16 00:00:00.000000000 Z
11
+ date: 2024-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable