mustard_client 0.1.45 → 0.1.46

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1965a6f4c40dbdec22039626bea404f4d0f73c7b
4
- data.tar.gz: 9883ae2ccfadf059cfce11b3c94b7f9efe1b7b14
3
+ metadata.gz: fa7da52abbc2603e5332aa03ffebd3ec59d4cc32
4
+ data.tar.gz: ba25c3e441c38e02eb1c86668239ddb87c87f05c
5
5
  SHA512:
6
- metadata.gz: e1e3c35163adb45304a09500657486957ecfd0c64182e898aadb408d6717e29f2799e98c19ae7089ee044dda917ca146b253d21e3241b5c0ce2735e1bbe84158
7
- data.tar.gz: 1a183943e76abfd46e509ddd4603f16b14a084022f2c3a4666162867cf906e7c39bdf75588abc286bce6320e98a9f9de07262f9d4c54410f15fef35900dc6aea
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
- command[:route] = @mustard_url + "/executions/#{execution_id}/next_test"
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)
@@ -1,3 +1,3 @@
1
1
  module MustardClient
2
- VERSION = "0.1.45"
2
+ VERSION = "0.1.46"
3
3
  end
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.45
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-04 00:00:00.000000000 Z
11
+ date: 2017-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler