comet_backup_ruby_sdk 2.32.0 → 2.33.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 +7 -0
- data/Gemfile.lock +1 -1
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/definitions.rb +3 -3
- data/lib/comet/models/email_options.rb +13 -0
- data/lib/comet/models/office_365mixed_virtual_account.rb +8 -0
- data/lib/comet/models/vault_snapshot.rb +10 -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: cd9b5276738aaf54da0faa462ce15d892e9adc73f30c85498190a6b87bcc334a
|
4
|
+
data.tar.gz: 2740b843b7deb8d9b5f1a4976458bc7df296806de0656994d818535f492c1e1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 298427323e3dd885832c689086054a7080080cd5fea6cbd2724432513b8c2df722fb99829d4a04b6789fc44263ac78720a76abc323b3ecad0323abb053bfd06b
|
7
|
+
data.tar.gz: aa79fd2f522e0e8e772a33f513440f0471515476b6cd29fe8b29b5345ccab08d179b8d97f1b84a846abdec18e82c32b3e3c0fa8d6f4ebe1b9db4f56cf1326bb3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 2024-06-11 v2.33.0
|
4
|
+
|
5
|
+
- Based on Comet 24.6.0
|
6
|
+
- Added custom HELO/EHLO STMP support
|
7
|
+
- Added support to set if disabled Office 365 accounts should be backed up
|
8
|
+
- Added EngineType as a property of VaultSnapshots
|
9
|
+
|
3
10
|
## 2024-05-31 v2.32.0
|
4
11
|
|
5
12
|
- Based on Comet 24.5.0
|
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.33.0'
|
16
16
|
spec.authors = ['Comet Licensing Ltd.']
|
17
17
|
spec.email = ['hello@cometbackup.com']
|
18
18
|
|
data/lib/comet/definitions.rb
CHANGED
@@ -7,11 +7,11 @@
|
|
7
7
|
|
8
8
|
module Comet
|
9
9
|
|
10
|
-
APPLICATION_VERSION = '24.
|
10
|
+
APPLICATION_VERSION = '24.6.0'
|
11
11
|
|
12
12
|
APPLICATION_VERSION_MAJOR = 24
|
13
13
|
|
14
|
-
APPLICATION_VERSION_MINOR =
|
14
|
+
APPLICATION_VERSION_MINOR = 6
|
15
15
|
|
16
16
|
APPLICATION_VERSION_REVISION = 0
|
17
17
|
|
@@ -451,7 +451,7 @@ New code should explicitly use OBJECT_LOCK_ON / OBJECT_LOCK_OFF instead.
|
|
451
451
|
# PSAType
|
452
452
|
PSA_TYPE_SYNCRO = 2
|
453
453
|
|
454
|
-
RELEASE_CODENAME = '
|
454
|
+
RELEASE_CODENAME = 'Voyager'
|
455
455
|
|
456
456
|
# RemoteServerType: Comet Server
|
457
457
|
REMOTESERVER_COMET = 'comet'
|
@@ -43,6 +43,11 @@ module Comet
|
|
43
43
|
# @type [Boolean] smtpallow_unencrypted
|
44
44
|
attr_accessor :smtpallow_unencrypted
|
45
45
|
|
46
|
+
# Override the HELO/EHLO hostname for SMTP or MX Direct modes. If blank, uses system default
|
47
|
+
# HELO/EHLO hostname.
|
48
|
+
# @type [String] smtpcustom_ehlo
|
49
|
+
attr_accessor :smtpcustom_ehlo
|
50
|
+
|
46
51
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
47
52
|
attr_accessor :unknown_json_fields
|
48
53
|
|
@@ -59,6 +64,7 @@ module Comet
|
|
59
64
|
@smtpport = 0
|
60
65
|
@smtpusername = ''
|
61
66
|
@smtppassword = ''
|
67
|
+
@smtpcustom_ehlo = ''
|
62
68
|
@unknown_json_fields = {}
|
63
69
|
end
|
64
70
|
|
@@ -117,6 +123,10 @@ module Comet
|
|
117
123
|
@smtpallow_invalid_certificate = v
|
118
124
|
when 'SMTPAllowUnencrypted'
|
119
125
|
@smtpallow_unencrypted = v
|
126
|
+
when 'SMTPCustomEhlo'
|
127
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
128
|
+
|
129
|
+
@smtpcustom_ehlo = v
|
120
130
|
else
|
121
131
|
@unknown_json_fields[k] = v
|
122
132
|
end
|
@@ -150,6 +160,9 @@ module Comet
|
|
150
160
|
unless @smtpallow_unencrypted.nil?
|
151
161
|
ret['SMTPAllowUnencrypted'] = @smtpallow_unencrypted
|
152
162
|
end
|
163
|
+
unless @smtpcustom_ehlo.nil?
|
164
|
+
ret['SMTPCustomEhlo'] = @smtpcustom_ehlo
|
165
|
+
end
|
153
166
|
@unknown_json_fields.each do |k, v|
|
154
167
|
ret[k] = v
|
155
168
|
end
|
@@ -15,6 +15,9 @@ module Comet
|
|
15
15
|
# @type [String] default_drive_id
|
16
16
|
attr_accessor :default_drive_id
|
17
17
|
|
18
|
+
# @type [Boolean] disabled
|
19
|
+
attr_accessor :disabled
|
20
|
+
|
18
21
|
# @type [String] display_name
|
19
22
|
attr_accessor :display_name
|
20
23
|
|
@@ -99,6 +102,8 @@ module Comet
|
|
99
102
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
100
103
|
|
101
104
|
@default_drive_id = v
|
105
|
+
when 'Disabled'
|
106
|
+
@disabled = v
|
102
107
|
when 'DisplayName'
|
103
108
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
104
109
|
|
@@ -172,6 +177,9 @@ module Comet
|
|
172
177
|
unless @default_drive_id.nil?
|
173
178
|
ret['DefaultDriveID'] = @default_drive_id
|
174
179
|
end
|
180
|
+
unless @disabled.nil?
|
181
|
+
ret['Disabled'] = @disabled
|
182
|
+
end
|
175
183
|
unless @display_name.nil?
|
176
184
|
ret['DisplayName'] = @display_name
|
177
185
|
end
|
@@ -15,6 +15,10 @@ module Comet
|
|
15
15
|
# @type [String] snapshot
|
16
16
|
attr_accessor :snapshot
|
17
17
|
|
18
|
+
# This field is available in Comet 24.3.x and later.
|
19
|
+
# @type [String] engine_type
|
20
|
+
attr_accessor :engine_type
|
21
|
+
|
18
22
|
# @type [String] source
|
19
23
|
attr_accessor :source
|
20
24
|
|
@@ -34,6 +38,7 @@ module Comet
|
|
34
38
|
|
35
39
|
def clear
|
36
40
|
@snapshot = ''
|
41
|
+
@engine_type = ''
|
37
42
|
@source = ''
|
38
43
|
@create_time = 0
|
39
44
|
@unknown_json_fields = {}
|
@@ -56,6 +61,10 @@ module Comet
|
|
56
61
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
57
62
|
|
58
63
|
@snapshot = v
|
64
|
+
when 'EngineType'
|
65
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
66
|
+
|
67
|
+
@engine_type = v
|
59
68
|
when 'Source'
|
60
69
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
61
70
|
|
@@ -76,6 +85,7 @@ module Comet
|
|
76
85
|
def to_hash
|
77
86
|
ret = {}
|
78
87
|
ret['Snapshot'] = @snapshot
|
88
|
+
ret['EngineType'] = @engine_type
|
79
89
|
ret['Source'] = @source
|
80
90
|
ret['CreateTime'] = @create_time
|
81
91
|
ret['HasOriginalPathInfo'] = @has_original_path_info
|
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.33.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: 2024-
|
11
|
+
date: 2024-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|