lib/jets/stack/depends.rb in jets-1.9.4 vs lib/jets/stack/depends.rb in jets-1.9.5

- old
+ new

@@ -9,11 +9,11 @@ def params result = {} @items.each do |item| logical_id = item.stack.to_s.camelize # logical_id dependency_outputs(logical_id).each do |output| - dependency_class = logical_id.to_s.classify + dependency_class = logical_id.to_s.camelize output_key = item.options[:class_prefix] ? "#{dependency_class}#{output}" : # already camelized output output_value = "!GetAtt #{dependency_class}.Outputs.#{output}" @@ -28,9 +28,9 @@ item.stack.to_s.camelize # logical_id # logical_id end end def dependency_outputs(logical_id) - logical_id.to_s.classify.constantize.output_keys + logical_id.to_s.camelize.constantize.output_keys end end end \ No newline at end of file