lib/shelly/app.rb in shelly-0.1.12 vs lib/shelly/app.rb in shelly-0.1.13
- old
+ new
@@ -123,10 +123,10 @@
cloud =~ /production(\d*)/
guessed = "production#{$1.to_i+1}"
end
end
end
- "#{File.basename(Dir.pwd)}-#{guessed || 'staging'}"
+ "#{File.basename(Dir.pwd)}-#{guessed || 'staging'}".downcase.tr('_','-')
end
def collaborations
@collaborations ||= Array(shelly.collaborations(code_name)).
sort_by { |c| c["email"] }