bcome 0.6.10 → 0.6.11

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: 52610d7514cc0f00c5fae318ec4ea4df718669fb
4
- data.tar.gz: 20843e08dc83bc72b4c9ffed7bb73e25d59e6dd3
3
+ metadata.gz: d82d1acbe4bc07f9e18edd55c9b9e25643b9bc5d
4
+ data.tar.gz: 0aa16478cb3ce42fc1519106ea29ef3dc11174db
5
5
  SHA512:
6
- metadata.gz: 333c1922e067e4c8175d351134e6613add4880e7ac7eb46ee41c3adc2267f90895f29b11d1837d99f64ffc1d7ef768f5273cb3a5806ec3e438e5b55ce91da15f
7
- data.tar.gz: 95274dbe4e7d4774386f0183049e84c0a0d96bd5c9ee083533dd56422ea8a0d663758f096728441eb46d35e75cc114e5820b489b3dd8f70ff9a0bb5d1379aa67
6
+ metadata.gz: 3fafc3e9c866c1386783f723683758de8d83955c7e24a6a0595c985245fbd9879538250d7c027dbe4da376af1f62b80b4340eee2e9f1273019b61f00ed5af8d0
7
+ data.tar.gz: 25e33d10b876fa04b34be93e5968eaf0617529fb325611ce5aa6234dd9cc72a01b11887c5426f2b992cab273c3b5e036452117472feb94f7241b8a0efbb84a16
data/bin/bcome CHANGED
@@ -28,7 +28,7 @@ if @direct_command && @direct_command_on
28
28
  # called with, e.g. bcome platform:environment:node_name:run "command to execute"
29
29
  params = ARGV[(1..(ARGV.size))].join("\s")
30
30
  @direct_command_on.node.run(params)
31
- else
31
+ else
32
32
  @direct_command_on.send(@direct_command)
33
33
  end
34
34
  end
data/bin/boot.rb CHANGED
@@ -66,7 +66,7 @@ if quick_context
66
66
  end
67
67
  end
68
68
 
69
- direct_commands = ["run", "ssh", "interactive"] # direct command executions that do not require an irb shell
69
+ direct_commands = ["ls", "run", "ssh", "interactive"] # direct command executions that do not require an irb shell
70
70
  @direct_shell_commands = ["interactive"] # where we need to jump into a context method directly, but require an irb shell
71
71
  @no_shell = true if (direct_commands - @direct_shell_commands).include?(quick_contexts.last)
72
72
 
data/lib/bcome/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bcome
2
- VERSION = "0.6.10"
2
+ VERSION = "0.6.11"
3
3
  end
data/lib/nodes/estate.rb CHANGED
@@ -11,6 +11,10 @@ module ::Bcome::Node
11
11
  ""
12
12
  end
13
13
 
14
+ def ls
15
+ self.stack_peer.ls
16
+ end
17
+
14
18
  def run(raw_command, bootstrap = false)
15
19
  return unless platforms
16
20
  platforms.pmap {|platform|
data/lib/stack/estate.rb CHANGED
@@ -33,6 +33,7 @@ module ::Bcome::Stack
33
33
 
34
34
  def init
35
35
  n = ::Bcome::Node::Estate.new({ :platforms => resources.collect(&:node) })
36
+ n.set_stack_peer(self)
36
37
  n.set_parent_reference(n, :estate, :platforms)
37
38
  return n
38
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bcome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.10
4
+ version: 0.6.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Roderick (Webzakimbo)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-03 00:00:00.000000000 Z
11
+ date: 2017-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk