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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18029ccf7f8b817eb1b15c1eab237d3534e146ab
4
- data.tar.gz: 4ba8679e188b84fde544c5d65f6b089bfe088aa1
3
+ metadata.gz: 761825b6d6a44f5de2a922639aff98e988e2ce9e
4
+ data.tar.gz: fa577c1208bbc6577788d24f7f21de55c30a4a14
5
5
  SHA512:
6
- metadata.gz: 843f3564855669cfd349aafb53980aea778781772a74d51e7f873a7810564137e34a1eaa5ba7613c509af88d4b7978523a5b75e96172dd17cef76155d9311c3b
7
- data.tar.gz: d7a7547c497a12f31bcdbc4cf2489610d9e3be94b9bf32dbe783acdc1116e35b8736cadb25aa4495f84686ea54875d929bd6867c06b67c97b2c5c9aae02fce26
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)
@@ -1,3 +1,3 @@
1
1
  module MustardClient
2
- VERSION = "0.1.18"
2
+ VERSION = "0.1.19"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mustard_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Watson