kuber_kit 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rspec.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +3 -0
- data/README.md +2 -2
- data/lib/kuber_kit/actions/configuration_loader.rb +1 -1
- data/lib/kuber_kit/cli.rb +1 -1
- data/lib/kuber_kit/shell/local_shell.rb +1 -1
- data/lib/kuber_kit/tools/logger_factory.rb +1 -1
- 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: 7f69884ef6e30281b67385b81819ffed74011f7a01e9358a0f1b77a7444331e5
|
4
|
+
data.tar.gz: e6cd8ab2e34d054a52080820b0d3ecf1839311a65b4c4549c78d174b55a98fc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 720a65d065a919c187c81d29d07813a6ab5cb8c5522c18cbe62fa9bb8dac5f148c6936ec7c56d4bfc6075b482569e4619bae81cc4dec8c01beb4c006182a4935
|
7
|
+
data.tar.gz: 063c4d468b3a0ffcb32e48ea71648f84ab4aa334dc64cc5efdfad5aa3ca9f6a08517733a15de79b89fc2c302543d1947a5af46fb65bf01c175094d8fc328027c
|
data/.github/workflows/rspec.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.2.0
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -19,8 +19,8 @@ Please install specific kuber_kit version, depending on Ruby version.
|
|
19
19
|
| Ruby Version | KuberKit Version |
|
20
20
|
| ------------ | ------------ |
|
21
21
|
| 2.6 | 1.0.1 |
|
22
|
-
| 2.7 | 1.1.
|
23
|
-
| > 3.0 | 1.2.
|
22
|
+
| 2.7 | 1.1.2 |
|
23
|
+
| > 3.0 | 1.2.2 |
|
24
24
|
|
25
25
|
## Usage
|
26
26
|
|
@@ -31,7 +31,7 @@ class KuberKit::Actions::ConfigurationLoader
|
|
31
31
|
|
32
32
|
ui.print_info("Logs", "See logs at: #{configs.log_file_path}")
|
33
33
|
|
34
|
-
unless File.
|
34
|
+
unless File.exist?(root_path)
|
35
35
|
ui.print_warning "ConfigurationLoader", "KuberKit root path #{root_path} doesn't exist. You may want to pass it --path parameter."
|
36
36
|
end
|
37
37
|
|
data/lib/kuber_kit/cli.rb
CHANGED
@@ -209,7 +209,7 @@ class KuberKit::CLI < Thor
|
|
209
209
|
# We should load config before loading any bean, to make sure that bean won't be built with default config
|
210
210
|
root_path = KuberKit::Container['tools.workdir_detector'].call(options)
|
211
211
|
config_file_path = File.join(root_path, APP_CONFIG_FILENAME)
|
212
|
-
if File.
|
212
|
+
if File.exist?(config_file_path)
|
213
213
|
require config_file_path
|
214
214
|
end
|
215
215
|
end
|
@@ -138,7 +138,7 @@ class KuberKit::Shell::LocalShell < KuberKit::Shell::AbstractShell
|
|
138
138
|
def ensure_directory_exists(file_path)
|
139
139
|
dir_path = File.dirname(file_path)
|
140
140
|
|
141
|
-
unless Dir.
|
141
|
+
unless Dir.exist?(dir_path)
|
142
142
|
FileUtils.mkdir_p(dir_path)
|
143
143
|
end
|
144
144
|
end
|
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: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Iskander Khaziev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: contracts
|