files.com 1.0.215 → 1.0.216

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: 3ed7c097919b49afe6a6bb05f1af86859e52b095ba60ddf6789cbf9551026114
4
- data.tar.gz: 8c8871067fb1b37614a97bc4e575be78ac83881aee152f20f082afb59351de47
3
+ metadata.gz: 84a82c25b2862f5c1c9c32ea3d0ac4e3865b0a5cd8d39cf6474980cb16fd6934
4
+ data.tar.gz: 50b1bd508a5e4c8f16f6a97c67abe0157cf75ab2bf1ba6e86a8a371057db71d3
5
5
  SHA512:
6
- metadata.gz: 8389dce7eb366abf5825817f1c2d752f93d059277f037274c3b0f7fb9718c35f5ccfb9a9da7f0ab6a935273cbb3582382efc599dc0ced11e65a489b81e5782a8
7
- data.tar.gz: ddba1e6121b8353e1d10d291a269e5cde4b076d2227372fc0ac2981d70f82fbaacaf62777251cfa62a383e007f8546f3a0ded4e58b4ed7282a82ce02c2a982a7
6
+ metadata.gz: 1a9accfbbe5acde823d3ca00833c5263702c60f66e7b99c48cdd87d6c9c14ba06679204fd76998097c13363f57799e685cf42840c20cc59a52ad157821cb7cd1
7
+ data.tar.gz: ec66f0e2efa44fb3934d4ce1b1efadff43c7e5a3cf68b11c2b1778a2023e783152da18e6e297f99b9d6d81e726dc6042c69a770610e0032286dad84c57edd15d
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.215
1
+ 1.0.216
data/docs/site.md CHANGED
@@ -43,6 +43,7 @@
43
43
  "disable_notifications": true,
44
44
  "disable_password_reset": true,
45
45
  "domain": "my-custom-domain.com",
46
+ "domain_hsts_header": true,
46
47
  "email": "john.doe@files.com",
47
48
  "ftp_enabled": true,
48
49
  "reply_to_email": "jane.doe@files.com",
@@ -256,6 +257,7 @@
256
257
  * `disable_notifications` (boolean): Are notifications disabled?
257
258
  * `disable_password_reset` (boolean): Is password reset disabled?
258
259
  * `domain` (string): Custom domain
260
+ * `domain_hsts_header` (boolean): Send HSTS (HTTP Strict Transport Security) header when visitors access the site via a custom domain?
259
261
  * `email` (email): Main email for this site
260
262
  * `ftp_enabled` (boolean): Is FTP enabled?
261
263
  * `reply_to_email` (email): Reply-to email for this site
@@ -373,6 +375,7 @@ Files::Site.update(
373
375
  name: "My Site",
374
376
  subdomain: "mysite",
375
377
  domain: "my-custom-domain.com",
378
+ domain_hsts_header: true,
376
379
  email: "john.doe@files.com",
377
380
  reply_to_email: "jane.doe@files.com",
378
381
  allow_bundle_names: true,
@@ -475,6 +478,7 @@ Files::Site.update(
475
478
  * `name` (string): Site name
476
479
  * `subdomain` (string): Site subdomain
477
480
  * `domain` (string): Custom domain
481
+ * `domain_hsts_header` (boolean): Send HSTS (HTTP Strict Transport Security) header when visitors access the site via a custom domain?
478
482
  * `email` (string): Main email for this site
479
483
  * `reply_to_email` (string): Reply-to email for this site
480
484
  * `allow_bundle_names` (boolean): Are manual Bundle names allowed?
@@ -189,6 +189,11 @@ module Files
189
189
  @attributes[:domain]
190
190
  end
191
191
 
192
+ # boolean - Send HSTS (HTTP Strict Transport Security) header when visitors access the site via a custom domain?
193
+ def domain_hsts_header
194
+ @attributes[:domain_hsts_header]
195
+ end
196
+
192
197
  # email - Main email for this site
193
198
  def email
194
199
  @attributes[:email]
@@ -643,6 +648,7 @@ module Files
643
648
  # name - string - Site name
644
649
  # subdomain - string - Site subdomain
645
650
  # domain - string - Custom domain
651
+ # domain_hsts_header - boolean - Send HSTS (HTTP Strict Transport Security) header when visitors access the site via a custom domain?
646
652
  # email - string - Main email for this site
647
653
  # reply_to_email - string - Reply-to email for this site
648
654
  # allow_bundle_names - boolean - Are manual Bundle names allowed?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.215
4
+ version: 1.0.216
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com