Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update travis-core and fix v1 servicehooks controller

  • Loading branch information...
commit 1eb84d53d91987967780fc839278a745dbf4faa7 1 parent 9f70a5c
@svenfuchs svenfuchs authored
Showing with 6 additions and 6 deletions.
  1. +5 −5 Gemfile.lock
  2. +1 −1  app/controllers/v1/service_hooks_controller.rb
View
10 Gemfile.lock
@@ -1,8 +1,8 @@
GIT
remote: git://github.com/rack/rack-contrib
- revision: b7e7c38fd02c3b5da91aa57af78b3f571c6ebcd0
+ revision: 6f337267eae0bedb4110879f2aea6b1bb2137980
specs:
- rack-contrib (1.1.0)
+ rack-contrib (1.2.0)
rack (>= 0.9.1)
GIT
@@ -27,7 +27,7 @@ GIT
GIT
remote: git://github.com/travis-ci/travis-core
- revision: 714090635924650998b3a3d0f18b39d9cfd46839
+ revision: 707a3b0fb83187ec1808cd6c2a9b3d47ce699426
specs:
travis-core (0.0.1)
actionmailer (~> 3.2.3)
@@ -55,7 +55,7 @@ GIT
GIT
remote: git://github.com/travis-ci/travis-support
- revision: 124b8b6f6f1cff468b678a38583191a18f9db922
+ revision: fe5e9013d99f8f38b9560cbd3150146914e2c138
specs:
travis-support (0.0.1)
@@ -208,7 +208,7 @@ GEM
mime-types (1.19)
mocha (0.10.5)
metaclass (~> 0.0.1)
- multi_json (1.4.0)
+ multi_json (1.5.0)
multipart-post (1.1.5)
net-http-persistent (2.8)
net-http-pipeline (1.0.1)
View
2  app/controllers/v1/service_hooks_controller.rb
@@ -10,7 +10,7 @@ class ServiceHooksController < ApiController
respond_to :json
def index
- respond_with(service_hooks)
+ render json: Travis::Api.data(service_hooks, :type => :hooks, :version => 'v1')
end
def update
Please sign in to comment.
Something went wrong with that request. Please try again.