mustard_client 0.1.45 → 0.1.46
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 +7 -2
- data/lib/MustardClient/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa7da52abbc2603e5332aa03ffebd3ec59d4cc32
|
4
|
+
data.tar.gz: ba25c3e441c38e02eb1c86668239ddb87c87f05c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a883c5dd4d1865115b5086935a3d122184529fbcf4d2c23fdf1b88d2663ce39bd30706c5db8295c4a654ce88f832744d2bbe6d58df5013df267bee123d94bb8f
|
7
|
+
data.tar.gz: 38c560945e64d96b38c0219b23699d1340066022d4db0aecb365a5548f19e76b503bdfff5a56c79dce4fefa5b26a0df6e511d0740193396f6840de52e35447c2
|
@@ -133,11 +133,16 @@ module MustardClient
|
|
133
133
|
|
134
134
|
end
|
135
135
|
|
136
|
-
def next_test execution_id
|
136
|
+
def next_test execution_id, keyword: false
|
137
137
|
|
138
138
|
command = {}
|
139
139
|
command[:method] = :get
|
140
|
-
|
140
|
+
if keyword
|
141
|
+
command[:route] = @mustard_url + "/executions/#{execution_id}/next_test?keyword=#{keyword.upcase}"
|
142
|
+
else
|
143
|
+
command[:route] = @mustard_url + "/executions/#{execution_id}/next_test"
|
144
|
+
end
|
145
|
+
|
141
146
|
command[:headers] = {'User-Token' => @user_token}
|
142
147
|
|
143
148
|
execute(command)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mustard_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.46
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Watson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|