poolparty 1.3.6 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 3
3
- :patch: 6
3
+ :patch: 7
4
4
  :major: 1
@@ -8,13 +8,13 @@ class CommandInterfaceHandler
8
8
  the_cloud = clouds[cld.name]
9
9
  if the_cloud
10
10
  if command.include?(".")
11
- command.split(".").inject([]) do |sum, cmd|
11
+ command.split(".").inject(the_cloud) do |curr_cloud, cmd|
12
12
  if cmd.match(/\((.*)\)/)
13
13
  args = $1
14
14
  new_cmd = cmd.gsub(args, '').gsub(/\(\)/, '')
15
- sum = arr.send(new_cmd.to_sym, *args)
15
+ curr_cloud = curr_cloud.send(new_cmd.to_sym, *args)
16
16
  else
17
- sum = arr.send(cmd)
17
+ curr_cloud = curr_cloud.send(cmd)
18
18
  end
19
19
  end
20
20
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poolparty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ari Lerner