files.com 1.0.258 → 1.0.261

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: 18b92bf956be10d0f011e3f46d887b244e7d649628b1d85c12bb6c8ffe13161e
4
- data.tar.gz: a2f64c8ddaba1dfe7ed9f17a179a3aff9488c89316f99e99f1bd3684509bceb5
3
+ metadata.gz: b1dc3cd0d3d0a6dda0844ff67fee98ba92a627b1455e2921cdc80affc6b573cf
4
+ data.tar.gz: 29483fba0113db59f03ccdbbcd5800342d2c090592915839d8332d4c8689616b
5
5
  SHA512:
6
- metadata.gz: aca29eba58c77d08b2425ae37b9889a8fa9a1fd403d9f076cefd2d07a97ec6d8a61dc9b75dc89ed35e6b211b45d18fea76cdca78e067df60c2f4d77672250f11
7
- data.tar.gz: 9a05a2dba1217a9ef94878f11823c955b1a6494579ccddf455e95ec514f8003654504106d9df849429174d2365cd60ecb82bd6196f318fea808b36420a86dc3e
6
+ metadata.gz: c5264ac1a65a7bb9e0df48486cff95b2fa7beac51299f7a100328c5a9240f4c0c320e3b0d68116dbd3cf56102fd3b1896623105b5ad15d2b20cd0193e3453c52
7
+ data.tar.gz: 125af09d7850f5bb1300e1e4d97d7ca5c8e8ca9ec8e125d8f671ae621d7b91f6b40724af8938b7e59a5498dda48e8f3c3420426583a91b38ba11232307ae8414
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.258
1
+ 1.0.261
@@ -18,6 +18,7 @@
18
18
  "as2_from": "",
19
19
  "message_id": "",
20
20
  "subject": "",
21
+ "date": "",
21
22
  "body_size": "",
22
23
  "attachment_filename": "",
23
24
  "ip": "",
@@ -54,6 +55,7 @@
54
55
  * `as2_from` (string): AS2 FROM header of message
55
56
  * `message_id` (string): AS2 Message Id
56
57
  * `subject` (string): AS2 Subject Header
58
+ * `date` (string): Date Header
57
59
  * `body_size` (string): Encrypted Payload Body Size
58
60
  * `attachment_filename` (string): Filename of the file being received.
59
61
  * `ip` (string): IP Address of the Sender
@@ -15,6 +15,7 @@
15
15
  "mic_sha_256": "",
16
16
  "as2_to": "",
17
17
  "as2_from": "",
18
+ "date": "",
18
19
  "message_id": "",
19
20
  "body_size": "",
20
21
  "attachment_filename": "",
@@ -46,6 +47,7 @@
46
47
  * `mic_sha_256` (string): AS2 Message Integrity Check SHA256
47
48
  * `as2_to` (string): AS2 TO
48
49
  * `as2_from` (string): AS2 FROM
50
+ * `date` (string): Date Header
49
51
  * `message_id` (string): AS2 Message Id
50
52
  * `body_size` (string): Encrypted Payload Body Size
51
53
  * `attachment_filename` (string): Filename of the file being sent.
data/docs/folder.md CHANGED
@@ -50,6 +50,7 @@ Files::Dir is an alias of Files::Folder
50
50
  * `priority_color` (string): Bookmark/priority color of file/folder
51
51
  * `preview_id` (int64): File preview ID
52
52
  * `preview` (Preview): File preview
53
+ * `mkdir_parents` (boolean): Create parent directories if they do not exist?
53
54
 
54
55
 
55
56
  ---
