Permalink
Browse files

Adding branch information to the cap avaialble command.

  • Loading branch information...
1 parent 30cbe86 commit 276ded837014f00def4d0b8302ac9e53a5072e5e Alex Rockwell committed Feb 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/cap_reserve.rb
View
@@ -107,10 +107,10 @@ def yellow
res = get.call("#{url}/reservations/show", :environment => env)
puts "#{env.yellow} is #{res['status'] == 'available' ? "available".green : "reserved".red}"
if res['status'] == 'reserved'
- puts " #{"#{res['user']}@#{env}".yellow} for #{expires_to_string.call(Time.at(res['expires'])).yellow}"
+ puts " #{"#{res['user']}@#{env}".yellow} for #{expires_to_string.call(Time.at(res['expires'])).yellow} at branch #{res['branch'].yellow}"
end
puts "\n"
end
end
end
-end
+end

0 comments on commit 276ded8

Please sign in to comment.