Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Handle project names as strings.

  • Loading branch information...
commit 43184c0b4fe8ac57eeeef6f1b0dba34a3eecb3b3 1 parent 8779ef2
@Fluxx Fluxx authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rudy/metadata.rb
View
2  lib/rudy/metadata.rb
@@ -182,7 +182,7 @@ def initialize(rtype, opts={})
end
def name(*other)
- project = (@project && @project.first.empty?) ? nil : @project
+ project = (@project.is_a?(Array) && @project.first.empty?) ? nil : @project
parts = [@rtype, @zone, project, @environment, @role, @position, *other]
parts.compact.flatten.join Rudy::DELIM
end
Please sign in to comment.
Something went wrong with that request. Please try again.