Added web hooks functionality
This commit includes: * Projects can have zero or more WebHooks. * The PostReceive job will ask a project to execute any web hooks defined for that project. * WebHook has a URL, we post Github-compatible JSON to that URL. * Failure to execute a WebHook will be silently ignored.
Showing
... | ... | @@ -24,6 +24,7 @@ gem "acts-as-taggable-on", "~> 2.1.0" |
gem "drapper" | ||
gem "rchardet19", "~> 1.3.5" | ||
gem "resque" | ||
gem "httparty" | ||
group :assets do | ||
gem "sass-rails", "~> 3.1.0" | ||
... | ... | @@ -48,6 +49,7 @@ group :development, :test do |
gem "awesome_print" | ||
gem "database_cleaner" | ||
gem "launchy" | ||
gem "webmock" | ||
end | ||
group :test do | ||
... | ... |
app/models/web_hook.rb
0 → 100644
spec/models/web_hook_spec.rb
0 → 100644
Please register or sign in to comment