files.com 1.1.26 → 1.1.28
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/README.md +4 -2
- data/_VERSION +1 -1
- data/docs/external_event.md +4 -0
- data/lib/files.com/models/external_event.rb +18 -0
- data/lib/files.com/version.rb +1 -1
- 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: b98f6f6fa29b392301e7d88a2d12a53c9b05ab01124aba884b3660b68e5f3f36
|
4
|
+
data.tar.gz: b1c4f06fbb48981c2539a7ae43cbf8635635f5b2582ffb27d1e91163943d0b11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff375570ee4332b6e4fe1acfd256142b22fc987becd88fa7c16bd29a5ba5c7f66e1869f980d36d6b96cf2a49216399ee77f80ea53d640e57e7f3679a33a766cd
|
7
|
+
data.tar.gz: ebb34684d801a1e9ed86fce7a2d139077e775fdb059aa2bacde1fc5942ea7bc4aa2953f1cc03c4c1c565f00d15ff5f585e0cb96ee9a8101edcb5346ff0134171
|
data/README.md
CHANGED
@@ -16,7 +16,9 @@ Or add this to your app's Gemfile:
|
|
16
16
|
|
17
17
|
### Requirements
|
18
18
|
|
19
|
-
* Ruby
|
19
|
+
* Ruby 3+
|
20
|
+
|
21
|
+
Ruby 2.x is now considered end-of-life by the Ruby project. As a policy, Files.com does not support integrations which are considered end-of-life by their vendor.
|
20
22
|
|
21
23
|
|
22
24
|
## Usage
|
@@ -25,6 +27,7 @@ Or add this to your app's Gemfile:
|
|
25
27
|
|
26
28
|
There are multiple ways to authenticate to the API.
|
27
29
|
|
30
|
+
|
28
31
|
#### Global API Key
|
29
32
|
|
30
33
|
You can set an API key globally, like this:
|
@@ -121,4 +124,3 @@ The Files.com team is happy to help with any SDK Integration challenges you
|
|
121
124
|
may face.
|
122
125
|
|
123
126
|
Just email support@files.com and we'll get the process started.
|
124
|
-
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.28
|
data/docs/external_event.md
CHANGED
@@ -14,6 +14,8 @@
|
|
14
14
|
"successful_files": 1,
|
15
15
|
"errored_files": 1,
|
16
16
|
"bytes_synced": 1,
|
17
|
+
"compared_files": 1,
|
18
|
+
"compared_folders": 1,
|
17
19
|
"remote_server_type": "example"
|
18
20
|
}
|
19
21
|
```
|
@@ -28,6 +30,8 @@
|
|
28
30
|
* `successful_files` (int64): For sync events, the number of files handled successfully.
|
29
31
|
* `errored_files` (int64): For sync events, the number of files that encountered errors.
|
30
32
|
* `bytes_synced` (int64): For sync events, the total number of bytes synced.
|
33
|
+
* `compared_files` (int64): For sync events, the number of files considered for the sync.
|
34
|
+
* `compared_folders` (int64): For sync events, the number of folders listed and considered for the sync.
|
31
35
|
* `remote_server_type` (string): Associated Remote Server type, if any
|
32
36
|
|
33
37
|
|
@@ -95,6 +95,24 @@ module Files
|
|
95
95
|
@attributes[:bytes_synced] = value
|
96
96
|
end
|
97
97
|
|
98
|
+
# int64 - For sync events, the number of files considered for the sync.
|
99
|
+
def compared_files
|
100
|
+
@attributes[:compared_files]
|
101
|
+
end
|
102
|
+
|
103
|
+
def compared_files=(value)
|
104
|
+
@attributes[:compared_files] = value
|
105
|
+
end
|
106
|
+
|
107
|
+
# int64 - For sync events, the number of folders listed and considered for the sync.
|
108
|
+
def compared_folders
|
109
|
+
@attributes[:compared_folders]
|
110
|
+
end
|
111
|
+
|
112
|
+
def compared_folders=(value)
|
113
|
+
@attributes[:compared_folders] = value
|
114
|
+
end
|
115
|
+
|
98
116
|
# string - Associated Remote Server type, if any
|
99
117
|
def remote_server_type
|
100
118
|
@attributes[:remote_server_type]
|
data/lib/files.com/version.rb
CHANGED
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.
|
4
|
+
version: 1.1.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|