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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0a62cde1e86bf987531722246cf273df2b4aeea6cad29e5de11ea768d725ecc
4
- data.tar.gz: 8d6563f57469cf82bddf0cc4fc8c916317c353145e6a321eca8dc6f5d10a6af2
3
+ metadata.gz: 7f69884ef6e30281b67385b81819ffed74011f7a01e9358a0f1b77a7444331e5
4
+ data.tar.gz: e6cd8ab2e34d054a52080820b0d3ecf1839311a65b4c4549c78d174b55a98fc0
5
5
  SHA512:
6
- metadata.gz: 828accbdd1ce45d263a3a835d4ff5b7431e535f4ea214f4b2ae31765d2092e0825d8b317c887919a0974b6a2cdd0636fc36086e3cf578088029d191ac3598811
7
- data.tar.gz: 9b33cacce0e6afa653270bb944999fdc43e41ef296a7ed03371024304367604741f8142fe9440a115056118c4094bbf4e45d69db1f99367f76b40f071d2bbc78
6
+ metadata.gz: 720a65d065a919c187c81d29d07813a6ab5cb8c5522c18cbe62fa9bb8dac5f148c6936ec7c56d4bfc6075b482569e4619bae81cc4dec8c01beb4c006182a4935
7
+ data.tar.gz: 063c4d468b3a0ffcb32e48ea71648f84ab4aa334dc64cc5efdfad5aa3ca9f6a08517733a15de79b89fc2c302543d1947a5af46fb65bf01c175094d8fc328027c
@@ -19,7 +19,7 @@ jobs:
19
19
  runs-on: ubuntu-latest
20
20
  strategy:
21
21
  matrix:
22
- ruby-version: ['3.0', '3.1']
22
+ ruby-version: ['3.0', '3.1', '3.2']
23
23
 
24
24
  steps:
25
25
  - uses: actions/checkout@v2
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.2
1
+ 3.2.0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ **1.2.2**
2
+ - Support Ruby 3.2.0
3
+
1
4
  **1.2.1**
2
5
  - Update shell commands so that STDERR stream won't be merged for commands using the command result.
3
6
  - kit sh would also set current default configuration
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.1 |
23
- | > 3.0 | 1.2.0 |
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.exists?(root_path)
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.exists?(config_file_path)
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.exists?(dir_path)
141
+ unless Dir.exist?(dir_path)
142
142
  FileUtils.mkdir_p(dir_path)
143
143
  end
144
144
  end
@@ -45,7 +45,7 @@ class KuberKit::Tools::LoggerFactory
45
45
  private
46
46
  def prepare_log_file(file_path)
47
47
  dir_path = File.dirname(file_path)
48
- unless Dir.exists?(dir_path)
48
+ unless Dir.exist?(dir_path)
49
49
  FileUtils.mkdir_p(dir_path)
50
50
  end
51
51
  FileUtils.touch(file_path)
@@ -1,3 +1,3 @@
1
1
  module KuberKit
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
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: 1.2.1
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-01-09 00:00:00.000000000 Z
11
+ date: 2023-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: contracts