kuber_kit 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/lib/kuber_kit/shell/local_shell.rb +1 -1
- data/lib/kuber_kit/tools/build_dir_cleaner.rb +4 -0
- data/lib/kuber_kit/version.rb +1 -1
- 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: 22fa30a7280f081e3071589c5573ecfef1c92d0da6c93f887a4270ed8c3569a7
|
4
|
+
data.tar.gz: 93bb6739fea844065a2a766888c5a1dbd0bb5be81939f6c22673d5cf04fcc1fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2881ba6ef63cc7a93674628308c0f50b3a1d41999b9e4d7068e32d3df046321640c3f1ef4eeadd807ca0382f6b132630985ef113f2a54970b44488312cec4b1a
|
7
|
+
data.tar.gz: 5bf0b67143f884538587bd62c7817196417d7f6280af5066260fc3ca4bcc6ce86e4d7ff81b7178bb8559e500c40456f9d51e805ddf318e2c76d9777cf0805ead
|
data/CHANGELOG.md
CHANGED
@@ -59,7 +59,7 @@ class KuberKit::Shell::LocalShell < KuberKit::Shell::AbstractShell
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def replace!(shell_name: nil, env: [], log_command: true)
|
62
|
-
shell_name ||= "$SHELL"
|
62
|
+
shell_name ||= "$SHELL --login"
|
63
63
|
command = (env + [shell_name]).join(" ")
|
64
64
|
|
65
65
|
if log_command
|
@@ -11,7 +11,11 @@ class KuberKit::Tools::BuildDirCleaner
|
|
11
11
|
|
12
12
|
dirs_to_delete.each do |dir|
|
13
13
|
bash_commands.rm_rf(shell, dir)
|
14
|
+
rescue KuberKit::Shell::AbstractShell::ShellError => e
|
15
|
+
ui.print_debug "BuildDirCleaner", "Error while removing directory: #{e.inspect}"
|
14
16
|
end
|
17
|
+
rescue KuberKit::Shell::AbstractShell::DirNotFoundError
|
18
|
+
ui.print_debug "BuildDirCleaner", "Build directory not found"
|
15
19
|
end
|
16
20
|
|
17
21
|
private
|
data/lib/kuber_kit/version.rb
CHANGED
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.9.
|
4
|
+
version: 0.9.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Iskander Khaziev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: contracts
|