comet_backup_ruby_sdk 2.15.0 → 2.17.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/definitions.rb +5 -2
- data/lib/comet/models/destination_config.rb +9 -0
- data/lib/comet/models/destination_location.rb +9 -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: e51f22f14215859b506d05275dcde39118daf741417c1f880f43db0da77787c6
|
4
|
+
data.tar.gz: 0275fccf0713fc1432ee81528e310d34aaa650470b3ef5022425a1d1fe25834c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80c7480afd626944a232ebfd1eb50c6015f513c7e75d309bb7559c4b2d706a90ffaad8caaa4cfd752b2d4662c60e351db0eee88cbd44143d406d5d27df64c122
|
7
|
+
data.tar.gz: 4bf992dbfd18847c2456ffcaf42ed1a26ef8dc798f9860e49b78c3c2aa7014c73c6c652441a1abf3a46c3c20377cd633472345baaa4a5b3c59573d88d397982f
|
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.17.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.6'
|
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 = 6
|
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
|
@@ -418,6 +418,9 @@ module Comet
|
|
418
418
|
# RemoteServerType
|
419
419
|
REMOTESERVER_COMET = 'comet'
|
420
420
|
|
421
|
+
# RemoteServerType
|
422
|
+
REMOTESERVER_COMET_STORAGE = 'cometstorage'
|
423
|
+
|
421
424
|
# RemoteServerType
|
422
425
|
REMOTESERVER_LDAP = 'ldap'
|
423
426
|
|
@@ -210,6 +210,9 @@ module Comet
|
|
210
210
|
# @type [Boolean] span_use_static_slots
|
211
211
|
attr_accessor :span_use_static_slots
|
212
212
|
|
213
|
+
# @type [String] tag
|
214
|
+
attr_accessor :tag
|
215
|
+
|
213
216
|
# One of the ENCRYPTIONMETHOD_ constants
|
214
217
|
# @type [Number] encryption_key_encryption_method
|
215
218
|
attr_accessor :encryption_key_encryption_method
|
@@ -297,6 +300,7 @@ module Comet
|
|
297
300
|
@web_dav = Comet::WebDavDestinationLocation.new
|
298
301
|
@storj = Comet::StorjDestinationLocation.new
|
299
302
|
@span_targets = []
|
303
|
+
@tag = ''
|
300
304
|
@encryption_key_encryption_method = 0
|
301
305
|
@encrypted_encryption_key = ''
|
302
306
|
@repo_init_timestamp = 0
|
@@ -540,6 +544,10 @@ module Comet
|
|
540
544
|
end
|
541
545
|
when 'SpanUseStaticSlots'
|
542
546
|
@span_use_static_slots = v
|
547
|
+
when 'Tag'
|
548
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
549
|
+
|
550
|
+
@tag = v
|
543
551
|
when 'EncryptionKeyEncryptionMethod'
|
544
552
|
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
545
553
|
|
@@ -628,6 +636,7 @@ module Comet
|
|
628
636
|
ret['Storj'] = @storj
|
629
637
|
ret['SpanTargets'] = @span_targets
|
630
638
|
ret['SpanUseStaticSlots'] = @span_use_static_slots
|
639
|
+
ret['Tag'] = @tag
|
631
640
|
ret['EncryptionKeyEncryptionMethod'] = @encryption_key_encryption_method
|
632
641
|
ret['EncryptedEncryptionKey'] = @encrypted_encryption_key
|
633
642
|
ret['RepoInitTimestamp'] = @repo_init_timestamp
|
@@ -190,6 +190,9 @@ module Comet
|
|
190
190
|
# @type [Boolean] span_use_static_slots
|
191
191
|
attr_accessor :span_use_static_slots
|
192
192
|
|
193
|
+
# @type [String] tag
|
194
|
+
attr_accessor :tag
|
195
|
+
|
193
196
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
194
197
|
attr_accessor :unknown_json_fields
|
195
198
|
|
@@ -238,6 +241,7 @@ module Comet
|
|
238
241
|
@web_dav = Comet::WebDavDestinationLocation.new
|
239
242
|
@storj = Comet::StorjDestinationLocation.new
|
240
243
|
@span_targets = []
|
244
|
+
@tag = ''
|
241
245
|
@unknown_json_fields = {}
|
242
246
|
end
|
243
247
|
|
@@ -430,6 +434,10 @@ module Comet
|
|
430
434
|
end
|
431
435
|
when 'SpanUseStaticSlots'
|
432
436
|
@span_use_static_slots = v
|
437
|
+
when 'Tag'
|
438
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
439
|
+
|
440
|
+
@tag = v
|
433
441
|
else
|
434
442
|
@unknown_json_fields[k] = v
|
435
443
|
end
|
@@ -486,6 +494,7 @@ module Comet
|
|
486
494
|
ret['Storj'] = @storj
|
487
495
|
ret['SpanTargets'] = @span_targets
|
488
496
|
ret['SpanUseStaticSlots'] = @span_use_static_slots
|
497
|
+
ret['Tag'] = @tag
|
489
498
|
@unknown_json_fields.each do |k, v|
|
490
499
|
ret[k] = v
|
491
500
|
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.17.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-10-
|
11
|
+
date: 2023-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|