kubernetes_template_rendering 0.2.1 → 0.2.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: 687be8fde4f952b4f2a8eae636a807a19d6a8c609fbe34c198e6e7d20215ef91
4
- data.tar.gz: 04ff6091e0c2382f7671cea095c25487cab558d6c5f73d510e0fdb9390c39ef4
3
+ metadata.gz: a2a7b19edd63bd6d9b5c089a5588f3cda0bdfb789a1eae3a968f42189b5efd90
4
+ data.tar.gz: '081a8223e943d2bcba55b01da53f12700eb973a1c2785c672b7da576ebcb34d6'
5
5
  SHA512:
6
- metadata.gz: ae06721a86171782ecaae0fb867461966a22c0721d7ede3b4b112a4ea8d432854bc03517e83f267d4f3bcb0e3df00c7e08cfd6e2938c862e9b028c58bbdcc25f
7
- data.tar.gz: c99dd7d94b00c794bf6b86dc1ca6856d0dab6755d982360b58b030f37935d52ba06f375aecf127375a70e1dd413934fb439ddec67908ad218c534f739bdb414e
6
+ metadata.gz: c4ad9b240eda9d206b133c035f9aadc89e096f853326b049ffa2108a3f021b4163967f7ebd359e42a40c040d356aafda41ff14a903bce79c71f96e8c649c7552
7
+ data.tar.gz: d4a0d30e0beb739bf95af62d022cb66124c90a8a8b00b59fdeccb3a790771e40fa807724cc5ce88cb455351c02bfb402ab9ca93b2bee1cd4a85975f513a996dc
data/CHANGELOG.md CHANGED
@@ -4,10 +4,18 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
5
  Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [0.2.1] - 2024-06-17
7
+ ## [0.2.3] - 2025-03-25
8
+ ### Fixed
9
+ - Fixed `--variable-override` to accept multiple arguments to override multiple variables
10
+
11
+ ## [0.2.2] - 2024-06-17
8
12
  ### Fixed
9
13
  - Fixed a bug allowing child process errors to be ignored while rendering.
10
14
 
15
+ ## [0.2.1] - 2024-11-22
16
+ ### Fixed
17
+ - Fixed a bug where attempting to use `activesupport` 8 was causing installation issues
18
+
11
19
  ## [0.2.0] - 2024-05-06
12
20
  ### Added
13
21
  - Added support for passing `--source-repo` flag into command line so that the rendered manifest comments can include a link to the source repository.
data/catalog-info.yaml CHANGED
@@ -1,19 +1,36 @@
1
+ # This file is partially auto-generated by the invoca-backstage-tools gem
2
+ # The following fields should not be edited manually as they are auto-generated
3
+ # based on the contents of the repo:
4
+ # - metadata.name
5
+ # - metadata.title
6
+ # - metadata.description
7
+ # - annotations.github.com/project-slug
8
+ # - invoca.com/version-repository-location
9
+ # - invoca.com/version-repository-name
10
+ # - spec.type
11
+ # - spec.owner
12
+ ---
1
13
  apiVersion: backstage.io/v1alpha1
2
14
  kind: Component
3
15
  metadata:
4
- name: kubernetes_template_rendering
5
- title: Kubernetes Template Rendering gem
6
- description: |
7
- A Ruby gem that provides a way to render Kubernetes templates using ERB and Jsonnet.
16
+ name: kubernetes_template_rendering-gem
17
+ title: KubernetesTemplateRendering
18
+ description: Tool for rendering ERB and Jsonnet templates
8
19
  annotations:
9
- github.com/project-slug: invoca/kubernetes_template_rendering
10
- backstage.io/adr-location: >-
11
- https://github.com/Invoca/kubernetes_template_rendering/tree/main/docs/adrs
12
- backstage.io/techdocs-ref: dir:.
13
20
  buildkite.com/project-slug: invoca/kubernetes-template-rendering
21
+ github.com/project-slug: invoca/kubernetes_template_rendering
14
22
  invoca.com/version-repository-location: rubygems
15
23
  invoca.com/version-repository-name: kubernetes_template_rendering
24
+ backstage.io/adr-location: https://github.com/Invoca/kubernetes_template_rendering/tree/main/docs/adrs
25
+ backstage.io/techdocs-ref: dir:.
26
+ tags:
27
+ - ruby
28
+ - gem
29
+ - executable
30
+ - private
16
31
  spec:
17
- type: Library
32
+ type: library
18
33
  lifecycle: production
19
34
  owner: octothorpe
35
+ dependsOn:
36
+ - component:invoca-utils-gem
@@ -34,9 +34,12 @@ module KubernetesTemplateRendering
34
34
  op.on("--[no-]prune", "enable/disable pruning of untouched resources") { args.prune = _1 }
35
35
  op.on("--source-repo=SOURCE_REPO", "set the source repo for the rendered templates") { args.source_repo = _1 }
36
36
 
37
- op.on("--variable-override=KEY:VALUE", "override a variable value set within definitions.yaml") do |override|
38
- args.variable_overrides ||= {}
39
- args.variable_overrides.merge!(Hash[[override.split(":", 2)]])
37
+ op.on("--variable-override=KEY:VALUE", "override a variable value set within definitions.yaml", Array) do |overrides|
38
+ args.variable_overrides ||= {} # Initialize as a Hash
39
+ overrides.each do |override|
40
+ key, value = override.split(":", 2)
41
+ args.variable_overrides[key] = value if key && value
42
+ end
40
43
  end
41
44
 
42
45
  op.on("-h", "--help") do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KubernetesTemplateRendering
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.3"
5
5
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kubernetes_template_rendering
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Octothorpe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-17 00:00:00.000000000 Z
11
+ date: 2025-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "<"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '8'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "<"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '8'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jsonnet
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubygems_version: 3.3.26
111
+ rubygems_version: 3.4.20
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Tool for rendering ERB and Jsonnet templates