krane 3.5.2 → 3.5.3

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: 52cc9b71135229c675d72b67b871b4247fb473ab58805980640c126eab8c378b
4
- data.tar.gz: 20ab95c9842ec0b7c309ad13d0246fdab355724642638198cb20dec17fbc4576
3
+ metadata.gz: af0a06d99b0fc63d756c43fc6eb172e8f8740593b82f9796606cc4a991e5fdd2
4
+ data.tar.gz: 2dc66222f165edd14b610f95cf222c46b37a4ba329facb91af5459bceed84908
5
5
  SHA512:
6
- metadata.gz: ccf18bf09655b599d8cf1a25c85c602713dbf3110e1acaeec7212de5fefd8b478eea26bd2b1ac4191cd48b072f07808927bb9ae668862ab7540c40ac575b7bf9
7
- data.tar.gz: 79e18c3bd9d219924cc42dc6a9136b5d190b9c8009c3342ca2457c373749e202f78d1957bbf4c82b6cfee410a8aabe0fa008ee5fbf159e947f9bd937911ead27
6
+ metadata.gz: 2372c3bdc698d592f732e7bff2ef5d7a0b44d9d4bd062eeb5ea65e5fc18f5e5cf52f54e3a43bfcdd07d7b1793afc8ce5ca7b34275a6e0d4c2edf7465d4c4d7aa
7
+ data.tar.gz: 5db1734d216135fb0655e8c979c216c9d3adfa7c09f1e336594603b466b818dd4db3acdb5a90b86fb46d947e283a0bf207bee824a5dd31bea2e1c599bea2df90
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## next
2
2
 
3
+ ## 3.5.3
4
+
5
+ - Fix a minor bug in the RestartAPIError class (https://github.com/Shopify/krane/pull/953)
6
+
3
7
  ## 3.5.2
4
8
 
5
9
  - Fixed an issue where deploying StatefulSets monitored the health of the previous revision's pods instead of the updated one.
@@ -12,10 +12,9 @@ module Krane
12
12
  class FatalRestartError < FatalDeploymentError; end
13
13
 
14
14
  class RestartAPIError < FatalRestartError
15
- def initialize(deployment_name, response)
15
+ def initialize(deployment_name, message)
16
16
  super("Failed to restart #{deployment_name}. " \
17
- "API returned non-200 response code (#{response.code})\n" \
18
- "Response:\n#{response.body}")
17
+ "Error:\n#{message}")
19
18
  end
20
19
  end
21
20
 
data/lib/krane/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Krane
3
- VERSION = "3.5.2"
3
+ VERSION = "3.5.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: krane
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.2
4
+ version: 3.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katrina Verey
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2024-04-22 00:00:00.000000000 Z
13
+ date: 2024-05-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -525,7 +525,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
525
525
  - !ruby/object:Gem::Version
526
526
  version: '0'
527
527
  requirements: []
528
- rubygems_version: 3.5.9
528
+ rubygems_version: 3.5.10
529
529
  signing_key:
530
530
  specification_version: 4
531
531
  summary: A command line tool that helps you ship changes to a Kubernetes namespace