comet_backup_ruby_sdk 1.1.0 → 1.2.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 +4 -0
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/definitions.rb +2 -2
- data/lib/comet/models/backup_rule_config.rb +16 -0
- data/lib/comet/models/destination_config.rb +16 -0
- data/lib/comet/models/source_config.rb +16 -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: 4bf74463ba52a1b008b3d743be48d74a2ef042274ddc86bc08f8e952d40064cc
|
4
|
+
data.tar.gz: 5296ec9e7ed5ae19711e77cf916ef4e7967d7a0bf3b27bab428a017c45e2d970
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1271dca242a47f8b6958ed2972449cef6dec337fdd9f41d0b80e65606ec6460acb209cbecf1ee7aa43f7d5d0b98f7fedd1a13593a7c9ed4d01912192dbe4e33
|
7
|
+
data.tar.gz: 704803dd4ac0b1b03bf43530f9b60d6fc9ed5ff23b02380085db3c032c6833e817e9056292d189fca9161e796f25ad8ff73f6b659973a283f1301991b9d735f9
|
data/CHANGELOG.md
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 = '1.
|
15
|
+
spec.version = '1.2.0'
|
16
16
|
spec.authors = ['Comet Licensing Ltd.']
|
17
17
|
spec.email = ['hello@cometbackup.com']
|
18
18
|
|
data/lib/comet/definitions.rb
CHANGED
@@ -365,13 +365,13 @@ module Comet
|
|
365
365
|
|
366
366
|
DEFAULT_TIMEZONE = 'UTC'
|
367
367
|
|
368
|
-
APPLICATION_VERSION = '20.9.
|
368
|
+
APPLICATION_VERSION = '20.9.10'
|
369
369
|
|
370
370
|
APPLICATION_VERSION_MAJOR = 20
|
371
371
|
|
372
372
|
APPLICATION_VERSION_MINOR = 9
|
373
373
|
|
374
|
-
APPLICATION_VERSION_REVISION =
|
374
|
+
APPLICATION_VERSION_REVISION = 10
|
375
375
|
|
376
376
|
RELEASE_CODENAME = 'Voyager'
|
377
377
|
|
@@ -26,6 +26,9 @@ module Comet
|
|
26
26
|
# @type [Array<String>] pre_exec
|
27
27
|
attr_accessor :pre_exec
|
28
28
|
|
29
|
+
# @type [Array<String>] thaw_exec
|
30
|
+
attr_accessor :thaw_exec
|
31
|
+
|
29
32
|
# @type [Array<String>] post_exec
|
30
33
|
attr_accessor :post_exec
|
31
34
|
|
@@ -71,6 +74,7 @@ module Comet
|
|
71
74
|
@create_time = 0
|
72
75
|
@modify_time = 0
|
73
76
|
@pre_exec = []
|
77
|
+
@thaw_exec = []
|
74
78
|
@post_exec = []
|
75
79
|
@source = ''
|
76
80
|
@destination = ''
|
@@ -117,6 +121,17 @@ module Comet
|
|
117
121
|
@pre_exec[i1] = v1
|
118
122
|
end
|
119
123
|
end
|
124
|
+
when 'ThawExec'
|
125
|
+
if v.nil?
|
126
|
+
@thaw_exec = []
|
127
|
+
else
|
128
|
+
@thaw_exec = Array.new(v.length)
|
129
|
+
v.each_with_index do |v1, i1|
|
130
|
+
raise TypeError "'v1' expected String, got #{v1.class}" unless v1.is_a? String
|
131
|
+
|
132
|
+
@thaw_exec[i1] = v1
|
133
|
+
end
|
134
|
+
end
|
120
135
|
when 'PostExec'
|
121
136
|
if v.nil?
|
122
137
|
@post_exec = []
|
@@ -178,6 +193,7 @@ module Comet
|
|
178
193
|
ret['CreateTime'] = @create_time
|
179
194
|
ret['ModifyTime'] = @modify_time
|
180
195
|
ret['PreExec'] = @pre_exec
|
196
|
+
ret['ThawExec'] = @thaw_exec
|
181
197
|
ret['PostExec'] = @post_exec
|
182
198
|
ret['Source'] = @source
|
183
199
|
ret['Destination'] = @destination
|
@@ -26,6 +26,9 @@ module Comet
|
|
26
26
|
# @type [Array<String>] pre_exec
|
27
27
|
attr_accessor :pre_exec
|
28
28
|
|
29
|
+
# @type [Array<String>] thaw_exec
|
30
|
+
attr_accessor :thaw_exec
|
31
|
+
|
29
32
|
# @type [Array<String>] post_exec
|
30
33
|
attr_accessor :post_exec
|
31
34
|
|
@@ -185,6 +188,7 @@ module Comet
|
|
185
188
|
@create_time = 0
|
186
189
|
@modify_time = 0
|
187
190
|
@pre_exec = []
|
191
|
+
@thaw_exec = []
|
188
192
|
@post_exec = []
|
189
193
|
@destination_type = 0
|
190
194
|
@comet_server = ''
|
@@ -266,6 +270,17 @@ module Comet
|
|
266
270
|
@pre_exec[i1] = v1
|
267
271
|
end
|
268
272
|
end
|
273
|
+
when 'ThawExec'
|
274
|
+
if v.nil?
|
275
|
+
@thaw_exec = []
|
276
|
+
else
|
277
|
+
@thaw_exec = Array.new(v.length)
|
278
|
+
v.each_with_index do |v1, i1|
|
279
|
+
raise TypeError "'v1' expected String, got #{v1.class}" unless v1.is_a? String
|
280
|
+
|
281
|
+
@thaw_exec[i1] = v1
|
282
|
+
end
|
283
|
+
end
|
269
284
|
when 'PostExec'
|
270
285
|
if v.nil?
|
271
286
|
@post_exec = []
|
@@ -470,6 +485,7 @@ module Comet
|
|
470
485
|
ret['CreateTime'] = @create_time
|
471
486
|
ret['ModifyTime'] = @modify_time
|
472
487
|
ret['PreExec'] = @pre_exec
|
488
|
+
ret['ThawExec'] = @thaw_exec
|
473
489
|
ret['PostExec'] = @post_exec
|
474
490
|
ret['DestinationType'] = @destination_type
|
475
491
|
ret['CometServer'] = @comet_server
|
@@ -32,6 +32,9 @@ module Comet
|
|
32
32
|
# @type [Array<String>] pre_exec
|
33
33
|
attr_accessor :pre_exec
|
34
34
|
|
35
|
+
# @type [Array<String>] thaw_exec
|
36
|
+
attr_accessor :thaw_exec
|
37
|
+
|
35
38
|
# @type [Array<String>] post_exec
|
36
39
|
attr_accessor :post_exec
|
37
40
|
|
@@ -58,6 +61,7 @@ module Comet
|
|
58
61
|
@create_time = 0
|
59
62
|
@modify_time = 0
|
60
63
|
@pre_exec = []
|
64
|
+
@thaw_exec = []
|
61
65
|
@post_exec = []
|
62
66
|
@engine_props = {}
|
63
67
|
@override_destination_retention = {}
|
@@ -109,6 +113,17 @@ module Comet
|
|
109
113
|
@pre_exec[i1] = v1
|
110
114
|
end
|
111
115
|
end
|
116
|
+
when 'ThawExec'
|
117
|
+
if v.nil?
|
118
|
+
@thaw_exec = []
|
119
|
+
else
|
120
|
+
@thaw_exec = Array.new(v.length)
|
121
|
+
v.each_with_index do |v1, i1|
|
122
|
+
raise TypeError "'v1' expected String, got #{v1.class}" unless v1.is_a? String
|
123
|
+
|
124
|
+
@thaw_exec[i1] = v1
|
125
|
+
end
|
126
|
+
end
|
112
127
|
when 'PostExec'
|
113
128
|
if v.nil?
|
114
129
|
@post_exec = []
|
@@ -159,6 +174,7 @@ module Comet
|
|
159
174
|
ret['CreateTime'] = @create_time
|
160
175
|
ret['ModifyTime'] = @modify_time
|
161
176
|
ret['PreExec'] = @pre_exec
|
177
|
+
ret['ThawExec'] = @thaw_exec
|
162
178
|
ret['PostExec'] = @post_exec
|
163
179
|
ret['EngineProps'] = @engine_props
|
164
180
|
unless @override_destination_retention.nil?
|
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: 1.
|
4
|
+
version: 1.2.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: 2020-
|
11
|
+
date: 2020-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|