files.com 1.0.354 → 1.0.356
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 +6 -6
- data/lib/files.com/models/bundle.rb +13 -13
- 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: 61319db349ecd31f703bd5f214d3da99860a527606c1a1e6add8c0eb1a0b0932
|
4
|
+
data.tar.gz: 6849cbc371d5c4fcf7716c709273840524387282b6c9eba435c5932302a97911
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baa9c85b88f8eeb5907b7dc90a344d8be57f3510f4c5147f0ad08d6708b8bbb036a79f8b885f0ba122dcf3cefbbd864528899bd50308683061c8c5ba312f3210
|
7
|
+
data.tar.gz: 48d6b8b9f4869aa29459681a5ac402367183958888b75f5d706c6ca8eac438ff0f512d18c766dc5b61d85426e7d57e33dacdf932b4a6688c86e888d0c3cad603
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.356
|
data/docs/bundle.md
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
"code": "abc123",
|
8
8
|
"url": "https://subdomain.files.com/f/12345678",
|
9
9
|
"description": "The public description of the bundle.",
|
10
|
+
"expires_at": "2000-01-01T01:00:00Z",
|
10
11
|
"password_protected": true,
|
11
12
|
"permissions": "read",
|
12
13
|
"preview_only": true,
|
@@ -35,7 +36,6 @@
|
|
35
36
|
"id": 1,
|
36
37
|
"created_at": "2000-01-01T01:00:00Z",
|
37
38
|
"dont_separate_submissions_by_folder": true,
|
38
|
-
"expires_at": "2000-01-01T01:00:00Z",
|
39
39
|
"max_uses": 1,
|
40
40
|
"note": "The internal note on the bundle.",
|
41
41
|
"path_template": "{{name}}_{{ip}}",
|
@@ -59,9 +59,10 @@
|
|
59
59
|
* `code` (string): Bundle code. This code forms the end part of the Public URL.
|
60
60
|
* `url` (string): Public URL of Share Link
|
61
61
|
* `description` (string): Public description
|
62
|
+
* `expires_at` (date-time): Bundle expiration date/time
|
62
63
|
* `password_protected` (boolean): Is this bundle password protected?
|
63
64
|
* `permissions` (string): Permissions that apply to Folders in this Share Link.
|
64
|
-
* `preview_only` (boolean): Restrict users to previewing files only
|
65
|
+
* `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
|
65
66
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
66
67
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
67
68
|
* `clickwrap_body` (string): Legal text that must be agreed to prior to accessing Bundle.
|
@@ -72,7 +73,6 @@
|
|
72
73
|
* `id` (int64): Bundle ID
|
73
74
|
* `created_at` (date-time): Bundle created at date/time
|
74
75
|
* `dont_separate_submissions_by_folder` (boolean): Do not create subfolders for files uploaded to this share. Note: there are subtle security pitfalls with allowing anonymous uploads from multiple users to live in the same folder. We strongly discourage use of this option unless absolutely required.
|
75
|
-
* `expires_at` (date-time): Bundle expiration date/time
|
76
76
|
* `max_uses` (int64): Maximum number of times bundle can be accessed
|
77
77
|
* `note` (string): Bundle internal note
|
78
78
|
* `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
|
@@ -180,7 +180,7 @@ Files::Bundle.create(
|
|
180
180
|
* `code` (string): Bundle code. This code forms the end part of the Public URL.
|
181
181
|
* `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
|
182
182
|
* `permissions` (string): Permissions that apply to Folders in this Share Link.
|
183
|
-
* `preview_only` (boolean): Restrict users to previewing files only
|
183
|
+
* `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
|
184
184
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
185
185
|
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
|
186
186
|
* `inbox_id` (int64): ID of the associated inbox, if available.
|
@@ -263,7 +263,7 @@ Files::Bundle.update(id,
|
|
263
263
|
* `note` (string): Bundle internal note
|
264
264
|
* `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
|
265
265
|
* `permissions` (string): Permissions that apply to Folders in this Share Link.
|
266
|
-
* `preview_only` (boolean): Restrict users to previewing files only
|
266
|
+
* `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
|
267
267
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
268
268
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
269
269
|
* `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
|
@@ -361,7 +361,7 @@ bundle.update(
|
|
361
361
|
* `note` (string): Bundle internal note
|
362
362
|
* `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
|
363
363
|
* `permissions` (string): Permissions that apply to Folders in this Share Link.
|
364
|
-
* `preview_only` (boolean): Restrict users to previewing files only
|
364
|
+
* `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
|
365
365
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
366
366
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
367
367
|
* `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
|
@@ -36,6 +36,15 @@ module Files
|
|
36
36
|
@attributes[:description] = value
|
37
37
|
end
|
38
38
|
|
39
|
+
# date-time - Bundle expiration date/time
|
40
|
+
def expires_at
|
41
|
+
@attributes[:expires_at]
|
42
|
+
end
|
43
|
+
|
44
|
+
def expires_at=(value)
|
45
|
+
@attributes[:expires_at] = value
|
46
|
+
end
|
47
|
+
|
39
48
|
# boolean - Is this bundle password protected?
|
40
49
|
def password_protected
|
41
50
|
@attributes[:password_protected]
|
@@ -54,7 +63,7 @@ module Files
|
|
54
63
|
@attributes[:permissions] = value
|
55
64
|
end
|
56
65
|
|
57
|
-
# boolean - Restrict users to previewing files only
|
66
|
+
# boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
|
58
67
|
def preview_only
|
59
68
|
@attributes[:preview_only]
|
60
69
|
end
|
@@ -149,15 +158,6 @@ module Files
|
|
149
158
|
@attributes[:dont_separate_submissions_by_folder] = value
|
150
159
|
end
|
151
160
|
|
152
|
-
# date-time - Bundle expiration date/time
|
153
|
-
def expires_at
|
154
|
-
@attributes[:expires_at]
|
155
|
-
end
|
156
|
-
|
157
|
-
def expires_at=(value)
|
158
|
-
@attributes[:expires_at] = value
|
159
|
-
end
|
160
|
-
|
161
161
|
# int64 - Maximum number of times bundle can be accessed
|
162
162
|
def max_uses
|
163
163
|
@attributes[:max_uses]
|
@@ -364,7 +364,7 @@ module Files
|
|
364
364
|
# note - string - Bundle internal note
|
365
365
|
# path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
|
366
366
|
# permissions - string - Permissions that apply to Folders in this Share Link.
|
367
|
-
# preview_only - boolean - Restrict users to previewing files only
|
367
|
+
# preview_only - boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
|
368
368
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
369
369
|
# require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
370
370
|
# send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
|
@@ -479,7 +479,7 @@ module Files
|
|
479
479
|
# code - string - Bundle code. This code forms the end part of the Public URL.
|
480
480
|
# path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
|
481
481
|
# permissions - string - Permissions that apply to Folders in this Share Link.
|
482
|
-
# preview_only - boolean - Restrict users to previewing files only
|
482
|
+
# preview_only - boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
|
483
483
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
484
484
|
# clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
|
485
485
|
# inbox_id - int64 - ID of the associated inbox, if available.
|
@@ -546,7 +546,7 @@ module Files
|
|
546
546
|
# note - string - Bundle internal note
|
547
547
|
# path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
|
548
548
|
# permissions - string - Permissions that apply to Folders in this Share Link.
|
549
|
-
# preview_only - boolean - Restrict users to previewing files only
|
549
|
+
# preview_only - boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
|
550
550
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
551
551
|
# require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
552
552
|
# send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
|
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.0.
|
4
|
+
version: 1.0.356
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|