kuber_kit 0.6.2 → 0.6.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9436f738b564585856ce6daa51aae3b55eeb0b33e68710c6d8be4b8a9cfa465
4
- data.tar.gz: 12ed77727bfb8af6d719576e2676e5f3d12d9d5ab1b9a69b77c3804f4e64e175
3
+ metadata.gz: b49fec2466dab5c48794df5e7005bc7084fe0e3056cdaaaee5ed8a41141f421f
4
+ data.tar.gz: a6c5d9f5a88e472050bc0077ed33a8116ab3d046a9772a76f581cf1edfdccbac
5
5
  SHA512:
6
- metadata.gz: 31b571193f5130591b1f2bcfc73e42bb01bb5285beffbab26909e4ebccc765bc161b73897cc3d46e70ed2bc5975e445e02e6a0855493bb8ecad19f7b638d8685
7
- data.tar.gz: 306aa5f9f87e075abc9fa65884ae211b9235039950dc1985c2f789d85b518f72d46a44c67def3f8af134b7cb1e6fc023b8755dd509f28721fa412bba3fa982ab
6
+ metadata.gz: f5554eda2be4b918168ff3a353486f7e5aceab2d9d1e006f2601d8af1849b26369d3fd861a30157e549eb4409fc24358f13ad25267e8c72b7df9e03bf1391166
7
+ data.tar.gz: f1fd125a176cf1debd8156db61c5d2a83b24671d6113bb12797a8ede8367c94698ad542139b3294739c5d1ab1bd99e654be49e87512ae5ff8a0930d893666602
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ **0.6.3**
2
+ - Fix updating artifacts when there is only local artifacts
3
+
1
4
  **0.6.2**
2
5
  - Added an ability to return build vars as a hash value.
3
6
  - Skip local artifacts while updating configuration, it sometimes produce an error
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kuber_kit (0.6.2)
4
+ kuber_kit (0.6.3)
5
5
  cli-ui
6
6
  contracts-lite
7
7
  dry-auto_inject (~> 0.7.0)
@@ -18,7 +18,7 @@ GEM
18
18
  concurrent-ruby (1.1.9)
19
19
  contracts-lite (0.15.0)
20
20
  diff-lcs (1.4.4)
21
- docile (1.3.2)
21
+ docile (1.4.0)
22
22
  dry-auto_inject (0.7.0)
23
23
  dry-container (>= 0.3.4)
24
24
  dry-configurable (0.12.1)
@@ -33,7 +33,7 @@ GEM
33
33
  net-ssh (6.1.0)
34
34
  pastel (0.8.0)
35
35
  tty-color (~> 0.5)
36
- pry (0.13.1)
36
+ pry (0.14.1)
37
37
  coderay (~> 1.1)
38
38
  method_source (~> 1.0)
39
39
  rake (10.5.0)
@@ -41,21 +41,21 @@ GEM
41
41
  rspec-core (~> 3.10.0)
42
42
  rspec-expectations (~> 3.10.0)
43
43
  rspec-mocks (~> 3.10.0)
44
- rspec-core (3.10.0)
44
+ rspec-core (3.10.1)
45
45
  rspec-support (~> 3.10.0)
46
- rspec-expectations (3.10.0)
46
+ rspec-expectations (3.10.1)
47
47
  diff-lcs (>= 1.2.0, < 2.0)
48
48
  rspec-support (~> 3.10.0)
49
- rspec-mocks (3.10.0)
49
+ rspec-mocks (3.10.2)
50
50
  diff-lcs (>= 1.2.0, < 2.0)
51
51
  rspec-support (~> 3.10.0)
52
- rspec-support (3.10.0)
53
- simplecov (0.20.0)
52
+ rspec-support (3.10.2)
53
+ simplecov (0.21.2)
54
54
  docile (~> 1.1)
55
55
  simplecov-html (~> 0.11)
56
56
  simplecov_json_formatter (~> 0.1)
57
57
  simplecov-html (0.12.3)
58
- simplecov_json_formatter (0.1.2)
58
+ simplecov_json_formatter (0.1.3)
59
59
  thor (1.1.0)
60
60
  tty-color (0.6.0)
61
61
  tty-cursor (0.7.1)
@@ -99,12 +99,12 @@ class KuberKit::Actions::ConfigurationLoader
99
99
  end
100
100
 
101
101
  def update_artifacts(artifacts)
102
- return unless artifacts.any?
103
-
104
102
  # Skip local artifacts, they sometimes produce error in CLI::UI::SpinGroup task,
105
103
  # because the task is executed too quickly
106
104
  not_local_artifacts = artifacts.reject{ |a| a.is_a?(KuberKit::Core::Artifacts::Local) }
107
105
 
106
+ return unless not_local_artifacts.any?
107
+
108
108
  artifact_task_group = ui.create_task_group
109
109
  not_local_artifacts.each do |artifact|
110
110
  artifact_task_group.add("Updating #{artifact.name.to_s.yellow}") do |task|
@@ -46,6 +46,7 @@ class KuberKit::UI::Simple
46
46
  class TaskGroup
47
47
  def initialize(task_class)
48
48
  @task_class = task_class
49
+ @tasks
49
50
  end
50
51
 
51
52
  def add(task_title, &task_block)
@@ -1,3 +1,3 @@
1
1
  module KuberKit
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuber_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Iskander Khaziev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-26 00:00:00.000000000 Z
11
+ date: 2021-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: contracts-lite