comet_backup_ruby_sdk 2.38.0 → 2.39.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/comet_server.rb +2 -1
- data/lib/comet/definitions.rb +5 -5
- data/lib/comet/models/branding_options.rb +21 -0
- data/lib/comet/models/branding_properties.rb +21 -0
- data/lib/comet/models/public_branding_properties.rb +21 -0
- data/lib/comet/models/server_meta_branding_properties.rb +25 -0
- 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: c379b7def07b03e07c18a521eef121e41caf0345f93e5eaffdbd1e67b9437050
|
4
|
+
data.tar.gz: f8203be9a7dd67eb5593303c39ea5908faf159bb4fdcecf20a5c862daaebb34d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c17a5c885eec7f4a23c4e48aa4e4d1233533b2d5cf1de66e097f89c051866d919946884979c6bf7347f89c04f21a2142239fd7aba09ef6136634b2fde4a611b4
|
7
|
+
data.tar.gz: 127f864dfd67247b3d6552c154c49c18cd791134abe2871d5a89d63791071de32343bac486faa25bc215ccc9400ed41730078d42d41aed499cf8d03de047190b
|
data/CHANGELOG.md
CHANGED
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.39.0'
|
16
16
|
spec.authors = ['Comet Licensing Ltd.']
|
17
17
|
spec.email = ['hello@cometbackup.com']
|
18
18
|
|
data/lib/comet/comet_server.rb
CHANGED
@@ -163,7 +163,8 @@ module Comet
|
|
163
163
|
# Update settings for your own admin account.
|
164
164
|
# Updating your account password requires you to supply your current password.
|
165
165
|
# To set a new plaintext password, use a password format of 0 (PASSWORD_FORMAT_PLAINTEXT).
|
166
|
-
# This API does not currently allow you to modify your TOTP secret
|
166
|
+
# This API does not currently allow you to modify your TOTP secret.
|
167
|
+
# In Comet 24.12.2 and later, this API can change the IPWhitelist field. Prior to this, changes to the IPWhitelist field were ignored.
|
167
168
|
#
|
168
169
|
# You must supply administrator authentication credentials to use this API.
|
169
170
|
#
|
data/lib/comet/definitions.rb
CHANGED
@@ -7,13 +7,13 @@
|
|
7
7
|
|
8
8
|
module Comet
|
9
9
|
|
10
|
-
APPLICATION_VERSION = '24.12.
|
10
|
+
APPLICATION_VERSION = '24.12.3'
|
11
11
|
|
12
12
|
APPLICATION_VERSION_MAJOR = 24
|
13
13
|
|
14
14
|
APPLICATION_VERSION_MINOR = 12
|
15
15
|
|
16
|
-
APPLICATION_VERSION_REVISION =
|
16
|
+
APPLICATION_VERSION_REVISION = 3
|
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
|
@@ -245,14 +245,14 @@ module Comet
|
|
245
245
|
# FtpsModeType: Use explicit FTPS, first creating an insecure connection and then upgrading to SSL/TLS using AUTH TLS (like STARTTLS).
|
246
246
|
FTPS_MODE_EXPLICIT = 2
|
247
247
|
|
248
|
-
# Back up Hyper-V virtual machines using VSS mode. This includes all previous snapshots.
|
248
|
+
# HypervMethod: Back up Hyper-V virtual machines using VSS mode. This includes all previous snapshots.
|
249
249
|
HYPERV_METHOD_VSS = 'vss'
|
250
250
|
|
251
|
-
# Back up Hyper-V virtual machines using WMI mode. This includes the latest snapshot data only.
|
251
|
+
# HypervMethod: Back up Hyper-V virtual machines using WMI mode. This includes the latest snapshot data only.
|
252
252
|
# This const is available in Comet 23.9.8 and later.
|
253
253
|
HYPERV_METHOD_WMI_COPY = 'copy'
|
254
254
|
|
255
|
-
# Back up Hyper-V virtual machines using WMI mode with RCT acceleration. This includes the latest snapshot data only.
|
255
|
+
# HypervMethod: Back up Hyper-V virtual machines using WMI mode with RCT acceleration. This includes the latest snapshot data only.
|
256
256
|
# This const is available in Comet 23.9.8 and later.
|
257
257
|
HYPERV_METHOD_WMI_CBT = 'wmi'
|
258
258
|
|
@@ -59,6 +59,15 @@ module Comet
|
|
59
59
|
# @type [Boolean] hide_background_logo
|
60
60
|
attr_accessor :hide_background_logo
|
61
61
|
|
62
|
+
# @type [String] cloud_storage_name
|
63
|
+
attr_accessor :cloud_storage_name
|
64
|
+
|
65
|
+
# @type [Boolean] admin_hide_pre_built_client_option
|
66
|
+
attr_accessor :admin_hide_pre_built_client_option
|
67
|
+
|
68
|
+
# @type [Boolean] admin_hide_branded_cloud_storage
|
69
|
+
attr_accessor :admin_hide_branded_cloud_storage
|
70
|
+
|
62
71
|
# One of the CLIENTBRANDINGBUILD_ constants
|
63
72
|
# @type [Number] build_mode
|
64
73
|
attr_accessor :build_mode
|
@@ -163,6 +172,7 @@ module Comet
|
|
163
172
|
@default_login_server_url = ''
|
164
173
|
@tile_background_color = ''
|
165
174
|
@account_register_url = ''
|
175
|
+
@cloud_storage_name = ''
|
166
176
|
@build_mode = 0
|
167
177
|
@path_ico_file = ''
|
168
178
|
@path_icns_file = ''
|
@@ -259,6 +269,14 @@ module Comet
|
|
259
269
|
@account_register_url = v
|
260
270
|
when 'HideBackgroundLogo'
|
261
271
|
@hide_background_logo = v
|
272
|
+
when 'CloudStorageName'
|
273
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
274
|
+
|
275
|
+
@cloud_storage_name = v
|
276
|
+
when 'AdminHidePreBuiltClientOption'
|
277
|
+
@admin_hide_pre_built_client_option = v
|
278
|
+
when 'AdminHideBrandedCloudStorage'
|
279
|
+
@admin_hide_branded_cloud_storage = v
|
262
280
|
when 'BuildMode'
|
263
281
|
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
264
282
|
|
@@ -386,6 +404,9 @@ module Comet
|
|
386
404
|
ret['TileBackgroundColor'] = @tile_background_color
|
387
405
|
ret['AccountRegisterURL'] = @account_register_url
|
388
406
|
ret['HideBackgroundLogo'] = @hide_background_logo
|
407
|
+
ret['CloudStorageName'] = @cloud_storage_name
|
408
|
+
ret['AdminHidePreBuiltClientOption'] = @admin_hide_pre_built_client_option
|
409
|
+
ret['AdminHideBrandedCloudStorage'] = @admin_hide_branded_cloud_storage
|
389
410
|
ret['BuildMode'] = @build_mode
|
390
411
|
ret['PathIcoFile'] = @path_ico_file
|
391
412
|
ret['PathIcnsFile'] = @path_icns_file
|
@@ -36,6 +36,15 @@ module Comet
|
|
36
36
|
# @type [Boolean] hide_background_logo
|
37
37
|
attr_accessor :hide_background_logo
|
38
38
|
|
39
|
+
# @type [String] cloud_storage_name
|
40
|
+
attr_accessor :cloud_storage_name
|
41
|
+
|
42
|
+
# @type [Boolean] admin_hide_pre_built_client_option
|
43
|
+
attr_accessor :admin_hide_pre_built_client_option
|
44
|
+
|
45
|
+
# @type [Boolean] admin_hide_branded_cloud_storage
|
46
|
+
attr_accessor :admin_hide_branded_cloud_storage
|
47
|
+
|
39
48
|
# One of the CLIENTBRANDINGBUILD_ constants
|
40
49
|
# @type [Number] build_mode
|
41
50
|
attr_accessor :build_mode
|
@@ -134,6 +143,7 @@ module Comet
|
|
134
143
|
@default_login_server_url = ''
|
135
144
|
@tile_background_color = ''
|
136
145
|
@account_register_url = ''
|
146
|
+
@cloud_storage_name = ''
|
137
147
|
@build_mode = 0
|
138
148
|
@path_ico_file = ''
|
139
149
|
@path_icns_file = ''
|
@@ -204,6 +214,14 @@ module Comet
|
|
204
214
|
@account_register_url = v
|
205
215
|
when 'HideBackgroundLogo'
|
206
216
|
@hide_background_logo = v
|
217
|
+
when 'CloudStorageName'
|
218
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
219
|
+
|
220
|
+
@cloud_storage_name = v
|
221
|
+
when 'AdminHidePreBuiltClientOption'
|
222
|
+
@admin_hide_pre_built_client_option = v
|
223
|
+
when 'AdminHideBrandedCloudStorage'
|
224
|
+
@admin_hide_branded_cloud_storage = v
|
207
225
|
when 'BuildMode'
|
208
226
|
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
209
227
|
|
@@ -324,6 +342,9 @@ module Comet
|
|
324
342
|
ret['TileBackgroundColor'] = @tile_background_color
|
325
343
|
ret['AccountRegisterURL'] = @account_register_url
|
326
344
|
ret['HideBackgroundLogo'] = @hide_background_logo
|
345
|
+
ret['CloudStorageName'] = @cloud_storage_name
|
346
|
+
ret['AdminHidePreBuiltClientOption'] = @admin_hide_pre_built_client_option
|
347
|
+
ret['AdminHideBrandedCloudStorage'] = @admin_hide_branded_cloud_storage
|
327
348
|
ret['BuildMode'] = @build_mode
|
328
349
|
ret['PathIcoFile'] = @path_ico_file
|
329
350
|
ret['PathIcnsFile'] = @path_icns_file
|
@@ -36,6 +36,15 @@ module Comet
|
|
36
36
|
# @type [Boolean] hide_background_logo
|
37
37
|
attr_accessor :hide_background_logo
|
38
38
|
|
39
|
+
# @type [String] cloud_storage_name
|
40
|
+
attr_accessor :cloud_storage_name
|
41
|
+
|
42
|
+
# @type [Boolean] admin_hide_pre_built_client_option
|
43
|
+
attr_accessor :admin_hide_pre_built_client_option
|
44
|
+
|
45
|
+
# @type [Boolean] admin_hide_branded_cloud_storage
|
46
|
+
attr_accessor :admin_hide_branded_cloud_storage
|
47
|
+
|
39
48
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
40
49
|
attr_accessor :unknown_json_fields
|
41
50
|
|
@@ -50,6 +59,7 @@ module Comet
|
|
50
59
|
@default_login_server_url = ''
|
51
60
|
@tile_background_color = ''
|
52
61
|
@account_register_url = ''
|
62
|
+
@cloud_storage_name = ''
|
53
63
|
@unknown_json_fields = {}
|
54
64
|
end
|
55
65
|
|
@@ -94,6 +104,14 @@ module Comet
|
|
94
104
|
@account_register_url = v
|
95
105
|
when 'HideBackgroundLogo'
|
96
106
|
@hide_background_logo = v
|
107
|
+
when 'CloudStorageName'
|
108
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
109
|
+
|
110
|
+
@cloud_storage_name = v
|
111
|
+
when 'AdminHidePreBuiltClientOption'
|
112
|
+
@admin_hide_pre_built_client_option = v
|
113
|
+
when 'AdminHideBrandedCloudStorage'
|
114
|
+
@admin_hide_branded_cloud_storage = v
|
97
115
|
else
|
98
116
|
@unknown_json_fields[k] = v
|
99
117
|
end
|
@@ -111,6 +129,9 @@ module Comet
|
|
111
129
|
ret['TileBackgroundColor'] = @tile_background_color
|
112
130
|
ret['AccountRegisterURL'] = @account_register_url
|
113
131
|
ret['HideBackgroundLogo'] = @hide_background_logo
|
132
|
+
ret['CloudStorageName'] = @cloud_storage_name
|
133
|
+
ret['AdminHidePreBuiltClientOption'] = @admin_hide_pre_built_client_option
|
134
|
+
ret['AdminHideBrandedCloudStorage'] = @admin_hide_branded_cloud_storage
|
114
135
|
@unknown_json_fields.each do |k, v|
|
115
136
|
ret[k] = v
|
116
137
|
end
|
@@ -58,6 +58,19 @@ module Comet
|
|
58
58
|
# @type [Boolean] server_is_empty
|
59
59
|
attr_accessor :server_is_empty
|
60
60
|
|
61
|
+
# @type [String] cloud_storage_name
|
62
|
+
attr_accessor :cloud_storage_name
|
63
|
+
|
64
|
+
# Will hide the "Pre-built software client" option from the server settings. Only properly enforced
|
65
|
+
# when custom branding is enforced via the license.
|
66
|
+
# @type [Boolean] admin_hide_pre_built_client_option
|
67
|
+
attr_accessor :admin_hide_pre_built_client_option
|
68
|
+
|
69
|
+
# Will hide Comet Storage from everywhere, including the admin view. Only properly enforced when
|
70
|
+
# custom branding is enforced via the license.
|
71
|
+
# @type [Boolean] admin_hide_branded_cloud_storage
|
72
|
+
attr_accessor :admin_hide_branded_cloud_storage
|
73
|
+
|
61
74
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
62
75
|
attr_accessor :unknown_json_fields
|
63
76
|
|
@@ -74,6 +87,7 @@ module Comet
|
|
74
87
|
@prune_logs_after_days = 0
|
75
88
|
@expired_in_seconds = 0
|
76
89
|
@external_authentication_sources = []
|
90
|
+
@cloud_storage_name = ''
|
77
91
|
@unknown_json_fields = {}
|
78
92
|
end
|
79
93
|
|
@@ -138,6 +152,14 @@ module Comet
|
|
138
152
|
end
|
139
153
|
when 'ServerIsEmpty'
|
140
154
|
@server_is_empty = v
|
155
|
+
when 'CloudStorageName'
|
156
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
157
|
+
|
158
|
+
@cloud_storage_name = v
|
159
|
+
when 'AdminHidePreBuiltClientOption'
|
160
|
+
@admin_hide_pre_built_client_option = v
|
161
|
+
when 'AdminHideBrandedCloudStorage'
|
162
|
+
@admin_hide_branded_cloud_storage = v
|
141
163
|
else
|
142
164
|
@unknown_json_fields[k] = v
|
143
165
|
end
|
@@ -162,6 +184,9 @@ module Comet
|
|
162
184
|
ret['ExternalAuthenticationSources'] = @external_authentication_sources
|
163
185
|
end
|
164
186
|
ret['ServerIsEmpty'] = @server_is_empty
|
187
|
+
ret['CloudStorageName'] = @cloud_storage_name
|
188
|
+
ret['AdminHidePreBuiltClientOption'] = @admin_hide_pre_built_client_option
|
189
|
+
ret['AdminHideBrandedCloudStorage'] = @admin_hide_branded_cloud_storage
|
165
190
|
@unknown_json_fields.each do |k, v|
|
166
191
|
ret[k] = v
|
167
192
|
end
|
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.39.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: 2025-01-
|
11
|
+
date: 2025-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|