Sha256: 6453ddd3f3650f7dac1237d15d215c52bb7ffbec533671f51eefd05117db6632
Contents?: true
Size: 331 Bytes
Versions: 730
Compression:
Stored size: 331 Bytes
Contents
require 'rubygems' require 'sinatra' require 'json' set :port, 3124 set :environment, :production enable :lock Dir.chdir(File.dirname(__FILE__) + "/..") post "/" do puts "Recieved payload!" puts "Rev: #{`git name-rev HEAD`.strip}" system %{rake handle_update --trace REF=#{JSON.parse(params["payload"])["ref"].inspect}} end
Version data entries
730 entries across 441 versions & 18 rubygems