files.com 1.0.106 → 1.0.107
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 +4 -4
- data/_VERSION +1 -1
- data/docs/app.md +2 -0
- data/docs/file.md +0 -2
- data/docs/file_part_upload.md +10 -10
- data/docs/folder.md +0 -2
- data/lib/files.com/models/app.rb +5 -0
- data/lib/files.com/models/file.rb +0 -9
- data/lib/files.com/models/file_part_upload.rb +5 -5
- data/lib/files.com/models/folder.rb +0 -9
- 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: 2f22ba094581162f8700aca2d4648dc63fb4aa516387f85f1d5eebf757d669c5
|
4
|
+
data.tar.gz: 2068551573d3f8fd7cab1f27bfe3b837993c2b64e55c7e4b3e3b7c1421525812
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d492fe0ac79d09ed0870b231e90c7291c4b151e09ba29628f2b8906cc8cfe8384e4f0c63528aca6ee658187833331558677e5451474c06fb43d97f707b1fa4d0
|
7
|
+
data.tar.gz: f5b4739a52bc9c6ddef904f074d0931013ba46d10545ca404174eee9078aa2c8c30701257f103a61033e24de614c096ae64f715c19b237e0827c1905d5b3df98
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.107
|
data/docs/app.md
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
"documentation_links": "Important Info => http://files.test/learn-more",
|
10
10
|
"icon_url": "",
|
11
11
|
"logo_url": "",
|
12
|
+
"screenshot_list_urls": "",
|
12
13
|
"logo_thumbnail_url": "",
|
13
14
|
"sso_strategy_type": "",
|
14
15
|
"remote_server_type": "",
|
@@ -24,6 +25,7 @@
|
|
24
25
|
* `documentation_links` (string): Collection of named links to documentation
|
25
26
|
* `icon_url` (string): App icon
|
26
27
|
* `logo_url` (string): Full size logo for the App
|
28
|
+
* `screenshot_list_urls` (string): Screenshots of the App
|
27
29
|
* `logo_thumbnail_url` (string): Logo thumbnail for the App
|
28
30
|
* `sso_strategy_type` (string): Associated SSO Strategy type, if any
|
29
31
|
* `remote_server_type` (string): Associated Remote Server type, if any
|
data/docs/file.md
CHANGED
@@ -7,7 +7,6 @@ may places where a Ruby File object can be used.
|
|
7
7
|
|
8
8
|
```
|
9
9
|
{
|
10
|
-
"id": 1,
|
11
10
|
"path": "path/file.txt",
|
12
11
|
"display_name": "file.txt",
|
13
12
|
"type": "file",
|
@@ -27,7 +26,6 @@ may places where a Ruby File object can be used.
|
|
27
26
|
}
|
28
27
|
```
|
29
28
|
|
30
|
-
* `id` (int64): File/Folder ID
|
31
29
|
* `path` (string): File/Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
32
30
|
* `display_name` (string): File/Folder display name
|
33
31
|
* `type` (string): Type: `directory` or `file`.
|
data/docs/file_part_upload.md
CHANGED
@@ -7,15 +7,15 @@
|
|
7
7
|
"send": "",
|
8
8
|
"action": "upload/direct",
|
9
9
|
"ask_about_overwrites": true,
|
10
|
-
"available_parts":
|
10
|
+
"available_parts": 1,
|
11
11
|
"expires": "",
|
12
12
|
"headers": "",
|
13
13
|
"http_method": "POST",
|
14
|
-
"next_partsize":
|
14
|
+
"next_partsize": 1,
|
15
15
|
"parallel_parts": true,
|
16
|
-
"parameters": "",
|
17
|
-
"part_number":
|
18
|
-
"partsize":
|
16
|
+
"parameters": "{}",
|
17
|
+
"part_number": 1,
|
18
|
+
"partsize": 1,
|
19
19
|
"path": "",
|
20
20
|
"ref": "upload-1",
|
21
21
|
"upload_uri": ""
|
@@ -25,15 +25,15 @@
|
|
25
25
|
* `send` (object): Content-Type and File to send
|
26
26
|
* `action` (string): Type of upload
|
27
27
|
* `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation
|
28
|
-
* `available_parts` (
|
28
|
+
* `available_parts` (int64): Currently unused
|
29
29
|
* `expires` (string): Currently unused
|
30
30
|
* `headers` (object): Additional upload headers
|
31
31
|
* `http_method` (string): Upload method, usually POST
|
32
|
-
* `next_partsize` (
|
32
|
+
* `next_partsize` (int64): Currently unused
|
33
33
|
* `parallel_parts` (boolean): If true, parts may be uploaded in parallel
|
34
|
-
* `parameters` (
|
35
|
-
* `part_number` (
|
36
|
-
* `partsize` (
|
34
|
+
* `parameters` (object): Additional upload parameters
|
35
|
+
* `part_number` (int64): Currently unused
|
36
|
+
* `partsize` (int64): Currently unused
|
37
37
|
* `path` (string): Upload path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
38
38
|
* `ref` (string): Reference name for this upload part
|
39
39
|
* `upload_uri` (string): URI to upload this part to
|
data/docs/folder.md
CHANGED
@@ -9,7 +9,6 @@ Files::Dir is an alias of Files::Folder
|
|
9
9
|
|
10
10
|
```
|
11
11
|
{
|
12
|
-
"id": 1,
|
13
12
|
"path": "path/file.txt",
|
14
13
|
"display_name": "file.txt",
|
15
14
|
"type": "file",
|
@@ -29,7 +28,6 @@ Files::Dir is an alias of Files::Folder
|
|
29
28
|
}
|
30
29
|
```
|
31
30
|
|
32
|
-
* `id` (int64): File/Folder ID
|
33
31
|
* `path` (string): File/Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
34
32
|
* `display_name` (string): File/Folder display name
|
35
33
|
* `type` (string): Type: `directory` or `file`.
|
data/lib/files.com/models/app.rb
CHANGED
@@ -34,6 +34,11 @@ module Files
|
|
34
34
|
@attributes[:logo_url]
|
35
35
|
end
|
36
36
|
|
37
|
+
# string - Screenshots of the App
|
38
|
+
def screenshot_list_urls
|
39
|
+
@attributes[:screenshot_list_urls]
|
40
|
+
end
|
41
|
+
|
37
42
|
# string - Logo thumbnail for the App
|
38
43
|
def logo_thumbnail_url
|
39
44
|
@attributes[:logo_thumbnail_url]
|
@@ -588,15 +588,6 @@ module Files
|
|
588
588
|
@write_io.write_nonblock *args
|
589
589
|
end
|
590
590
|
|
591
|
-
# int64 - File/Folder ID
|
592
|
-
def id
|
593
|
-
@attributes[:id]
|
594
|
-
end
|
595
|
-
|
596
|
-
def id=(value)
|
597
|
-
@attributes[:id] = value
|
598
|
-
end
|
599
|
-
|
600
591
|
# string - File/Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
601
592
|
def path
|
602
593
|
@attributes[:path]
|
@@ -24,7 +24,7 @@ module Files
|
|
24
24
|
@attributes[:ask_about_overwrites]
|
25
25
|
end
|
26
26
|
|
27
|
-
#
|
27
|
+
# int64 - Currently unused
|
28
28
|
def available_parts
|
29
29
|
@attributes[:available_parts]
|
30
30
|
end
|
@@ -44,7 +44,7 @@ module Files
|
|
44
44
|
@attributes[:http_method]
|
45
45
|
end
|
46
46
|
|
47
|
-
#
|
47
|
+
# int64 - Currently unused
|
48
48
|
def next_partsize
|
49
49
|
@attributes[:next_partsize]
|
50
50
|
end
|
@@ -54,17 +54,17 @@ module Files
|
|
54
54
|
@attributes[:parallel_parts]
|
55
55
|
end
|
56
56
|
|
57
|
-
#
|
57
|
+
# object - Additional upload parameters
|
58
58
|
def parameters
|
59
59
|
@attributes[:parameters]
|
60
60
|
end
|
61
61
|
|
62
|
-
#
|
62
|
+
# int64 - Currently unused
|
63
63
|
def part_number
|
64
64
|
@attributes[:part_number]
|
65
65
|
end
|
66
66
|
|
67
|
-
#
|
67
|
+
# int64 - Currently unused
|
68
68
|
def partsize
|
69
69
|
@attributes[:partsize]
|
70
70
|
end
|
@@ -150,15 +150,6 @@ module Files
|
|
150
150
|
path
|
151
151
|
end
|
152
152
|
|
153
|
-
# int64 - File/Folder ID
|
154
|
-
def id
|
155
|
-
@attributes[:id]
|
156
|
-
end
|
157
|
-
|
158
|
-
def id=(value)
|
159
|
-
@attributes[:id] = value
|
160
|
-
end
|
161
|
-
|
162
153
|
# string - File/Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
163
154
|
def path
|
164
155
|
@attributes[:path]
|
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.107
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|