files.com 1.0.359 → 1.0.361
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/errors.rb +1 -0
- data/lib/files.com/models/bundle.rb +9 -0
- 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: 54a6c1c9d8200f8492641b76255d63dc027326e56957ad0f6d9e28b2ba362fde
|
4
|
+
data.tar.gz: 47426ea8543a0fe55f41e50bee291e758397e06798eeabfccfcb0e08327fac61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70c67ca1a465b0839fa3f2fc5905d56ea6fccb0258652fb57b5881e38d460da4db536b4185f641c88ab8693bee052a99f8b28ec1c707c5e24ff857afdaeeebcd
|
7
|
+
data.tar.gz: c3e2efa5ab442e10f7e2cab683e56fe45f7d9c146e4e6bb3c392f23f70b4071d05aabef5069f522a793b14188fd11d634bdf7fa335ce102b5775ea4fd955d6b2
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.361
|
data/docs/bundle.md
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
"preview_only": true,
|
14
14
|
"require_registration": true,
|
15
15
|
"require_share_recipient": true,
|
16
|
+
"require_logout": true,
|
16
17
|
"clickwrap_body": "[Legal text]",
|
17
18
|
"form_field_set": {
|
18
19
|
"id": 1,
|
@@ -65,6 +66,7 @@
|
|
65
66
|
* `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
|
66
67
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
67
68
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
69
|
+
* `require_logout` (boolean): If true, we will hide the 'Remember Me' box on the Bundle registration page, requiring that the user logout and log back in every time they visit the page.
|
68
70
|
* `clickwrap_body` (string): Legal text that must be agreed to prior to accessing Bundle.
|
69
71
|
* `form_field_set` (FormFieldSet): Custom Form to use
|
70
72
|
* `skip_name` (boolean): BundleRegistrations can be saved without providing name?
|
data/lib/files.com/errors.rb
CHANGED
@@ -189,6 +189,7 @@ module Files
|
|
189
189
|
class UpdatesNotAllowedForRemotesError < ProcessingFailureError; end
|
190
190
|
|
191
191
|
class RateLimitedError < APIError; end
|
192
|
+
class DuplicateShareRecipientError < RateLimitedError; end
|
192
193
|
class ReauthenticationRateLimitedError < RateLimitedError; end
|
193
194
|
class TooManyConcurrentRequestsError < RateLimitedError; end
|
194
195
|
class TooManyLoginAttemptsError < RateLimitedError; end
|
@@ -90,6 +90,15 @@ module Files
|
|
90
90
|
@attributes[:require_share_recipient] = value
|
91
91
|
end
|
92
92
|
|
93
|
+
# boolean - If true, we will hide the 'Remember Me' box on the Bundle registration page, requiring that the user logout and log back in every time they visit the page.
|
94
|
+
def require_logout
|
95
|
+
@attributes[:require_logout]
|
96
|
+
end
|
97
|
+
|
98
|
+
def require_logout=(value)
|
99
|
+
@attributes[:require_logout] = value
|
100
|
+
end
|
101
|
+
|
93
102
|
# string - Legal text that must be agreed to prior to accessing Bundle.
|
94
103
|
def clickwrap_body
|
95
104
|
@attributes[:clickwrap_body]
|
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.361
|
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-06-
|
11
|
+
date: 2023-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|