files.com 1.1.586 → 1.1.588

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: 7381871a12348fc7bc7c94188042ec8de9229d5738feabd920e45609b09f9177
4
- data.tar.gz: 054a63d35f2e9ef3e577b7d0ee34b1d1cdf897a124c5dbe9cce484381f3ba57a
3
+ metadata.gz: 81eea7551d3bfef17ea604ce002190979b9e338c0747d2efb9984f6a66df7a48
4
+ data.tar.gz: 6f2bd73b215b693c698e3b22a604d42810834ea8f486d30c04f5f583a431a735
5
5
  SHA512:
6
- metadata.gz: 9f6fc64d2b72989574c192e74976bd3432ffc3d21b911d73d4061a0926a7ba2c16fc7ec35adbb8acae831d0d578b2eae134156f1788e11d18459d9f4ef05b216
7
- data.tar.gz: f5eabdd14a03394c0ea5955e14a7d85a0fb5fd1b63e4ba4ac173ade4e56cbb7e3225e08936f81a734220a54343657b8c292448730809d2425d4e7295e346fff2
6
+ metadata.gz: 9dfcb4da18bbb2b9f7b36b40ca1e8d4abe25d7c0b3f21742c99763a03bfd8a83669ab8602f2577662c20cdd80a6a80f70e7abed8b944729380700939efb8a1c0
7
+ data.tar.gz: 58343a84d0a72610a9384bf8fc9dba57e7c9e7770fc26798a0b2e294a52396196033456d4b44bcb3f55b10edc3bd0d9513233c4a44d6bcff4f568f00730ee53f
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.586
1
+ 1.1.588
@@ -19,7 +19,7 @@
19
19
  "type": "invoice",
20
20
  "service_end_at": "2000-01-01T01:00:00Z",
21
21
  "service_start_at": "2000-01-01T01:00:00Z",
22
- "plan": "Premier",
22
+ "plan": "Enterprise",
23
23
  "site": "My site",
24
24
  "prepaid_bytes": 1,
25
25
  "prepaid_bytes_expire_at": "2000-01-01T01:00:00Z",
data/docs/file.md CHANGED
@@ -95,6 +95,7 @@ may places where a Ruby File object can be used.
95
95
  * `parts` (int64): How many parts to fetch?
96
96
  * `ref` (string):
97
97
  * `restart` (int64): File byte offset to restart from.
98
+ * `copy_behaviors` (boolean): If copying a folder, also copy supported behaviors to the destination folder tree?
98
99
  * `structure` (string): If copying folder, copy just the structure?
99
100
  * `with_rename` (boolean): Allow file rename instead of overwrite?
100
101
  * `buffered_upload` (boolean): If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
@@ -133,6 +134,7 @@ Files::File.create(path,
133
134
  provided_mtime: "2000-01-01T01:00:00Z",
134
135
  restart: 1,
135
136
  size: 1,
137
+ copy_behaviors: false,
136
138
  with_rename: false,
137
139
  buffered_upload: false
138
140
  )
