diff options
author | Robert Speicher <robert@gitlab.com> | 2017-02-23 17:19:28 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-02-23 17:19:28 +0000 |
commit | 170fef0bd34a853bc2499cc7335705f73bc98edb (patch) | |
tree | f7af5116b41b7d697f9ac783bc647aba0d2902ab /lib/api/commit_statuses.rb | |
parent | 6a39888344a2478db022fdf8b5e41fd7625d83ab (diff) | |
parent | ade5e0b1ba04047c72cb0aff3d635a2cdaaab43c (diff) | |
download | gitlab-ce-170fef0bd34a853bc2499cc7335705f73bc98edb.tar.gz |
Merge branch 'dm-meer-blauw-op-straat' into 'master'
Enable (and disable) more RuboCops
See merge request !9432
Diffstat (limited to 'lib/api/commit_statuses.rb')
-rw-r--r-- | lib/api/commit_statuses.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/commit_statuses.rb b/lib/api/commit_statuses.rb index 0b6076bd28c..dba0831664c 100644 --- a/lib/api/commit_statuses.rb +++ b/lib/api/commit_statuses.rb @@ -40,7 +40,7 @@ module API requires :id, type: String, desc: 'The ID of a project' requires :sha, type: String, desc: 'The commit hash' requires :state, type: String, desc: 'The state of the status', - values: ['pending', 'running', 'success', 'failed', 'canceled'] + values: %w(pending running success failed canceled) optional :ref, type: String, desc: 'The ref' optional :target_url, type: String, desc: 'The target URL to associate with this status' optional :description, type: String, desc: 'A short description of the status' |