files.com 1.0.359 → 1.0.361

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1599878e275f8474e62ef8ab607377ba91b1703629a231147a3872551f71fb2
4
- data.tar.gz: d7c004380e15efe49124f5a3267dc946ca3c7524237ecd1ab4b5698d63335327
3
+ metadata.gz: 54a6c1c9d8200f8492641b76255d63dc027326e56957ad0f6d9e28b2ba362fde
4
+ data.tar.gz: 47426ea8543a0fe55f41e50bee291e758397e06798eeabfccfcb0e08327fac61
5
5
  SHA512:
6
- metadata.gz: f95f18ac636769116b304b5c4eddbbf267ff3420a5bf03def0c9378ed29b79e5867ae48b5465e3d093ca4694d43c0c0ae8f8afe88f9631958c5ad6eb80b3806d
7
- data.tar.gz: 369c1b04e84244486db565109a40f068677583104d8609204fcf859741a5463f9a997a7fa414a97808bffe032a158787f08289221dc2e8bfe67b29539c398ffe
6
+ metadata.gz: 70c67ca1a465b0839fa3f2fc5905d56ea6fccb0258652fb57b5881e38d460da4db536b4185f641c88ab8693bee052a99f8b28ec1c707c5e24ff857afdaeeebcd
7
+ data.tar.gz: c3e2efa5ab442e10f7e2cab683e56fe45f7d9c146e4e6bb3c392f23f70b4071d05aabef5069f522a793b14188fd11d634bdf7fa335ce102b5775ea4fd955d6b2
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.359
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?
@@ -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.359
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-23 00:00:00.000000000 Z
11
+ date: 2023-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable