kontena-cli 1.4.3 → 1.5.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +7 -3
  3. data/Gemfile +7 -3
  4. data/README.md +1 -1
  5. data/VERSION +1 -1
  6. data/bin/kontena +1 -0
  7. data/kontena-cli.gemspec +5 -6
  8. data/lib/kontena/cli/browser_launcher.rb +61 -0
  9. data/lib/kontena/cli/certificate/authorize_command.rb +40 -16
  10. data/lib/kontena/cli/certificate/get_command.rb +1 -1
  11. data/lib/kontena/cli/cloud/login_command.rb +3 -4
  12. data/lib/kontena/cli/cloud/master/add_command.rb +1 -1
  13. data/lib/kontena/cli/cloud/master/list_command.rb +1 -1
  14. data/lib/kontena/cli/cloud/master/remove_command.rb +1 -1
  15. data/lib/kontena/cli/cloud/master/update_command.rb +1 -1
  16. data/lib/kontena/cli/common.rb +2 -2
  17. data/lib/kontena/cli/etcd_command.rb +1 -1
  18. data/lib/kontena/cli/external_registries/add_command.rb +2 -2
  19. data/lib/kontena/cli/external_registries/remove_command.rb +1 -1
  20. data/lib/kontena/cli/grids/common.rb +14 -4
  21. data/lib/kontena/cli/grids/events_command.rb +2 -2
  22. data/lib/kontena/cli/grids/list_command.rb +1 -1
  23. data/lib/kontena/cli/grids/logs_command.rb +1 -1
  24. data/lib/kontena/cli/grids/remove_command.rb +12 -10
  25. data/lib/kontena/cli/grids/trusted_subnets/add_command.rb +1 -1
  26. data/lib/kontena/cli/grids/trusted_subnets/remove_command.rb +12 -10
  27. data/lib/kontena/cli/grids/use_command.rb +1 -1
  28. data/lib/kontena/cli/helpers/log_helper.rb +1 -1
  29. data/lib/kontena/cli/logout_command.rb +1 -1
  30. data/lib/kontena/cli/master/login_command.rb +2 -3
  31. data/lib/kontena/cli/master/logout_command.rb +2 -2
  32. data/lib/kontena/cli/master/token/common.rb +2 -1
  33. data/lib/kontena/cli/master/token/create_command.rb +5 -2
  34. data/lib/kontena/cli/master/token/current_command.rb +9 -4
  35. data/lib/kontena/cli/master/token/list_command.rb +1 -1
  36. data/lib/kontena/cli/master/token/show_command.rb +11 -1
  37. data/lib/kontena/cli/master/user/invite_command.rb +1 -1
  38. data/lib/kontena/cli/master_command.rb +0 -1
  39. data/lib/kontena/cli/nodes/create_command.rb +1 -1
  40. data/lib/kontena/cli/nodes/labels/remove_command.rb +17 -3
  41. data/lib/kontena/cli/nodes/remove_command.rb +12 -10
  42. data/lib/kontena/cli/nodes/reset_token_command.rb +1 -1
  43. data/lib/kontena/cli/nodes/update_command.rb +1 -1
  44. data/lib/kontena/cli/plugin_command.rb +2 -1
  45. data/lib/kontena/cli/plugins/install_command.rb +2 -2
  46. data/lib/kontena/cli/plugins/uninstall_command.rb +19 -10
  47. data/lib/kontena/cli/plugins/upgrade_command.rb +60 -0
  48. data/lib/kontena/cli/registry/create_command.rb +1 -1
  49. data/lib/kontena/cli/registry/remove_command.rb +2 -2
  50. data/lib/kontena/cli/services/containers_command.rb +1 -1
  51. data/lib/kontena/cli/services/create_command.rb +1 -1
  52. data/lib/kontena/cli/services/deploy_command.rb +1 -1
  53. data/lib/kontena/cli/services/envs/add_command.rb +1 -1
  54. data/lib/kontena/cli/services/envs/remove_command.rb +5 -3
  55. data/lib/kontena/cli/services/link_command.rb +1 -1
  56. data/lib/kontena/cli/services/logs_command.rb +1 -1
  57. data/lib/kontena/cli/services/monitor_command.rb +1 -1
  58. data/lib/kontena/cli/services/remove_command.rb +11 -9
  59. data/lib/kontena/cli/services/restart_command.rb +1 -1
  60. data/lib/kontena/cli/services/secrets/link_command.rb +1 -1
  61. data/lib/kontena/cli/services/services_helper.rb +6 -12
  62. data/lib/kontena/cli/services/start_command.rb +5 -3
  63. data/lib/kontena/cli/services/stop_command.rb +5 -3
  64. data/lib/kontena/cli/services/unlink_command.rb +1 -1
  65. data/lib/kontena/cli/services/update_command.rb +1 -1
  66. data/lib/kontena/cli/spinner.rb +10 -10
  67. data/lib/kontena/cli/stack_command.rb +1 -0
  68. data/lib/kontena/cli/stacks/build_command.rb +6 -6
  69. data/lib/kontena/cli/stacks/deploy_command.rb +12 -10
  70. data/lib/kontena/cli/stacks/inspect_command.rb +17 -0
  71. data/lib/kontena/cli/stacks/install_command.rb +15 -4
  72. data/lib/kontena/cli/stacks/list_command.rb +2 -3
  73. data/lib/kontena/cli/stacks/logs_command.rb +1 -1
  74. data/lib/kontena/cli/stacks/monitor_command.rb +2 -2
  75. data/lib/kontena/cli/stacks/remove_command.rb +28 -19
  76. data/lib/kontena/cli/stacks/restart_command.rb +5 -4
  77. data/lib/kontena/cli/stacks/stop_command.rb +6 -5
  78. data/lib/kontena/cli/stacks/upgrade_command.rb +84 -64
  79. data/lib/kontena/cli/stacks/yaml/reader.rb +9 -4
  80. data/lib/kontena/cli/vault/remove_command.rb +7 -5
  81. data/lib/kontena/cli/vault/update_command.rb +1 -1
  82. data/lib/kontena/cli/vault/write_command.rb +1 -1
  83. data/lib/kontena/cli/volumes/remove_command.rb +6 -4
  84. data/lib/kontena/cli/vpn/create_command.rb +1 -1
  85. data/lib/kontena/cli/vpn/remove_command.rb +1 -1
  86. data/lib/kontena/client.rb +23 -14
  87. data/lib/kontena/command.rb +2 -2
  88. data/lib/kontena/debug_instrumentor.rb +11 -2
  89. data/lib/kontena/plugin_manager/common.rb +5 -2
  90. data/lib/kontena/plugin_manager/installer.rb +34 -10
  91. data/lib/kontena/scripts/completer.rb +91 -43
  92. data/lib/kontena/{cli/stacks → stacks}/change_resolver.rb +38 -16
  93. data/lib/kontena/stacks/stack_data.rb +58 -0
  94. data/lib/kontena/stacks/stack_data_set.rb +51 -0
  95. data/lib/kontena_cli.rb +1 -0
  96. data/omnibus/Gemfile.lock +32 -22
  97. data/omnibus/config/projects/kontena.rb +2 -0
  98. data/omnibus/config/software/kontena-cli.rb +6 -4
  99. data/omnibus/package-scripts/kontena/postinstall +1 -1
  100. data/omnibus/wrappers/sh/kontena +1 -1
  101. data/spec/fixtures/kontena_v3_with_registry_extends.yml +20 -0
  102. data/spec/kontena/cli/certificates/authorize_command_spec.rb +81 -0
  103. data/spec/kontena/cli/cloud/login_command_spec.rb +4 -4
  104. data/spec/kontena/cli/common_spec.rb +8 -1
  105. data/spec/kontena/cli/grids/update_command_spec.rb +13 -0
  106. data/spec/kontena/cli/master/join_command_spec.rb +1 -4
  107. data/spec/kontena/cli/master/login_command_spec.rb +4 -4
  108. data/spec/kontena/cli/master/token/create_command_spec.rb +132 -0
  109. data/spec/kontena/cli/master/token/show_command_spec.rb +90 -0
  110. data/spec/kontena/cli/nodes/labels/remove_command_spec.rb +35 -5
  111. data/spec/kontena/cli/stacks/install_command_spec.rb +16 -6
  112. data/spec/kontena/cli/stacks/remove_command_spec.rb +23 -2
  113. data/spec/kontena/cli/stacks/validate_command_spec.rb +1 -1
  114. data/spec/kontena/cli/stacks/yaml/reader_spec.rb +33 -1
  115. data/spec/kontena/client_spec.rb +38 -1
  116. data/spec/kontena/stacks/change_resolver_spec.rb +44 -0
  117. data/spec/kontena/stacks/stack_data_set_spec.rb +59 -0
  118. metadata +36 -34
  119. data/lib/kontena/cli/master/users_command.rb +0 -13
@@ -47,7 +47,7 @@ describe Kontena::Cli::Stacks::UpgradeCommand do
47
47
  'volumes' => [ ],
48
48
  'dependencies' => nil,
49
49
  'source' => a_string_matching(/.+/),
50
- 'parent_name' => nil,
50
+ 'parent' => nil,
51
51
  'variables' => {
52
52
  'grid_name' => '{{ GRID }} stackname',
53
53
  'copies' => 2,
@@ -73,7 +73,7 @@ describe Kontena::Cli::Stacks::YAML::Reader do
73
73
  dependencies
74
74
  source
75
75
  variables
76
- parent_name
76
+ parent
77
77
  ).each do |k|
78
78
  expect(result.key?(k)).to be_truthy
79
79
  end
@@ -171,6 +171,38 @@ describe Kontena::Cli::Stacks::YAML::Reader do
171
171
  )
172
172
  end
173
173
  end
174
+
175
+ context 'from a registry stack' do
176
+ let(:subject) do
177
+ described_class.new(fixture_path('kontena_v3_with_registry_extends.yml'))
178
+ end
179
+
180
+ it 'extends services from a registry stack' do
181
+ expect(Kontena::StacksCache).to receive(:pull).at_least(:once).with('registrystack/compose:1.0.0').and_return(File.read(fixture_path('docker-compose_v2.yml')))
182
+ expect(subject.execute['services']).to match array_including(
183
+ hash_including(
184
+ "instances"=>2,
185
+ "image"=>"wordpress:4.1",
186
+ "env"=>["WORDPRESS_DB_PASSWORD=test_secret"],
187
+ "links"=>[{"name"=>"mysql", "alias"=>"mysql"}],
188
+ "ports"=>[{"ip"=>"0.0.0.0", "container_port"=>80, "node_port"=>80, "protocol"=>"tcp"}],
189
+ "stateful"=>true,
190
+ "strategy"=>"ha",
191
+ "name"=>"wordpress"
192
+ ),
193
+ hash_including(
194
+ "instances"=>nil,
195
+ "image"=>"mysql:5.6",
196
+ "env"=>["MYSQL_ROOT_PASSWORD=test_secret"],
197
+ "links"=>[],
198
+ "ports"=>[],
199
+ "stateful"=>true,
200
+ "name"=>"mysql",
201
+ "entrypoint" => "test"
202
+ )
203
+ )
204
+ end
205
+ end
174
206
  end
