diff options
author | Jeremy <jeremy.benoist@gmail.com> | 2015-01-25 10:35:16 +0100 |
---|---|---|
committer | Jeremy <jeremy.benoist@gmail.com> | 2015-02-02 09:59:43 +0100 |
commit | f79b6af18a29f8ddececb9c64de5ff6d456d1d29 (patch) | |
tree | f5de8bbe674df197442cc60709e389568500a448 /app/models/project_services | |
parent | 3cd1eda5a4f8e4ac95ebab558e8965724481dd97 (diff) | |
download | gitlab-ce-f79b6af18a29f8ddececb9c64de5ff6d456d1d29.tar.gz |
Fix HoundCI
Diffstat (limited to 'app/models/project_services')
-rw-r--r-- | app/models/project_services/asana_service.rb | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/app/models/project_services/asana_service.rb b/app/models/project_services/asana_service.rb index 174d69ae3cd..db1e7a2b1cb 100644 --- a/app/models/project_services/asana_service.rb +++ b/app/models/project_services/asana_service.rb @@ -27,13 +27,16 @@ class AsanaService < Service end def help - 'This service adds commit messages as comments to Asana tasks. Once enabled, commit messages -are checked for Asana task URLs (for example, `https://app.asana.com/0/123456/987654`) or task IDs -starting with # (for example, `#987654`). Every task ID found will get the commit comment added to it. + 'This service adds commit messages as comments to Asana tasks. +Once enabled, commit messages are checked for Asana task URLs +(for example, `https://app.asana.com/0/123456/987654`) or task IDs +starting with # (for example, `#987654`). Every task ID found will +get the commit comment added to it. You can also close a task with a message containing: `fix #123456`. -You can find your Api Keys here: http://developer.asana.com/documentation/#api_keys' +You can find your Api Keys here: +http://developer.asana.com/documentation/#api_keys' end def to_param @@ -42,8 +45,18 @@ You can find your Api Keys here: http://developer.asana.com/documentation/#api_k def fields [ - { type: 'text', name: 'api_key', placeholder: 'User API token. User must have access to task, all comments will be attributed to this user.' }, - { type: 'text', name: 'restrict_to_branch', placeholder: 'Comma-separated list of branches which will be automatically inspected. Leave blank to include all branches.' } + { + type: 'text', + name: 'api_key', + placeholder: 'User API token. User must have access to task, +all comments will be attributed to this user.' + }, + { + type: 'text', + name: 'restrict_to_branch', + placeholder: 'Comma-separated list of branches which will be +automatically inspected. Leave blank to include all branches.' + } ] end |