comet_backup_ruby_sdk 2.19.0 → 2.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +105 -96
- data/Gemfile.lock +1 -1
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/definitions.rb +5 -2
- data/lib/comet/models/device_config.rb +12 -0
- data/lib/comet/models/psaconfig.rb +3 -2
- 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: 7d8c07d46e4a2fb423b1f77fd35e8237132ce054d8b97c2e1f0acab7af854d0f
|
4
|
+
data.tar.gz: 3d5cf21fe5b7a27720b5fb17bb8c73e32ce507fdbac7cd6575fc579cc19883df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d78f0f46672e317f6e95ea565b11bb9a0bfb3eb9869ea62282a8c6e2c5059efe7048e21abdde349fcdd7a23e5f01f96aae21537dc2b653000c6525aeac377257
|
7
|
+
data.tar.gz: f65307deef1d284a94751d5cce043ad755b2ccb2a5c5ca1dd9c3d20f3f2c111dadc60ce383b52bc889a447a4849460280b170fbc206ad070ebb1e68ec1d320fa
|
data/CHANGELOG.md
CHANGED
@@ -1,98 +1,107 @@
|
|
1
|
-
# CHANGELOG
|
2
|
-
|
3
|
-
## 2023-11-
|
4
|
-
|
5
|
-
- Based on Comet 23.9.
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
-
|
11
|
-
|
12
|
-
## 2023-
|
13
|
-
|
14
|
-
- Based on Comet 23.9.
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
-
|
20
|
-
|
21
|
-
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
-
|
27
|
-
|
28
|
-
-
|
29
|
-
-
|
30
|
-
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
-
|
40
|
-
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
-
|
50
|
-
|
51
|
-
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
-
|
57
|
-
|
58
|
-
-
|
59
|
-
- Support new
|
60
|
-
- Support
|
61
|
-
-
|
62
|
-
|
63
|
-
## 2023-
|
64
|
-
|
65
|
-
- Based on Comet 23.5
|
66
|
-
-
|
67
|
-
-
|
68
|
-
-
|
69
|
-
-
|
70
|
-
- Add
|
71
|
-
|
72
|
-
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
- Add
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
-
|
84
|
-
|
85
|
-
-
|
86
|
-
-
|
87
|
-
-
|
88
|
-
|
89
|
-
## 2023-
|
90
|
-
|
91
|
-
- Based on Comet 23.3.
|
92
|
-
- Support
|
93
|
-
- Support
|
94
|
-
- Support
|
95
|
-
|
1
|
+
# CHANGELOG
|
2
|
+
|
3
|
+
## 2023-11-06 v2.20.0
|
4
|
+
|
5
|
+
- Based on Comet 23.9.9
|
6
|
+
- Add Syncro support
|
7
|
+
|
8
|
+
## 2023-11-03 v2.20.0
|
9
|
+
|
10
|
+
- (This release is identical to the v2.19.0 release version.)
|
11
|
+
|
12
|
+
## 2023-11-03 v2.19.0
|
13
|
+
|
14
|
+
- Based on Comet 23.9.8
|
15
|
+
|
16
|
+
## 2023-10-25 v2.18.0
|
17
|
+
|
18
|
+
- Based on Comet 23.9.7
|
19
|
+
- Add VMware support
|
20
|
+
|
21
|
+
## 2023-10-18 v2.16.0
|
22
|
+
|
23
|
+
- Based on Comet 23.9.6
|
24
|
+
- Added Comet Storage Remote Server Type
|
25
|
+
|
26
|
+
## 2023-10-12 v2.15.0
|
27
|
+
|
28
|
+
- Based on Comet 23.9.5
|
29
|
+
- Add new field `LogLevel` to control job log verbosity
|
30
|
+
- Add new `RESTORETYPE_WINDISK_ESXI` for restoring to VMware-compatible
|
31
|
+
virtual disks
|
32
|
+
|
33
|
+
## 2023-09-19 v2.14.0
|
34
|
+
|
35
|
+
- Based on Comet 23.9.2
|
36
|
+
- 'UseObjectLock' for S3 compatible storage settings deprecated. Replaced by 'ObjectLockMode'
|
37
|
+
- New Streamable event SEVT_DEVICE_LOBBY_CONNECT and SEVT_DEVICE_LOBBY_DISCONNECT
|
38
|
+
- Added 'TOTPCode' to 'InstallCreds' used for device registration.
|
39
|
+
- 'GroupedBy' added to 'PSAConfig' for grouping statistics.
|
40
|
+
- New APIs
|
41
|
+
- AdminInstallationDispatchDropConnection
|
42
|
+
- AdminInstallationDispatchRegisterDevice
|
43
|
+
- AdminInstallationListActive
|
44
|
+
- AdminJobAbandon
|
45
|
+
|
46
|
+
## 2023-08-29 v2.13.0
|
47
|
+
|
48
|
+
- Based on Comet 23.8.0
|
49
|
+
- Improve documentation of JobStatus constants
|
50
|
+
|
51
|
+
## 2023-08-09 v2.12.0
|
52
|
+
|
53
|
+
- Based on Comet 23.6.9
|
54
|
+
- Added WebDAV `DestinationLocation`
|
55
|
+
|
56
|
+
## 2023-08-02 v2.11.0
|
57
|
+
|
58
|
+
- Based on Comet 23.6.9
|
59
|
+
- Support new API endpoints for managing external admin authentication sources
|
60
|
+
- Support Object Lock policy option
|
61
|
+
- Update docstrings for various types and fields
|
62
|
+
|
63
|
+
## 2023-07-11 v2.10.0
|
64
|
+
|
65
|
+
- Based on Comet 23.6.5
|
66
|
+
- Support `DeviceConfig->ClientVersion`
|
67
|
+
- Support new `OSInfo` and `RestoreJobAdvancedOptions` fields
|
68
|
+
- Support new `SourceConfig` fields for tracking policy-enforced Protected Items
|
69
|
+
- Support new optional parameters in `AdminDispatcherRunRestoreCustom` API
|
70
|
+
- Add many more documentation comments, including behaviour of base64 byte arrays
|
71
|
+
|
72
|
+
## 2023-06-01 v2.9.0
|
73
|
+
|
74
|
+
- Based on Comet 23.5.0
|
75
|
+
- Add new `StreamableEventType` constants (`SEVT_*`) used for tracking Comet Server config changes
|
76
|
+
- Add new `StreamerType` constants (`STREAMER_TYPE_*`)
|
77
|
+
- Add new `FileOptions` type for configuring the Comet Server to log live events to a file
|
78
|
+
- Add new field `AuditFileOptions` to the `Organization` type for configuring per-tenant audit log options
|
79
|
+
- Add `Actor` (authenticated user), `ResourceID`, `Timestamp` and `TypeString` fields to the `StreamableEvent` type
|
80
|
+
- Deprecate the `UserProfileFragment` type
|
81
|
+
- Add extra comments to many types
|
82
|
+
|
83
|
+
## 2023-05-05 v2.8.0
|
84
|
+
|
85
|
+
- Based on Comet 23.3.7
|
86
|
+
- No functional changes
|
87
|
+
- Add significantly many more comments to constants, fields and types
|
88
|
+
|
89
|
+
## 2023-04-24 v2.7.0
|
90
|
+
|
91
|
+
- Based on Comet 23.3.5
|
92
|
+
- Support new `AdminDispatcherSearchSnapshots` API to remotely search for files in a Storage Vault
|
93
|
+
- Support new `AdminMetaRemoteStorageVaultTest` API to test connections for a Storage Template
|
94
|
+
- Support new `AccentColor` and `BrandingStyleType` branding options for the Comet Server web interface
|
95
|
+
- New Self-Backup option to include server logs
|
96
|
+
- Track creation and modification timestamps for `GroupPolicy` objects
|
97
|
+
|
98
|
+
## 2023-03-23 v2.6.0
|
99
|
+
|
100
|
+
- Based on Comet 23.3.1
|
101
|
+
- Support filter parameters on `AdminGetJobLogEntries`
|
102
|
+
- Support S3 Object Lock
|
103
|
+
- Support Azure Key Vault codesigning
|
104
|
+
|
96
105
|
## 2023-02-15 v2.5.0
|
97
106
|
- Based on 22.12.8
|
98
107
|
- Add `TimeSpan` option to `EmailReportOptions`
|
@@ -200,7 +209,7 @@ virtual disks
|
|
200
209
|
|
201
210
|
## 2021-09-08 v1.7.0
|
202
211
|
- Based on Comet 21.9.1
|
203
|
-
- Support new `device_timezone` field on the `DeviceConfig` class.
|
212
|
+
- Support new `device_timezone` field on the `DeviceConfig` class.
|
204
213
|
- Add `admin_dispatcher_ping_destination` api method
|
205
214
|
- Add support for new retention range type constants: `RETENTIONRANGE_LAST_X_BACKUPS_ONE_FOR_EACH_DAY`
|
206
215
|
- Add support for new retention range type constants: `RETENTIONRANGE_LAST_X_BACKUPS_ONE_FOR_EACH_WEEK`
|
data/Gemfile.lock
CHANGED
@@ -12,7 +12,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
12
12
|
|
13
13
|
Gem::Specification.new do |spec|
|
14
14
|
spec.name = 'comet_backup_ruby_sdk'
|
15
|
-
spec.version = '2.
|
15
|
+
spec.version = '2.21.0'
|
16
16
|
spec.authors = ['Comet Licensing Ltd.']
|
17
17
|
spec.email = ['hello@cometbackup.com']
|
18
18
|
|
data/lib/comet/definitions.rb
CHANGED
@@ -7,13 +7,13 @@
|
|
7
7
|
|
8
8
|
module Comet
|
9
9
|
|
10
|
-
APPLICATION_VERSION = '23.9.
|
10
|
+
APPLICATION_VERSION = '23.9.9'
|
11
11
|
|
12
12
|
APPLICATION_VERSION_MAJOR = 23
|
13
13
|
|
14
14
|
APPLICATION_VERSION_MINOR = 9
|
15
15
|
|
16
|
-
APPLICATION_VERSION_REVISION =
|
16
|
+
APPLICATION_VERSION_REVISION = 9
|
17
17
|
|
18
18
|
# AutoRetentionLevel: The system will automatically choose how often to run an automatic Retention Pass after each backup job.
|
19
19
|
BACKUPJOBAUTORETENTION_AUTOMATIC = 0
|
@@ -427,6 +427,9 @@ module Comet
|
|
427
427
|
# PSAType
|
428
428
|
PSA_TYPE_GRADIENT = 1
|
429
429
|
|
430
|
+
# PSAType
|
431
|
+
PSA_TYPE_SYNCRO = 2
|
432
|
+
|
430
433
|
RELEASE_CODENAME = 'Voyager'
|
431
434
|
|
432
435
|
# RemoteServerType
|
@@ -36,6 +36,10 @@ module Comet
|
|
36
36
|
# @type [String] client_version
|
37
37
|
attr_accessor :client_version
|
38
38
|
|
39
|
+
# This field is available in Comet 23.9.8 and later.
|
40
|
+
# @type [String] syncro_uuid
|
41
|
+
attr_accessor :syncro_uuid
|
42
|
+
|
39
43
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
40
44
|
attr_accessor :unknown_json_fields
|
41
45
|
|
@@ -50,6 +54,7 @@ module Comet
|
|
50
54
|
@sources = {}
|
51
55
|
@device_timezone = ''
|
52
56
|
@client_version = ''
|
57
|
+
@syncro_uuid = ''
|
53
58
|
@unknown_json_fields = {}
|
54
59
|
end
|
55
60
|
|
@@ -95,6 +100,10 @@ module Comet
|
|
95
100
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
96
101
|
|
97
102
|
@client_version = v
|
103
|
+
when 'SyncroUUID'
|
104
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
105
|
+
|
106
|
+
@syncro_uuid = v
|
98
107
|
else
|
99
108
|
@unknown_json_fields[k] = v
|
100
109
|
end
|
@@ -120,6 +129,9 @@ module Comet
|
|
120
129
|
unless @client_version.nil?
|
121
130
|
ret['ClientVersion'] = @client_version
|
122
131
|
end
|
132
|
+
unless @syncro_uuid.nil?
|
133
|
+
ret['SyncroUUID'] = @syncro_uuid
|
134
|
+
end
|
123
135
|
@unknown_json_fields.each do |k, v|
|
124
136
|
ret[k] = v
|
125
137
|
end
|
@@ -16,10 +16,11 @@ module Comet
|
|
16
16
|
# @type [Boolean] alerts_disabled
|
17
17
|
attr_accessor :alerts_disabled
|
18
18
|
|
19
|
+
# Custom headers to send with each PSA request
|
19
20
|
# @type [Hash{String => String}] custom_headers
|
20
21
|
attr_accessor :custom_headers
|
21
22
|
|
22
|
-
# Specified
|
23
|
+
# Specified API key for the target PSA
|
23
24
|
# @type [String] partner_key
|
24
25
|
attr_accessor :partner_key
|
25
26
|
|
@@ -27,7 +28,7 @@ module Comet
|
|
27
28
|
# @type [Number] type
|
28
29
|
attr_accessor :type
|
29
30
|
|
30
|
-
#
|
31
|
+
# The URL or subdomain for outbound PSA requests
|
31
32
|
# @type [String] url
|
32
33
|
attr_accessor :url
|
33
34
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comet_backup_ruby_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Comet Licensing Ltd.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|