175
207
 
176
208
  context 'variable interpolation' do
@@ -233,13 +233,50 @@ describe Kontena::Client do
233
233
  end
234
234
  end
235
235
 
236
+ context "with empty response JSON" do
237
+ before :each do
238
+ allow(subject).to receive(:http_client).and_call_original
239
+
240
+ WebMock.stub_request(:delete, 'http://localhost/v1/test').to_return(
241
+ status: 200,
242
+ headers: {
243
+ 'Content-Type' => 'application/json',
244
+ },
245
+ body: '',
246
+ )
247
+ end
248
+
249
+ it "returns nil" do
250
+ expect(subject.delete('test')).to be_nil
251
+ end
252
+ end
253
+
254
+ context "with invalid response JSON" do
255
+ before :each do
256
+ allow(subject).to receive(:http_client).and_call_original
257
+
258
+ WebMock.stub_request(:any, 'http://localhost/v1/test').to_return(
259
+ status: 200,
260
+ headers: {
261
+ 'Content-Type' => 'application/json',
262
+ },
263
+ body: 'this is not valid JSON',
264
+ )
265
+ end
266
+
267
+ it "raises Kontena::Errors::StandardError with 520" do
268
+ # XXX: for some reason the response.path is empty?
269
+ expect{subject.get('test')}.to raise_error(Kontena::Errors::StandardError, /Invalid response JSON from server for : JSON::ParserError/)
270
+ end
271
+ end
272
+
236
273
  context "with an empty error response" do
237
274
  before :each do
238
275
  # workaround https://github.com/bblimke/webmock/issues/653
