helmsnap 0.3.1 → 0.3.2

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: 966b83ea78caa28ab5d0a19a1022978aa3f3f36d28c9d80a84cebac2316b3d88
4
- data.tar.gz: d113a21da6698d8480d2394bfcd2e62332cefff5c75f0f97e64ffd34e34a52e0
3
+ metadata.gz: b55e83c50e04e5cba9d2a16b4e805a1427f0de01fb7e00fcbf00aab0a105b4a8
4
+ data.tar.gz: 443d1fb5af1df2471a9d521c216c0199a7f005a10c94ae0c14b71d01bedf6de7
5
5
  SHA512:
6
- metadata.gz: fd90a220bb15e9426dbe3be6fb68f2c2ebfb09c3c651f6031e29aed9dca2b70fa533111c7f6b1ea1242c244e468b83d82f9c0459c8b6797de6a38da68ba1d504
7
- data.tar.gz: 904a82feebc584846a99c9099ec52e2f425b0d8f901500110e4b0652044de8e92b5eb59b522cabc3ef031ba888b78fe4890b2109f74ccb9cc0b1d4d44c5d514f
6
+ metadata.gz: 78819d406edbdda47378143189c28b2f83c227f3f5ed1e0d8834bb81441a81200bb6f77b0413cd5903b0e25960515717016d67bc1021bc0e66eca5912cde543b
7
+ data.tar.gz: d599a6a266c749ca60c50a05b383a425e198b67200993eb97009ccac91ab75c67952f2795f3b11f0de56dcfe7916e5f6f10217ebaea18311675563489ffc0026
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- helmsnap (0.3.0)
4
+ helmsnap (0.3.2)
5
5
  colorize
6
6
 
7
7
  GEM
@@ -46,10 +46,19 @@ class Helmsnap::Runner
46
46
  if Helmsnap::Check.call(**options.to_h)
47
47
  Helmsnap::Console.info($stdout, "Snapshots are up-to-date.")
48
48
  else
49
+ example_cmd = Shellwords.join(
50
+ [
51
+ "helmsnap", "generate",
52
+ "--chart-dir", options.chart_path,
53
+ "--snapshots-dir", options.snapshots_path,
54
+ "--values", options.values_path
55
+ ],
56
+ )
57
+
49
58
  Helmsnap::Console.error(
50
59
  $stdout,
51
- "Snapshots are outdated, you should check the diff above and either fix your chart or " \
52
- "update the snapshots using `helmsnap generate` command.",
60
+ "Snapshots are outdated. You should check the diff above and either fix your chart or " \
61
+ "update the snapshots using the following command:\n> #{example_cmd}",
53
62
  )
54
63
 
55
64
  exit 1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Helmsnap
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helmsnap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuri Smirnov