diff options
author | Nick Huanca <nick.huanca@gmail.com> | 2013-09-03 21:35:57 -0600 |
---|---|---|
committer | Nick Huanca <nick.huanca@gmail.com> | 2013-09-03 21:35:57 -0600 |
commit | cd9d7dd8701d916842034d3d2f0f687f88157bdf (patch) | |
tree | 2961f525ff7fc8bdb6ac56adc8af7dfb9f556e57 /lib/api/entities.rb | |
parent | 7626602f75b3ace16eb963672b12d2047f92a628 (diff) | |
download | gitlab-ci-cd9d7dd8701d916842034d3d2f0f687f88157bdf.tar.gz |
adding before commit to available info for build.
adding before commit to available info for build. will help with diff for using like post-receive hook (oldrev / newrev)
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 68b05cb..bdc9e09 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -1,7 +1,7 @@ module API module Entities class Build < Grape::Entity - expose :id, :commands, :path, :ref, :sha, :project_id, :repo_url + expose :id, :commands, :path, :ref, :sha, :project_id, :repo_url, :before_sha end class Runner < Grape::Entity |