diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2015-11-13 17:55:16 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2015-11-13 17:55:16 +0000 |
commit | eaf27c6295394562eb734d8a10918f9cac301dbd (patch) | |
tree | 53a8104c9adceec0713c0ca53b18762b8f85c481 /lib/api/entities.rb | |
parent | f197b528ff8556d480914c7b5234addbb86b82d3 (diff) | |
parent | fea2f214370420cdb86336881bfbcb24a994f6c6 (diff) | |
download | gitlab-ce-eaf27c6295394562eb734d8a10918f9cac301dbd.tar.gz |
Merge branch 'builds_feature' into 'master'
Expose builds feature
Expose builds feature in project settings (as feature).
Enable it by default for a new projects.
I deliberately named it builds instead of CI, because we actualy allow to run tests using infrastructure built-in GitLab. I'm free to change it.

If we are ok, I'll add feature tests for it.
/cc @sytses @dzaporozhets
See merge request !1767
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 20cadae2291..73acf66935a 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -62,7 +62,7 @@ module API expose :owner, using: Entities::UserBasic, unless: ->(project, options) { project.group } expose :name, :name_with_namespace expose :path, :path_with_namespace - expose :issues_enabled, :merge_requests_enabled, :wiki_enabled, :snippets_enabled, :created_at, :last_activity_at + expose :issues_enabled, :merge_requests_enabled, :wiki_enabled, :builds_enabled, :snippets_enabled, :created_at, :last_activity_at expose :creator_id expose :namespace expose :forked_from_project, using: Entities::ForkedFromProject, if: lambda{ | project, options | project.forked? } |