@@ -83,9 +84,12 @@ Files::Folder.list_for(path,
83
84
  ## Create folder
84
85
 
85
86
  ```
86
- Files::Folder.create(path)
87
+ Files::Folder.create(path,
88
+ mkdir_parents: true
89
+ )
87
90
  ```
88
91
 
89
92
  ### Parameters
90
93
 
91
94
  * `path` (string): Required - Path to operate on.
95
+ * `mkdir_parents` (boolean): Create parent directories if they do not exist?
data/docs/site.md CHANGED
@@ -217,6 +217,7 @@
217
217
  "user_requests_enabled": true,
218
218
  "welcome_custom_text": "Welcome to my site!",
219
219
  "welcome_email_cc": "",
220
+ "welcome_email_subject": "",
220
221
  "welcome_email_enabled": true,
221
222
  "welcome_screen": "user_controlled",
222
223
  "windows_mode_ftp": true,
@@ -347,6 +348,7 @@
347
348
  * `user_requests_enabled` (boolean): Enable User Requests feature
348
349
  * `welcome_custom_text` (string): Custom text send in user welcome email
349
350
  * `welcome_email_cc` (email): Include this email in welcome emails if enabled
351
+ * `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
350
352
  * `welcome_email_enabled` (boolean): Will the welcome email be sent to new users?
351
353
  * `welcome_screen` (string): Does the welcome screen appear?
352
354
  * `windows_mode_ftp` (boolean): Does FTP user Windows emulation mode?
@@ -495,6 +497,7 @@ Files::Site.update(
495
497
  * `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
496
498
  * `show_request_access_link` (boolean): Show request access link for users without access? Currently unused.
497
499
  * `welcome_email_cc` (string): Include this email in welcome emails if enabled
500
+ * `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
498
501
  * `welcome_custom_text` (string): Custom text send in user welcome email
499
502
  * `language` (string): Site default language
500
503
  * `windows_mode_ftp` (boolean): Does FTP user Windows emulation mode?
@@ -79,6 +79,11 @@ module Files
79
79
  @attributes[:subject]
80
80
  end
81
81
 
82
+ # string - Date Header
83
+ def date
84
+ @attributes[:date]
85
+ end
86
+
82
87
  # string - Encrypted Payload Body Size
83
88
  def body_size
84
89
  @attributes[:body_size]
@@ -64,6 +64,11 @@ module Files
64
64
  @attributes[:as2_from]
65
65
  end
66
66
 
67
+ # string - Date Header
68
+ def date
69
+ @attributes[:date]
70
+ end
71
+
67
72
  # string - AS2 Message Id
68
73
  def message_id
69
74
  @attributes[:message_id]
@@ -294,6 +294,15 @@ module Files
294
294
  @attributes[:preview] = value
295
295
  end
296
296
 
297
+ # boolean - Create parent directories if they do not exist?
298
+ def mkdir_parents
299
+ @attributes[:mkdir_parents]
300
+ end
301
+
302
+ def mkdir_parents=(value)
303
+ @attributes[:mkdir_parents] = value
304
+ end
305
+
297
306
  def save
298
307
  new_obj = Folder.create(path, @attributes, @options)
299
308
  @attributes = new_obj.attributes
@@ -327,6 +336,7 @@ module Files
327
336
 
328
337
  # Parameters:
329
338
  # path (required) - string - Path to operate on.
339
+ # mkdir_parents - boolean - Create parent directories if they do not exist?
330
340
  def self.create(path, params = {}, options = {})
331
341
  params ||= {}
332
342
  params[:path] = path
@@ -624,6 +624,11 @@ module Files
624
624
  @attributes[:welcome_email_cc]
625
625
  end
626
626
 
627
+ # string - Include this email subject in welcome emails if enabled
628
+ def welcome_email_subject
629
+ @attributes[:welcome_email_subject]
630
+ end
631
+
627
632
  # boolean - Will the welcome email be sent to new users?
628
633
  def welcome_email_enabled
629
634
  @attributes[:welcome_email_enabled]
@@ -669,6 +674,7 @@ module Files
669
674
  # ask_about_overwrites - boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
670
675
  # show_request_access_link - boolean - Show request access link for users without access? Currently unused.
671
676
  # welcome_email_cc - string - Include this email in welcome emails if enabled
677
+ # welcome_email_subject - string - Include this email subject in welcome emails if enabled
672
678
  # welcome_custom_text - string - Custom text send in user welcome email
673
679
  # language - string - Site default language
674
680
  # windows_mode_ftp - boolean - Does FTP user Windows emulation mode?
@@ -781,6 +787,7 @@ module Files
781
787
  raise InvalidParameterError.new("Bad parameter: reply_to_email must be an String") if params.dig(:reply_to_email) and !params.dig(:reply_to_email).is_a?(String)
782
788
  raise InvalidParameterError.new("Bad parameter: bundle_expiration must be an Integer") if params.dig(:bundle_expiration) and !params.dig(:bundle_expiration).is_a?(Integer)
783
789
  raise InvalidParameterError.new("Bad parameter: welcome_email_cc must be an String") if params.dig(:welcome_email_cc) and !params.dig(:welcome_email_cc).is_a?(String)
790
+ raise InvalidParameterError.new("Bad parameter: welcome_email_subject must be an String") if params.dig(:welcome_email_subject) and !params.dig(:welcome_email_subject).is_a?(String)
784
791
  raise InvalidParameterError.new("Bad parameter: welcome_custom_text must be an String") if params.dig(:welcome_custom_text) and !params.dig(:welcome_custom_text).is_a?(String)
785
792
  raise InvalidParameterError.new("Bad parameter: language must be an String") if params.dig(:language) and !params.dig(:language).is_a?(String)
786
793
  raise InvalidParameterError.new("Bad parameter: default_time_zone must be an String") if params.dig(:default_time_zone) and !params.dig(:default_time_zone).is_a?(String)
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.258
4
+ version: 1.0.261
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-13 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable