kuby-digitalocean 0.4.0 → 0.4.1

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: 3cb1cf88b3d447c272981eef795e12563e627c834d8128fe9d473cb3d14c4f5c
4
- data.tar.gz: d08c12bae45dc662ad264d41dc23bfbb88f20b438334ebb3c06157b2126d61f6
3
+ metadata.gz: 2d4a45f5ad3c012693d81158d27c78c915440804d8a9d05ea5566d1838fde75a
4
+ data.tar.gz: 061347a37ae9e295f838ffb390c535c04b733a4b0f884337020558ccc49c65ac
5
5
  SHA512:
6
- metadata.gz: 2f2d29f461ef78cf5eb4a8c80cd82d6bde0b36608d769e676b43ac0e6fe84facdd299c85e7ffb1e5a9bbf9dbf86df84e4603e9ad0ba17123deeaba7a29762688
7
- data.tar.gz: a3830cf55e97ef295f203ba5c13a30a7a35f0bb43e81fb8f4efffba0fe3bdc0a80a46e57f085020148aeeb9cd323c471ab41dbf7ced09fac7a1869e0efd78cb0
6
+ metadata.gz: fbe9c2b979c268f140b830840449a04b7ca3ad8adf58dd8f6335304e7c637c4a2312fc19419426da9dcc5bd9aed767cb6b72cb8fbf1a129eebca79a4689b076c
7
+ data.tar.gz: 5a982e955671699918f4774871988ba90afe37fae5055c4a982e454bee8972b15b6bd67c421b5477f62dbf086676a0ddf98afb22910967e3de9171d78de515da
@@ -1,3 +1,6 @@
1
+ ## 0.4.1
2
+ * Fix bug causing kubeconfig to not get refreshed prior to executing commands.
3
+
1
4
  ## 0.4.0
2
5
  * Accept `environment` instead of `definition` instances.
3
6
 
@@ -57,12 +57,6 @@ module Kuby
57
57
  refresh_kubeconfig
58
58
  end
59
59
 
60
- def after_initialize
61
- kubernetes_cli.before_execute do
62
- refresh_kubeconfig
63
- end
64
- end
65
-
66
60
  def storage_class_name
67
61
  STORAGE_CLASS_NAME
68
62
  end
@@ -71,6 +65,10 @@ module Kuby
71
65
 
72
66
  def after_initialize
73
67
  @config = Config.new
68
+
69
+ kubernetes_cli.before_execute do
70
+ refresh_kubeconfig
71
+ end
74
72
  end
75
73
 
76
74
  def client
@@ -1,5 +1,5 @@
1
1
  module Kuby
2
2
  module DigitalOcean
3
- VERSION = '0.4.0'.freeze
3
+ VERSION = '0.4.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuby-digitalocean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Dutro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-30 00:00:00.000000000 Z
11
+ date: 2020-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: droplet_kit