bcome 0.5.3 → 0.5.4

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
  SHA1:
3
- metadata.gz: 3ac9398e6673878f4324e6127900c8939b1a0cdf
4
- data.tar.gz: 102944f7cb3396666308c200715e7e2daa72483c
3
+ metadata.gz: baa25e8bbdc61687e14d81b644d36d53b5028165
4
+ data.tar.gz: d42ad014b8f9a2b25ca79f4ab696de66bf4e9cb0
5
5
  SHA512:
6
- metadata.gz: 7a9ad2aa82e1862b1b4c20a585ce2a193277a95b67ce4e32aff53cbc865a852ea8dd0157fa1bf10e1e0ec6a31a071817489c54da06a6a430bdfd5946bb3106cf
7
- data.tar.gz: 0cb412f74956ac92be3477cd8de71807d9cc1fbe25b5b30217bd707bc8d5634b3134991f5bb3fb0a500cb7eb8355a9bad87cb9744cf8b07ae47a495ed7e1dd2d
6
+ metadata.gz: 9ef97081e69b7668e5a5ff154a557c899da0cdcdc4c08f9f0e9a9b921da317a9082a4965a39bf6c05229fdd76170d8f483875741459690337f436411bac44b62
7
+ data.tar.gz: afe132d91d25dbdda2518a8088a58d0263f61687207fd99d261587b1ecfe18b0e6776fa7f1ba1a541b673e0487eb3d9faa842a5ea7956e460f58ed92b461a7d4
data/lib/bcome/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bcome
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
@@ -15,6 +15,7 @@ module ::Bcome::FogHelper
15
15
  def reload!
16
16
  @unfiltered_servers = fog_client.servers.all(ec2_filters)
17
17
  @resources = do_load_resources
18
+ init
18
19
  system("clear")
19
20
  list
20
21
  end
data/lib/stack/base.rb CHANGED
@@ -50,7 +50,8 @@ module ::Bcome::Stack
50
50
  end
51
51
 
52
52
  def node
53
- @node ||= construct_node
53
+ init unless @node
54
+ @node
54
55
  end
55
56
 
56
57
  def respond_to_bcome_context_method?(method_sym)
@@ -74,7 +75,7 @@ module ::Bcome::Stack
74
75
  end
75
76
 
76
77
  def init
77
- node
78
+ @node = construct_node
78
79
  end
79
80
 
80
81
  ###
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bcome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Roderick (Webzakimbo)