kuber_kit 1.3.3 → 1.3.4

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: e7a15c35161f8c5761166a3c41dbc90266cc3ae51d1cfa9072d3fa388d7989e2
4
- data.tar.gz: d8099224340a4853898d990c3da88885db319c5b1025c660ae86427bf41dcaa2
3
+ metadata.gz: f784985d9b293274a28f84bddcae4acafab7a06cf6c7d708bdb9edd7f8995a54
4
+ data.tar.gz: d3e54ad8fc2866405fa166f548c799b456c89c236d23e2359df49ea24e47666d
5
5
  SHA512:
6
- metadata.gz: b7237d18746045b3a9017efd958191fc80339c321945bb6a4fceffa0320c15832e4b04710636b56977ab8df22bd0f5770bb970a83797e6c9a4aa22a4efea0093
7
- data.tar.gz: 30e94daaafd019195a7ab46ffe07d619af7bcbbe06d87e288f4e3e50ca8e926a9270dfa7716b72cbfcec0d480a9fa2979422c676ea4df7a3fdd0dbc03ff2b4c0
6
+ metadata.gz: 6620ef8a0095d7903141b21f08e51539d9f56974f41175ce90f4249bbbb54f0d10f05122709ec4d3a37455497a80645b48dc2aeade58bdd5ac4266e4a26b7a7c
7
+ data.tar.gz: 7e4883ff8f89860808b41efa4887f6bf217ed30622b7a480d70b9e840ac542757ae6e028181ea07dc1d3f25d40139878c0f21490a7b85de9683285b2419f38e9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ **1.3.4**
2
+ - Fix checking branch name in git artifact update
3
+ - Make LocalContextHelper compatible with ruby 3
4
+
1
5
  **1.3.3**
2
6
  - Support "partials" in the templates with "render" method.
3
7
  - Cleanup artifacts after deployment if cache_result: false
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.5 |
23
- | > 3.0 | 1.2.6 |
22
+ | 2.7 | 1.1.6 |
23
+ | > 3.0 | 1.3.3 |
24
24
 
25
25
  ## Usage
26
26
 
@@ -37,7 +37,7 @@ class KuberKit::ArtifactsSync::Strategies::GitUpdater < KuberKit::ArtifactsSync:
37
37
  end
38
38
 
39
39
  target_branch = git_commands.get_branch_name(shell, repo_path)
40
- if target_branch != artifact.branch
40
+ if target_branch != artifact.branch.to_s
41
41
  return false
42
42
  end
43
43
 
@@ -4,11 +4,11 @@ class KuberKit::Core::ContextHelper::LocalContextHelper < KuberKit::Core::Contex
4
4
  @variables = variables
5
5
  end
6
6
 
7
- def method_missing(method_name, *args, &block)
7
+ def method_missing(method_name, *args, **kwargs, &block)
8
8
  if @variables.has_key?(method_name)
9
9
  @variables[method_name]
10
10
  else
11
- @parent_context_helper.send(method_name, *args, &block)
11
+ @parent_context_helper.send(method_name, *args, **kwargs, &block)
12
12
  end
13
13
  end
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module KuberKit
2
- VERSION = "1.3.3"
2
+ VERSION = "1.3.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuber_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Iskander Khaziev