From 558847f6555202adb7da4f7d31a7b2b80ab4bac2 Mon Sep 17 00:00:00 2001 From: Sven Fuchs Date: Tue, 16 Oct 2012 02:00:57 +0200 Subject: [PATCH] add missing file --- Gemfile.lock | 6 +++--- lib/travis/api/app/endpoint/events.rb | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 lib/travis/api/app/endpoint/events.rb diff --git a/Gemfile.lock b/Gemfile.lock index aa39c3ca..5bb2406b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -40,7 +40,7 @@ GIT GIT remote: git://github.com/travis-ci/travis-core.git - revision: 310d93a0c6dec233a15264172168fc58fb243f3b + revision: 56ca16046cba99cc0b4cd0c520c6bb13ace9932a branch: sf-travis-api specs: travis-core (0.0.1) @@ -118,7 +118,7 @@ GEM builder (3.0.3) bunny (0.8.0) daemons (1.1.9) - dalli (2.2.1) + dalli (2.3.0) data_migrations (0.0.1) activerecord rake @@ -229,7 +229,7 @@ GEM polyglot polyglot (>= 0.3.1) tzinfo (0.3.33) - yard (0.8.2.1) + yard (0.8.3) PLATFORMS ruby diff --git a/lib/travis/api/app/endpoint/events.rb b/lib/travis/api/app/endpoint/events.rb new file mode 100644 index 00000000..db46ef2f --- /dev/null +++ b/lib/travis/api/app/endpoint/events.rb @@ -0,0 +1,12 @@ +require 'travis/api/app' + +class Travis::Api::App + class Endpoint + class Events < Endpoint + get '/' do + respond_with service(:events, :find_all, params), type: :events + end + end + end +end +