apadmi_grout 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/apadmi/grout/service/board_service/ado_board_service.rb +3 -3
- data/lib/apadmi/grout/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22c82a973e8fcdff8c70360fa27c58ff9f79e3bc6ef9ff4175db7d646da499af
|
4
|
+
data.tar.gz: aca19ee1e0f6bc2f710cb056efea7d0c8507ec01ab7ebfaa407bcc9eb79f91dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6fa52813fe17ff8998ceab124376a4896bf0b01c11270da86f75f9d84ce61686cbe07c509b381e6eaa6878cecd4f7d6d56152e1c8238bded0259f2eab935c80
|
7
|
+
data.tar.gz: 2f96593677812988550c7c9c89cc0c753271987cf038e93bb5f176cdf8bd80c37ad062b9629101e085e0d4d85eacd675c7b4909fbdd138951a036ea58cfb8500
|
data/CHANGELOG.md
CHANGED
@@ -24,13 +24,13 @@ module Apadmi
|
|
24
24
|
|
25
25
|
keys = keys.map { |k| sanitise_key(k) } # Allows supporting raw keys, and keys prefixed with a hash which is common ADO practice
|
26
26
|
|
27
|
-
res = @network_service.do_get("/wit/workitems?ids=#{keys.join(",")}&api-version=7.1-preview.2")
|
27
|
+
res = @network_service.do_get("/wit/workitems?ids=#{keys.join(",")}&errorPolicy=omit&api-version=7.1-preview.2")
|
28
28
|
parsed = JSON.parse(res.body)
|
29
29
|
items = parsed["value"]
|
30
30
|
|
31
|
-
return if items.nil? || items.empty?
|
31
|
+
return [] if items.nil? || items.compact.empty?
|
32
32
|
|
33
|
-
items.map { |i| Apadmi::Grout::Issue.from_ado_hash(i) }
|
33
|
+
items.compact.map { |i| Apadmi::Grout::Issue.from_ado_hash(i) }
|
34
34
|
end
|
35
35
|
|
36
36
|
# @param component [String] Included to be consistent with JIRA, this will boil down to a tag in ADO
|
data/lib/apadmi/grout/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apadmi_grout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apadmi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|