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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9167f16fda9c28c679d98a51a641d566a8613d6a0a7750a841d3f536d7ef80aa
4
- data.tar.gz: 4f83865dc45d55a22d62ca2f624d09023f637c5b39a12216fed122cd8b3d6862
3
+ metadata.gz: 3a3b8448132c8dccbc9d625a22159b9227864a0c51c84d2868c524df9332be4c
4
+ data.tar.gz: a7f037b52c5bbe1d7cbb436e423f985fc1a70fc5d0e93673c2cabc371c517837
5
5
  SHA512:
6
- metadata.gz: fee684bd01f811bdb0bffdd1abb0530b10c1c507862138fcdb63283b0d22f5f618fc3812333e0535c6a0d14a5b26d9c3c3a4ed46001869f6b5fbe5279a11d78d
7
- data.tar.gz: a9f1ba39710a691133fca460222fbd5dc391789315fd1d252e49bb75f700cbbc184ec56a7c688a7520189c671a88d07250d751ba79dfb452eb56eb5b2df42541
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
- test_list.each do |current_test|
54
- add_to_queue(current_test, options)
55
- end
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
@@ -4,6 +4,6 @@ module WrataApi
4
4
  # This module holds the WrataApi version information.
5
5
  module Version
6
6
  # @return [String] current gem version
7
- STRING = '1.0.2'
7
+ STRING = '1.1.0'
8
8
  end
9
9
  end
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.2
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-02-22 00:00:00.000000000 Z
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.7
182
+ rubygems_version: 3.3.10
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: Wrata API Gem