lib/chulai/base.rb in chulai-0.1.1 vs lib/chulai/base.rb in chulai-0.1.2
- old
+ new
@@ -168,18 +168,9 @@
rescue => exc
puts "deploy failed: #{exc.to_s}"
exit
end
- def clean
- puts "cleaning"
- res = http :post, "/clean.json", identity: @identity
- puts res.inspect
- rescue => exc
- puts "failed to clean old instances: #{exc.to_s}"
- exit
- end
-
def open
url = "http://#{@username}.#{@name}.#{SUFFIX}"
Launchy.open url
rescue => exc
puts "failed to launch any browser: #{exc.to_s}"