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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28c20d30682b68212614c323e57214c8e7e4c25d7d96874d064c8d810e559faa
4
- data.tar.gz: 1abc454c8e6505934dade8b26ac3b3791bc6436bf7203332805fb375ce6e9b90
3
+ metadata.gz: 4bf74463ba52a1b008b3d743be48d74a2ef042274ddc86bc08f8e952d40064cc
4
+ data.tar.gz: 5296ec9e7ed5ae19711e77cf916ef4e7967d7a0bf3b27bab428a017c45e2d970
5
5
  SHA512:
6
- metadata.gz: 0bc8d5889354e1a0a8f4b1e0c89a71b4a1d6c44faab8ec03432bfd7fdffaebebaeb6a44ea5e44293979a4f5694e89e14a63f0ba7f543fc420d1e05deb835d0d6
7
- data.tar.gz: c7654db0f8f17ef9fe6939e6fe3fc42f72db4d8b855b4b692fc5b1b2ac6a12d6858f5e7c7c8ecf82cd1994cf1b227223042e3226dd17308e5145b02df332a3f0
6
+ metadata.gz: b1271dca242a47f8b6958ed2972449cef6dec337fdd9f41d0b80e65606ec6460acb209cbecf1ee7aa43f7d5d0b98f7fedd1a13593a7c9ed4d01912192dbe4e33
7
+ data.tar.gz: 704803dd4ac0b1b03bf43530f9b60d6fc9ed5ff23b02380085db3c032c6833e817e9056292d189fca9161e796f25ad8ff73f6b659973a283f1301991b9d735f9
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2020-11-05 v1.2.0
4
+ - Based on Comet 20.9.10
5
+ - Support new `ThawExec` feature
6
+
3
7
  ## 2020-10-08 v1.1.0
4
8
  - Based on Comet 20.9.6
5
9
  - Support new `AdminStorageBucketProperties` API
@@ -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.1.0'
15
+ spec.version = '1.2.0'
16
16
  spec.authors = ['Comet Licensing Ltd.']
17
17
  spec.email = ['hello@cometbackup.com']
18
18
 
@@ -365,13 +365,13 @@ module Comet
365
365
 
366
366
  DEFAULT_TIMEZONE = 'UTC'
367
367
 
368
- APPLICATION_VERSION = '20.9.6'
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 = 6
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.1.0
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-10-08 00:00:00.000000000 Z
11
+ date: 2020-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler