Skip to content

Instantly share code, notes, and snippets.

View jsanti's full-sized avatar

Jorge Santiago jsanti

  • Medellín, Colombia
View GitHub Profile
group :assets do
gem 'sass-rails', '~> 4.0.0.beta1'
gem 'coffee-rails', '~> 4.0.0.beta1'
gem 'sprockets-rails', :require => 'sprockets/railtie'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
gem 'uglifier', '>= 1.0.3'
end
@jsanti
jsanti / push-to-integrity-post-receive
Created May 27, 2009 04:32 — forked from Pistos/push-to-integrity-post-receive
Integrity git post-receive hook (Ruby 1.8)
#!/usr/bin/env ruby
require 'rubygems'
require 'net/http'
require 'json'
# EDIT POST_RECEIVE_URL
POST_RECEIVE_URL = 'http://hostname:8910/repository-name/push'
old_head, new_head, ref = ARGV