239
276
  expect(http_client).to receive(:request).with(
240
277
  hash_including(path: '/v1/coffee', method: :brew)
241
278
  ) {
242
- raise Excon::Errors::HTTPStatusError.new("I'm a teapot",
279
+ raise Excon::Error::HTTPStatus.new("I'm a teapot",
243
280
  {
244
281
  method: 'brew',
245
282
  path: '/v1/coffee',
@@ -0,0 +1,44 @@
1
+ require 'kontena/stacks/change_resolver'
2
+
3
+ describe Kontena::Stacks::ChangeResolver do
4
+
5
+ let(:loader) { double(:loader) }
6
+ let(:old_data) do
7
+ {
8
+ 'stack-a' => {
9
+ stack_data: {
10
+ 'services' => []
11
+ }
12
+ }
13
+ }
14
+ end
15
+ let(:new_data) do
16
+ {
17
+ 'stack-a' => {
18
+ stack_data: {
19
+ 'services' => []
20
+ },
21
+ loader: loader
22
+ }
23
+ }
24
+ end
25
+
26
+ let(:subject) { described_class.new(old_data, new_data) }
27
+
28
+ describe '#safe?' , :output do
29
+ it 'returns true if no changes' do
30
+ expect(subject.safe?).to be_truthy
31
+ end
32
+
33
+ it 'returns true if only additions' do
34
+ new_data['stack-b'] = new_data['stack-a'].dup
35
+ expect(subject.safe?).to be_truthy
36
+ end
37
+
38
+ it 'returns false if destructive changes' do
39
+ a = new_data.delete('stack-a')
40
+ new_data['stack-b'] = a
41
+ expect(subject.safe?).to be_falsey
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,59 @@
1
+ require 'kontena/stacks/stack_data_set'
2
+
3
+ describe Kontena::Stacks::StackDataSet do
4
+
5
+ let(:loader) { double(:loader) }
6
+ let(:data) do
7
+ {
8
+ 'stack-a' => {
9
+ stack_data: {
10
+ },
11
+ loader: loader
12
+ },
13
+ 'stack-b' => {
14
+ stack_data: {
15
+
16
+ },
17
+ loader: loader
18
+ }
19
+ }
20
+ end
21
+ let(:subject) { described_class.new(data) }
22
+
23
+ describe '#stack' do
24
+ it 'returns nil if stack not found' do
25
+ expect(subject.stack('foo')).to be_nil
26
+ end
27
+
28
+ it 'returns StackData' do
29
+ expect(subject.stack('stack-a')).to be_instance_of(Kontena::Stacks::StackData)
30
+ end
31
+ end
32
+
33
+ describe '#stacks' do
34
+ it 'returns array of StackData objects' do
35
+ stacks = subject.stacks
36
+ expect(stacks.size).to eq(2)
37
+ expect(stacks[0]).to be_instance_of((Kontena::Stacks::StackData))
38
+ end
39
+ end
40
+
41
+ describe '#size' do
42
+ it 'returns size of dataset' do
43
+ expect(subject.size).to eq(2)
44
+ end
45
+ end
46
+
47
+ describe '#stack_names' do
48
+ it 'returns array of stack names' do
49
+ expect(subject.stack_names).to eq(%w(stack-a stack-b))
50
+ end
51
+ end
52
+
53
+ describe '#delete' do
54
+ it 'deletes item from dataset and returns StackData' do
55
+ expect(subject.delete('stack-a')).to be_instance_of(Kontena::Stacks::StackData)
56
+ expect(subject.size).to eq(1)
57
+ end
58
+ end
59
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kontena-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.5.0.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kontena, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-20 00:00:00.000000000 Z
11
+ date: 2018-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -42,44 +42,44 @@ dependencies:
42
42
  name: excon
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.49.0
47
+ version: 0.60.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.49.0
54
+ version: 0.60.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: tty-prompt
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.13.1
61
+ version: 0.14.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.13.1
68
+ version: 0.14.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: clamp
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.1.0
75
+ version: 1.2.1
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.1.0
82
+ version: 1.2.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: ruby_dig
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -94,34 +94,20 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 0.0.2
97
- - !ruby/object:Gem::Dependency
98
- name: launchy
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: 2.4.3
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: 2.4.3
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: hash_validator
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
- - - "~>"
101
+ - - '='
116
102
  - !ruby/object:Gem::Version
117
- version: 0.7.1
103
+ version: 0.8.0
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
- - - "~>"
108
+ - - '='
123
109
  - !ruby/object:Gem::Version
124
- version: 0.7.1
110
+ version: 0.8.0
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: retriable
127
113
  requirement: !ruby/object:Gem::Requirement
@@ -252,6 +238,7 @@ files:
252
238
  - lib/kontena/callbacks/master/deploy/60_configure_auth_provider_after_deploy.rb
253
239
  - lib/kontena/callbacks/master/deploy/70_invite_self_after_deploy.rb
254
240
  - lib/kontena/callbacks/master/deploy/90_proptip_after_deploy.rb
241
+ - lib/kontena/cli/browser_launcher.rb
255
242
  - lib/kontena/cli/bytes_helper.rb
256
243
  - lib/kontena/cli/certificate/authorize_command.rb
257
244
  - lib/kontena/cli/certificate/common.rb
@@ -355,7 +342,6 @@ files:
355
342
  - lib/kontena/cli/master/user/role/remove_command.rb
356
343
  - lib/kontena/cli/master/user/role_command.rb
357
344
  - lib/kontena/cli/master/user_command.rb
358
- - lib/kontena/cli/master/users_command.rb
359
345
  - lib/kontena/cli/master_command.rb
360
346
  - lib/kontena/cli/node_command.rb
361
347
  - lib/kontena/cli/nodes/create_command.rb
@@ -378,6 +364,7 @@ files:
378
364
  - lib/kontena/cli/plugins/search_command.rb
379
365
  - lib/kontena/cli/plugins/show_command.rb
380
366
  - lib/kontena/cli/plugins/uninstall_command.rb
367
+ - lib/kontena/cli/plugins/upgrade_command.rb
381
368
  - lib/kontena/cli/registry/create_command.rb
382
369
  - lib/kontena/cli/registry/remove_command.rb
383
370
  - lib/kontena/cli/registry_command.rb
@@ -412,10 +399,10 @@ files:
412
399
  - lib/kontena/cli/spinner.rb
413
400
  - lib/kontena/cli/stack_command.rb
414
401
  - lib/kontena/cli/stacks/build_command.rb
415
- - lib/kontena/cli/stacks/change_resolver.rb
416
402
  - lib/kontena/cli/stacks/common.rb
417
403
  - lib/kontena/cli/stacks/deploy_command.rb
418
404
  - lib/kontena/cli/stacks/events_command.rb
405
+ - lib/kontena/cli/stacks/inspect_command.rb
419
406
  - lib/kontena/cli/stacks/install_command.rb
420
407
  - lib/kontena/cli/stacks/list_command.rb
421
408
  - lib/kontena/cli/stacks/logs_command.rb
@@ -505,6 +492,9 @@ files:
505
492
  - lib/kontena/scripts/init
506
493
  - lib/kontena/scripts/kontena.bash
507
494
  - lib/kontena/scripts/kontena.zsh
495
+ - lib/kontena/stacks/change_resolver.rb
496
+ - lib/kontena/stacks/stack_data.rb
497
+ - lib/kontena/stacks/stack_data_set.rb
508
498
  - lib/kontena/stacks_cache.rb
509
499
  - lib/kontena/stacks_client.rb
510
500
  - lib/kontena/util.rb
@@ -545,6 +535,7 @@ files:
545
535
  - spec/fixtures/kontena_build_v3.yml
546
536
  - spec/fixtures/kontena_v3.yml
547
537
  - spec/fixtures/kontena_v3_with_compose_variables.yml
538
+ - spec/fixtures/kontena_v3_with_registry_extends.yml
548
539
  - spec/fixtures/stack-internal-extend.yml
549
540
  - spec/fixtures/stack-invalid.yml
550
541
  - spec/fixtures/stack-with-anchors.yml
@@ -564,6 +555,7 @@ files:
564
555
  - spec/fixtures/stack-with-prompted-variables.yml
565
556
  - spec/fixtures/stack-with-variables.yml
566
557
  - spec/fixtures/stack-with-volumes.yml
558
+ - spec/kontena/cli/certificates/authorize_command_spec.rb
567
559
  - spec/kontena/cli/certificates/export_command_spec.rb
568
560
  - spec/kontena/cli/certificates/import_command_spec.rb
569
561
  - spec/kontena/cli/certificates/show_command_spec.rb
@@ -590,7 +582,9 @@ files:
590
582
  - spec/kontena/cli/master/join_command_spec.rb
591
583
  - spec/kontena/cli/master/login_command_spec.rb
592
584
  - spec/kontena/cli/master/logout_command_spec.rb
585
+ - spec/kontena/cli/master/token/create_command_spec.rb
593
586
  - spec/kontena/cli/master/token/current_spec.rb
587
+ - spec/kontena/cli/master/token/show_command_spec.rb
594
588
  - spec/kontena/cli/master/use_command_spec.rb
595
589
  - spec/kontena/cli/master/user/invite_command_spec.rb
596
590
  - spec/kontena/cli/master/user/remove_command_spec.rb
@@ -671,6 +665,8 @@ files:
671
665
  - spec/kontena/plugin_manager/rubygems_client_spec.rb
672
666
  - spec/kontena/plugin_manager/uninstaller_spec.rb
673
667
  - spec/kontena/plugin_manager_spec.rb
668
+ - spec/kontena/stacks/change_resolver_spec.rb
669
+ - spec/kontena/stacks/stack_data_set_spec.rb
674
670
  - spec/spec_helper.rb
675
671
  - spec/support/client_helpers.rb
676
672
  - spec/support/exit_with_error_helper.rb
@@ -691,15 +687,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
691
687
  requirements:
692
688
  - - ">="
693
689
  - !ruby/object:Gem::Version
694
- version: 2.1.0
690
+ version: 2.2.0
695
691
  required_rubygems_version: !ruby/object:Gem::Requirement
696
692
  requirements:
697
- - - ">="
693
+ - - ">"
698
694
  - !ruby/object:Gem::Version
699
- version: '0'
695
+ version: 1.3.1
700
696
  requirements: []
701
697
  rubyforge_project:
702
- rubygems_version: 2.7.3
698
+ rubygems_version: 2.7.6
703
699
  signing_key:
704
700
  specification_version: 4
705
701
  summary: Kontena command line tool
@@ -721,6 +717,7 @@ test_files:
721
717
  - spec/fixtures/kontena_build_v3.yml
722
718
  - spec/fixtures/kontena_v3.yml
723
719
  - spec/fixtures/kontena_v3_with_compose_variables.yml
720
+ - spec/fixtures/kontena_v3_with_registry_extends.yml
724
721
  - spec/fixtures/stack-internal-extend.yml
725
722
  - spec/fixtures/stack-invalid.yml
726
723
  - spec/fixtures/stack-with-anchors.yml
@@ -740,6 +737,7 @@ test_files:
740
737
  - spec/fixtures/stack-with-prompted-variables.yml
741
738
  - spec/fixtures/stack-with-variables.yml
742
739
  - spec/fixtures/stack-with-volumes.yml
740
+ - spec/kontena/cli/certificates/authorize_command_spec.rb
743
741
  - spec/kontena/cli/certificates/export_command_spec.rb
744
742
  - spec/kontena/cli/certificates/import_command_spec.rb
745
743
  - spec/kontena/cli/certificates/show_command_spec.rb
@@ -766,7 +764,9 @@ test_files:
766
764
  - spec/kontena/cli/master/join_command_spec.rb
767
765
  - spec/kontena/cli/master/login_command_spec.rb
768
766
  - spec/kontena/cli/master/logout_command_spec.rb
767
+ - spec/kontena/cli/master/token/create_command_spec.rb
769
768
  - spec/kontena/cli/master/token/current_spec.rb
769
+ - spec/kontena/cli/master/token/show_command_spec.rb
770
770
  - spec/kontena/cli/master/use_command_spec.rb
771
771
  - spec/kontena/cli/master/user/invite_command_spec.rb
772
772
  - spec/kontena/cli/master/user/remove_command_spec.rb
@@ -847,6 +847,8 @@ test_files:
847
847
  - spec/kontena/plugin_manager/rubygems_client_spec.rb
848
848
  - spec/kontena/plugin_manager/uninstaller_spec.rb
849
849
  - spec/kontena/plugin_manager_spec.rb
850
+ - spec/kontena/stacks/change_resolver_spec.rb
851
+ - spec/kontena/stacks/stack_data_set_spec.rb
850
852
  - spec/spec_helper.rb
851
853
  - spec/support/client_helpers.rb
852
854
  - spec/support/exit_with_error_helper.rb