mustard_client 0.1.52 → 0.1.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/MustardClient/executions.rb +2 -2
- 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: 5d7a1dfb1fab846422b5e81d8cbace730d2063ee
|
4
|
+
data.tar.gz: 0d40afd7f2ccec60c75e9d30bc7f7f381075dff0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbd9fe65de7d0a7861f725dc686bfe42d453ea474f0481b50e81526c8de52e24a8aa820f597a6544076f4d8a44a9328459a540d961a5e933426fb42af2d6da04
|
7
|
+
data.tar.gz: 81419cdca828ded5710d1ff477eceda2e78aee5b8405e4cb4e6135860f55bb61c1c7c23614b7a1aefd163269859056834ed07e52efc63d5dcd5a1d473f496df6
|
@@ -115,7 +115,7 @@ module MustardClient
|
|
115
115
|
end
|
116
116
|
|
117
117
|
|
118
|
-
def close execution_id: nil, project_key: nil,
|
118
|
+
def close execution_id: nil, project_key: nil, new_execution_params: nil
|
119
119
|
|
120
120
|
if project_key
|
121
121
|
route = "/executions/close?project_key=#{project_key}"
|
@@ -126,7 +126,7 @@ module MustardClient
|
|
126
126
|
command = {}
|
127
127
|
command[:method] = :post
|
128
128
|
command[:route] = @mustard_url + route
|
129
|
-
command[:params] = {execution:
|
129
|
+
command[:params] = {execution: new_execution_params} if new_execution_params
|
130
130
|
command[:headers] = {'User-Token' => @user_token}
|
131
131
|
|
132
132
|
execute(command)
|