wrata_api 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wrata_api/queue_methos.rb +10 -3
- data/lib/wrata_api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a3b8448132c8dccbc9d625a22159b9227864a0c51c84d2868c524df9332be4c
|
4
|
+
data.tar.gz: a7f037b52c5bbe1d7cbb436e423f985fc1a70fc5d0e93673c2cabc371c517837
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a94294a0a8115198b992c0211d34b35a4efb83e1c55ed307f62b54672dba08ac74ead0578dd5d0d928aeb7c034e70e01fad00af3474d0b22815241954d066b4
|
7
|
+
data.tar.gz: 606c81351b51841b61ed4638f3794794b2a79762179c2ce5cad1a172c8fc9ba52b6fad87c00d0469e9c48656ee092fad8b67ea5aac0d45715985fb77423dcdc6
|
@@ -50,9 +50,16 @@ module WrataApi
|
|
50
50
|
# @param options [Hash] option to each test
|
51
51
|
# @return [Nothing]
|
52
52
|
def add_tests_to_queue(test_list, options = {})
|
53
|
-
|
54
|
-
|
55
|
-
|
53
|
+
uri = URI.parse("#{@uri}/queue/add_tests")
|
54
|
+
|
55
|
+
options = queue_item_default_values(options)
|
56
|
+
body = {
|
57
|
+
'test_paths[]' => test_list,
|
58
|
+
'branch' => options[:branch],
|
59
|
+
'location' => options[:location],
|
60
|
+
'spec_browser' => options[:browser]
|
61
|
+
}
|
62
|
+
perform_post(uri, body)
|
56
63
|
end
|
57
64
|
end
|
58
65
|
end
|
data/lib/wrata_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wrata_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ONLYOFFICE
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-04-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: codecov
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
|
-
rubygems_version: 3.3.
|
182
|
+
rubygems_version: 3.3.10
|
183
183
|
signing_key:
|
184
184
|
specification_version: 4
|
185
185
|
summary: Wrata API Gem
|