comet_backup_ruby_sdk 2.19.0 → 2.21.0

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: 103b142eeecc5087e8b651b804e2c8d28ecf41571cbe98443e3e157b452f07d9
4
- data.tar.gz: 9950a30e2bedff6a7ddc7efba5058020ffc22fceada59c331c2962b54277913c
3
+ metadata.gz: 7d8c07d46e4a2fb423b1f77fd35e8237132ce054d8b97c2e1f0acab7af854d0f
4
+ data.tar.gz: 3d5cf21fe5b7a27720b5fb17bb8c73e32ce507fdbac7cd6575fc579cc19883df
5
5
  SHA512:
6
- metadata.gz: e693472d2669d85b347af9676abe58e9056914a9460010aef703d5420af12922242cd9524630648737684d2d7df6a2ea95e90877fe3d50605b220f4ec7e5ce88
7
- data.tar.gz: 4d6404c091c1c520991146373c5d9ed7da3faf02d38e8565755de6335753332fa1783654d39c52f7b1c674fc9a745f0320ffedd74b71112681a335b3d9f70be0
6
+ metadata.gz: d78f0f46672e317f6e95ea565b11bb9a0bfb3eb9869ea62282a8c6e2c5059efe7048e21abdde349fcdd7a23e5f01f96aae21537dc2b653000c6525aeac377257
7
+ data.tar.gz: f65307deef1d284a94751d5cce043ad755b2ccb2a5c5ca1dd9c3d20f3f2c111dadc60ce383b52bc889a447a4849460280b170fbc206ad070ebb1e68ec1d320fa
data/CHANGELOG.md CHANGED
@@ -1,98 +1,107 @@
1
- # CHANGELOG
2
-
3
- ## 2023-11-03 v2.19.0
4
-
5
- - Based on Comet 23.9.8
6
-
7
- ## 2023-10-25 v2.18.0
8
-
9
- - Based on Comet 23.9.7
10
- - Add VMware support
11
-
12
- ## 2023-10-18 v2.16.0
13
-
14
- - Based on Comet 23.9.6
15
- - Added Comet Storage Remote Server Type
16
-
17
- ## 2023-10-12 v2.15.0
18
-
19
- - Based on Comet 23.9.5
20
- - Add new field `LogLevel` to control job log verbosity
21
- - Add new `RESTORETYPE_WINDISK_ESXI` for restoring to VMware-compatible
22
- virtual disks
23
-
24
- ## 2023-09-19 v2.14.0
25
-
26
- - Based on Comet 23.9.2
27
- - 'UseObjectLock' for S3 compatible storage settings deprecated. Replaced by 'ObjectLockMode'
28
- - New Streamable event SEVT_DEVICE_LOBBY_CONNECT and SEVT_DEVICE_LOBBY_DISCONNECT
29
- - Added 'TOTPCode' to 'InstallCreds' used for device registration.
30
- - 'GroupedBy' added to 'PSAConfig' for grouping statistics.
31
- - New APIs
32
- - AdminInstallationDispatchDropConnection
33
- - AdminInstallationDispatchRegisterDevice
34
- - AdminInstallationListActive
35
- - AdminJobAbandon
36
-
37
- ## 2023-08-29 v2.13.0
38
-
39
- - Based on Comet 23.8.0
40
- - Improve documentation of JobStatus constants
41
-
42
- ## 2023-08-09 v2.12.0
43
-
44
- - Based on Comet 23.6.9
45
- - Added WebDAV `DestinationLocation`
46
-
47
- ## 2023-08-02 v2.11.0
48
-
49
- - Based on Comet 23.6.9
50
- - Support new API endpoints for managing external admin authentication sources
51
- - Support Object Lock policy option
52
- - Update docstrings for various types and fields
53
-
54
- ## 2023-07-11 v2.10.0
55
-
56
- - Based on Comet 23.6.5
57
- - Support `DeviceConfig->ClientVersion`
58
- - Support new `OSInfo` and `RestoreJobAdvancedOptions` fields
59
- - Support new `SourceConfig` fields for tracking policy-enforced Protected Items
60
- - Support new optional parameters in `AdminDispatcherRunRestoreCustom` API
61
- - Add many more documentation comments, including behaviour of base64 byte arrays
62
-
63
- ## 2023-06-01 v2.9.0
64
-
65
- - Based on Comet 23.5.0
66
- - Add new `StreamableEventType` constants (`SEVT_*`) used for tracking Comet Server config changes
67
- - Add new `StreamerType` constants (`STREAMER_TYPE_*`)
68
- - Add new `FileOptions` type for configuring the Comet Server to log live events to a file
69
- - Add new field `AuditFileOptions` to the `Organization` type for configuring per-tenant audit log options
70
- - Add `Actor` (authenticated user), `ResourceID`, `Timestamp` and `TypeString` fields to the `StreamableEvent` type
71
- - Deprecate the `UserProfileFragment` type
72
- - Add extra comments to many types
73
-
74
- ## 2023-05-05 v2.8.0
75
-
76
- - Based on Comet 23.3.7
77
- - No functional changes
78
- - Add significantly many more comments to constants, fields and types
79
-
80
- ## 2023-04-24 v2.7.0
81
-
82
- - Based on Comet 23.3.5
83
- - Support new `AdminDispatcherSearchSnapshots` API to remotely search for files in a Storage Vault
84
- - Support new `AdminMetaRemoteStorageVaultTest` API to test connections for a Storage Template
85
- - Support new `AccentColor` and `BrandingStyleType` branding options for the Comet Server web interface
86
- - New Self-Backup option to include server logs
87
- - Track creation and modification timestamps for `GroupPolicy` objects
88
-
89
- ## 2023-03-23 v2.6.0
90
-
91
- - Based on Comet 23.3.1
92
- - Support filter parameters on `AdminGetJobLogEntries`
93
- - Support S3 Object Lock
94
- - Support Azure Key Vault codesigning
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- comet_backup_ruby_sdk (2.19.0)
4
+ comet_backup_ruby_sdk (2.21.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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.19.0'
15
+ spec.version = '2.21.0'
16
16
  spec.authors = ['Comet Licensing Ltd.']
17
17
  spec.email = ['hello@cometbackup.com']
18
18
 
@@ -7,13 +7,13 @@
7
7
 
8
8
  module Comet
9
9
 
10
- APPLICATION_VERSION = '23.9.8'
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 = 8
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 credentials for the target PSA
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
- # For PSA_TYPE_GENERIC
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.19.0
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-02 00:00:00.000000000 Z
11
+ date: 2023-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler