auser-poolparty 1.3.6 → 1.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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: auser-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
@@ -1112,7 +1112,6 @@ files:
1112
1112
  - vendor/gems/trollop/www/index.html
1113
1113
  has_rdoc: false
1114
1114
  homepage: http://poolpartyrb.com
1115
- licenses:
1116
1115
  post_install_message:
1117
1116
  rdoc_options:
1118
1117
  - --quiet
@@ -1138,7 +1137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1138
1137
  requirements: []
1139
1138
 
1140
1139
  rubyforge_project:
1141
- rubygems_version: 1.3.5
1140
+ rubygems_version: 1.2.0
1142
1141
  signing_key:
1143
1142
  specification_version: 3
1144
1143
  summary: Self-healing, auto-scaling system administration, provisioning and maintaining tool that makes cloud computing easy and fun