mustard_client 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/MustardClient/executions.rb +2 -1
- data/lib/MustardClient/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 761825b6d6a44f5de2a922639aff98e988e2ce9e
|
4
|
+
data.tar.gz: fa577c1208bbc6577788d24f7f21de55c30a4a14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 149ae8250544fb53e9e5a4992e5b74f44bd7514c9265fbda5160ebfe1bd93b0a0551488d895a2d9e03a1302c5ba024f7fe3b6eddf09e636bb80b3817f49e0ade
|
7
|
+
data.tar.gz: 6962cab0c1231e0d7a7698c092f9d742006f412978c406014e36c3d3e4789436a8d1029f014ccf13bf5e923f6031684ef2e069a407fac28080514847e192a6fa
|
@@ -75,7 +75,7 @@ module MustardClient
|
|
75
75
|
end
|
76
76
|
|
77
77
|
|
78
|
-
def close execution_id: nil, project_key: nil
|
78
|
+
def close execution_id: nil, project_key: nil, name: nil
|
79
79
|
|
80
80
|
if project_key
|
81
81
|
route = "/executions/close?project_key=#{project_key}"
|
@@ -86,6 +86,7 @@ module MustardClient
|
|
86
86
|
command = {}
|
87
87
|
command[:method] = :post
|
88
88
|
command[:route] = @mustard_url + route
|
89
|
+
command[:params] = {execution: {name: name}} if name
|
89
90
|
command[:headers] = {'User-Token' => @user_token}
|
90
91
|
|
91
92
|
execute(command)
|