files.com 1.1.155 → 1.1.157
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/bundle.md +2 -0
- data/lib/files.com/models/bundle.rb +9 -0
- data/lib/files.com/version.rb +1 -1
- data/lib/files.com.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: bca6a258843afa34f463bb2889ad48f1d0561755a2884f1e74923e6a30f57927
|
|
4
|
+
data.tar.gz: 37c422317f90ba3b6f145575c3964250bd59990027b453c93bbff6dfe2ed4ab4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e710fa443a72301ebf71cb65a11fcba39386e153c60c2312d5fdf2352610e5f1edb7fc944392be793038fb638198a9bd70890eed474abdb6cb75c10b985e73e5
|
|
7
|
+
data.tar.gz: 5eba3f6d23b0c9c8a0280084738c9b62718c44ff870e4bb838e4fc1cb6fc50f8a05ca5bfa5b7dd3a899d98b05ec9308f0181b81fe4e365724dd9d3a37e153c01
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.157
|
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
data/lib/files.com.rb
CHANGED
|
@@ -147,7 +147,7 @@ module Files
|
|
|
147
147
|
@initial_network_retry_delay = 0.5
|
|
148
148
|
|
|
149
149
|
@open_timeout = 30
|
|
150
|
-
@read_timeout =
|
|
150
|
+
@read_timeout = 60
|
|
151
151
|
|
|
152
152
|
class << self
|
|
153
153
|
attr_accessor :api_key, :base_url, :default_headers, :initial_network_retry_delay, :max_network_retry_delay, :open_timeout, :read_timeout, :proxy, :session_id
|
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.157
|
|
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
|