@@ -152,6 +154,7 @@ Files::File.create(path,
152
154
  * `ref` (string):
153
155
  * `restart` (int64): File byte offset to restart from.
154
156
  * `size` (int64): Size of file.
157
+ * `copy_behaviors` (boolean): If copying a folder, also copy supported behaviors to the destination folder tree?
155
158
  * `structure` (string): If copying folder, copy just the structure?
156
159
  * `with_rename` (boolean): Allow file rename instead of overwrite?
157
160
  * `buffered_upload` (boolean): If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
@@ -232,6 +235,7 @@ Files::File.zip_list_contents(path)
232
235
  ```
233
236
  Files::File.copy(path,
234
237
  destination: "destination",
238
+ copy_behaviors: false,
235
239
  structure: false,
236
240
  overwrite: false
237
241
  )
@@ -241,6 +245,7 @@ Files::File.copy(path,
241
245
 
242
246
  * `path` (string): Required - Path to operate on.
243
247
  * `destination` (string): Required - Copy destination path.
248
+ * `copy_behaviors` (boolean): If copying a folder, also copy supported behaviors to the destination folder tree?
244
249
  * `structure` (boolean): Copy structure only?
245
250
  * `overwrite` (boolean): Overwrite existing file(s) in the destination?
246
251
 
@@ -415,6 +420,7 @@ file = Files::File.find(path)
415
420
 
416
421
  file.copy(
417
422
  destination: "destination",
423
+ copy_behaviors: false,
418
424
  structure: false,
419
425
  overwrite: false
420
426
  )
@@ -424,6 +430,7 @@ file.copy(
424
430
 
425
431
  * `path` (string): Required - Path to operate on.
426
432
  * `destination` (string): Required - Copy destination path.
433
+ * `copy_behaviors` (boolean): If copying a folder, also copy supported behaviors to the destination folder tree?
427
434
  * `structure` (boolean): Copy structure only?
428
435
  * `overwrite` (boolean): Overwrite existing file(s) in the destination?
429
436
 
data/docs/invoice.md CHANGED
@@ -19,7 +19,7 @@
19
19
  "type": "invoice",
20
20
  "service_end_at": "2000-01-01T01:00:00Z",
21
21
  "service_start_at": "2000-01-01T01:00:00Z",
22
- "plan": "Premier",
22
+ "plan": "Enterprise",
23
23
  "site": "My site",
24
24
  "prepaid_bytes": 1,
25
25
  "prepaid_bytes_expire_at": "2000-01-01T01:00:00Z",
@@ -11,7 +11,7 @@
11
11
  "type": "invoice",
12
12
  "service_end_at": "2000-01-01T01:00:00Z",
13
13
  "service_start_at": "2000-01-01T01:00:00Z",
14
- "plan": "Premier",
14
+ "plan": "Enterprise",
15
15
  "site": "My site",
16
16
  "prepaid_bytes": 1,
17
17
  "prepaid_bytes_expire_at": "2000-01-01T01:00:00Z",
data/docs/payment.md CHANGED
@@ -19,7 +19,7 @@
19
19
  "type": "invoice",
20
20
  "service_end_at": "2000-01-01T01:00:00Z",
21
21
  "service_start_at": "2000-01-01T01:00:00Z",
22
- "plan": "Premier",
22
+ "plan": "Enterprise",
23
23
  "site": "My site",
24
24
  "prepaid_bytes": 1,
25
25
  "prepaid_bytes_expire_at": "2000-01-01T01:00:00Z",
@@ -940,6 +940,15 @@ module Files
940
940
  @attributes[:restart] = value
941
941
  end
942
942
 
943
+ # boolean - If copying a folder, also copy supported behaviors to the destination folder tree?
944
+ def copy_behaviors
945
+ @attributes[:copy_behaviors]
946
+ end
947
+
948
+ def copy_behaviors=(value)
949
+ @attributes[:copy_behaviors] = value
950
+ end
951
+
943
952
  # string - If copying folder, copy just the structure?
944
953
  def structure
945
954
  @attributes[:structure]
@@ -1034,6 +1043,7 @@ module Files
1034
1043
  #
1035
1044
  # Parameters:
1036
1045
  # destination (required) - string - Copy destination path.
1046
+ # copy_behaviors - boolean - If copying a folder, also copy supported behaviors to the destination folder tree?
1037
1047
  # structure - boolean - Copy structure only?
1038
1048
  # overwrite - boolean - Overwrite existing file(s) in the destination?
1039
1049
  def copy(params = {})
@@ -1147,6 +1157,7 @@ module Files
1147
1157
  # ref - string -
1148
1158
  # restart - int64 - File byte offset to restart from.
1149
1159
  # size - int64 - Size of file.
1160
+ # copy_behaviors - boolean - If copying a folder, also copy supported behaviors to the destination folder tree?
1150
1161
  # structure - string - If copying folder, copy just the structure?
1151
1162
  # with_rename - boolean - Allow file rename instead of overwrite?
1152
1163
  # buffered_upload - boolean - If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
@@ -1240,6 +1251,7 @@ module Files
1240
1251
  #
1241
1252
  # Parameters:
1242
1253
  # destination (required) - string - Copy destination path.
1254
+ # copy_behaviors - boolean - If copying a folder, also copy supported behaviors to the destination folder tree?
1243
1255
  # structure - boolean - Copy structure only?
1244
1256
  # overwrite - boolean - Overwrite existing file(s) in the destination?
1245
1257
  def self.copy(path, params = {}, options = {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.586"
4
+ VERSION = "1.1.588"
5
5
  end
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.1.586
4
+ version: 1.1.588
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-24 00:00:00.000000000 Z
11
+ date: 2026-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable