lib/cloudstack-cli/base.rb in cloudstack-cli-1.0.0.rc3 vs lib/cloudstack-cli/base.rb in cloudstack-cli-1.0.0.rc4

- old
+ new

@@ -76,10 +76,10 @@ end config end def filter_by(objects, key, value) - objects.select {|r| r[key].downcase == value.downcase} + objects.select {|r| r[key.to_s].downcase == value.downcase} end def parse_file(file, extensions = %w(.json .yaml .yml)) handler = case File.extname(file) when ".json"