class Takeoff::Stage::Heroku::VerifyServerNotAlreadyUpToDate
Public Instance Methods
call(env)
click to toggle source
# File lib/takeoff/stage/heroku/verify_server_not_already_up_to_date.rb, line 7 def call(env) if env[:deployed_commit] == env[:new_commit] raise "The server is already up to date." end @app.call(env) end