Sha256: 3ae3d6bd18c7131569b0f7bc7ba3cafd4553eafbefef30348fc3b6d269a43967

Contents?: true

Size: 331 Bytes

Versions: 550

Compression:

Stored size: 331 Bytes

Contents

require 'rubygems'
require 'sinatra'
require 'json'
set :port, 3123
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

550 entries across 456 versions & 11 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.6/extra/update_watch.rb
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.5/extra/update_watch.rb
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.4/extra/update_watch.rb
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.5/extra/update_watch.rb
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.6/extra/update_watch.rb
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.4/extra/update_watch.rb
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.5/extra/update_watch.rb
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.6/extra/update_watch.rb
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.4/extra/update_watch.rb
torquebox-console-0.3.0 vendor/bundle/jruby/1.9/gems/haml-3.1.8/extra/update_watch.rb
classiccms-0.7.2 vendor/bundle/gems/haml-3.1.6/extra/update_watch.rb
classiccms-0.7.2 vendor/bundle/gems/haml-3.1.5/extra/update_watch.rb
classiccms-0.7.2 vendor/bundle/gems/haml-3.1.4/extra/update_watch.rb
classiccms-0.7.1 vendor/bundle/gems/haml-3.1.6/extra/update_watch.rb
classiccms-0.7.1 vendor/bundle/gems/haml-3.1.5/extra/update_watch.rb
classiccms-0.7.1 vendor/bundle/gems/haml-3.1.4/extra/update_watch.rb
classiccms-0.7.0 vendor/bundle/gems/haml-3.1.6/extra/update_watch.rb
classiccms-0.7.0 vendor/bundle/gems/haml-3.1.5/extra/update_watch.rb
classiccms-0.7.0 vendor/bundle/gems/haml-3.1.4/extra/update_watch.rb
torquebox-console-0.2.5 vendor/bundle/jruby/1.9/gems/haml-3.1.8/extra/update_watch.rb