files.com 1.1.154 → 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: 4b1832dfc9d37bc5c0e9b28a4a199a29e6909a22276af486d93a7e01c44dd892
4
- data.tar.gz: 96c7750cf99bde4d77a2d5a198e5c4330c0f175566fce59f8492c8ee5c18cb51
3
+ metadata.gz: 4750368643493c3d255dab6775e70d22c7c0b43e1bd56861173c408e88437d18
4
+ data.tar.gz: badbdf1e99fcc0ddedd975ff3715a1b546c1d8fda6dd3c717dbd1f943ade9eaf
5
5
  SHA512:
6
- metadata.gz: 4fb25822beded0ec84d61892b7c3291b7f7fc0b5343bdf9c8ad868d0f3e4892034d417020132a92016c3db1171c3770c816c824026871a0f27b3587ad1dc053d
7
- data.tar.gz: 54b92922cf49e3f636c1cb7a8595a49a01c7cce811032bf911b0e8c35177311cecf1656e0410ba0b79723508a36d971b70a3107fef06c524f11c8e504216f81b
6
+ metadata.gz: 5575342067c3549e98bb5d0484ab1c8d054683d2f32c38188e6d749ce7b452bc5085130967571db5f5f9140264e3f8ed5747c2be24f9c0efa101e28eeb58320f
7
+ data.tar.gz: 1c6c0e980508a460551ecf4e6124b0fef4f3601c58d7387e9ad49e4be2f19f2e9746e172f0bfeb7dd58e9da6dd09dbf925f24503b3e0c72bddb671e1a500f9ef
data/README.md CHANGED
@@ -342,7 +342,6 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
342
342
  |`InvalidCursorTypeForSortError`| `BadRequestError` |
343
343
  |`InvalidEtagsError`| `BadRequestError` |
344
344
  |`InvalidFilterAliasCombinationError`| `BadRequestError` |
345
- |`InvalidFilterCombinationError`| `BadRequestError` |
346
345
  |`InvalidFilterFieldError`| `BadRequestError` |
347
346
  |`InvalidFilterParamError`| `BadRequestError` |
348
347
  |`InvalidFilterParamValueError`| `BadRequestError` |
@@ -351,6 +350,7 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
351
350
  |`InvalidOauthProviderError`| `BadRequestError` |
352
351
  |`InvalidPathError`| `BadRequestError` |
353
352
  |`InvalidReturnToUrlError`| `BadRequestError` |
353
+ |`InvalidSortFilterCombinationError`| `BadRequestError` |
354
354
  |`InvalidUploadOffsetError`| `BadRequestError` |
355
355
  |`InvalidUploadPartGapError`| `BadRequestError` |
356
356
  |`InvalidUploadPartSizeError`| `BadRequestError` |
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.154
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.
@@ -58,7 +58,6 @@ module Files
58
58
  class InvalidCursorTypeForSortError < BadRequestError; end
59
59
  class InvalidEtagsError < BadRequestError; end
60
60
  class InvalidFilterAliasCombinationError < BadRequestError; end
61
- class InvalidFilterCombinationError < BadRequestError; end
62
61
  class InvalidFilterFieldError < BadRequestError; end
63
62
  class InvalidFilterParamError < BadRequestError; end
64
63
  class InvalidFilterParamValueError < BadRequestError; end
@@ -67,6 +66,7 @@ module Files
67
66
  class InvalidOauthProviderError < BadRequestError; end
68
67
  class InvalidPathError < BadRequestError; end
69
68
  class InvalidReturnToUrlError < BadRequestError; end
69
+ class InvalidSortFilterCombinationError < BadRequestError; end
70
70
  class InvalidUploadOffsetError < BadRequestError; end
71
71
  class InvalidUploadPartGapError < BadRequestError; end
72
72
  class InvalidUploadPartSizeError < BadRequestError; end
@@ -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.154"
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.154
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