files.com 1.1.26 → 1.1.28

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: 8a2ef9f10fe5b9c65f3212c7ffc69739dbbc9c6c41817ff12cff476b0038fa6d
4
- data.tar.gz: 04b7b3e7dfc256cbc7cc7a5f9a70a42ad52e2163d1000a53a11e6fa4a5bf0783
3
+ metadata.gz: b98f6f6fa29b392301e7d88a2d12a53c9b05ab01124aba884b3660b68e5f3f36
4
+ data.tar.gz: b1c4f06fbb48981c2539a7ae43cbf8635635f5b2582ffb27d1e91163943d0b11
5
5
  SHA512:
6
- metadata.gz: 8c13d4a96595e4aa187f7b6ab44a5ecc5e78f77710b1cb68ba756742f93260f545742bc000cdfc5cffef3f64a138926a02bbd241be92eda01f3987bc94ab9b1d
7
- data.tar.gz: 32a26d42d64b17b1dde573632960ddc4c3abc79218e5d494ed14f8b21b8f6a42323719b1111994b8f26e125edc85546f408a443c9d7564f189f1c04128cac926
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 2.7+
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.26
1
+ 1.1.28
@@ -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]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.26"
4
+ VERSION = "1.1.28"
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.26
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-06 00:00:00.000000000 Z
11
+ date: 2024-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable