gitlab_support_readiness 1.0.90 → 1.0.91
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8821be7610c98997a1e4729408f1cbdf0a395e2d3d3f3d5180a07edf456be3af
|
4
|
+
data.tar.gz: af7350684caffe7e6f86878534195942f28195920cec173835a0606d791e4c2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c61ce0c51617799a7921a0fc6397d544a3993d1771c8946b8abcfbb768556044ebf03161dbac227118129800df70279fe7098308d620f5791bf89850fb9ab3de
|
7
|
+
data.tar.gz: 882d85ef8413349a26273681fc7e03a9dfaf7d0861179669ef655bbb09e35ff3a91d1e234b8be8f392010faeec52f2c80917f6a618cac2365cc1486e4642857d
|
@@ -237,7 +237,12 @@ module Readiness
|
|
237
237
|
action['value'].each_with_index do |value, sub_index|
|
238
238
|
next unless value == 'MANAGED_WEBHOOK'
|
239
239
|
|
240
|
-
|
240
|
+
converted_value = JSON.parse(File.read(path))
|
241
|
+
if converted_value.is_a? Hash
|
242
|
+
object['actions'][index]['value'][sub_index] = converted_value.to_json
|
243
|
+
else
|
244
|
+
object['actions'][index]['value'][sub_index] = converted_value
|
245
|
+
end
|
241
246
|
end
|
242
247
|
end
|
243
248
|
object
|
@@ -245,7 +245,12 @@ module Readiness
|
|
245
245
|
action['value'].each_with_index do |value, sub_index|
|
246
246
|
next unless value == 'MANAGED_WEBHOOK'
|
247
247
|
|
248
|
-
|
248
|
+
converted_value = JSON.parse(File.read(path))
|
249
|
+
if converted_value.is_a? Hash
|
250
|
+
object['actions'][index]['value'][sub_index] = converted_value.to_json
|
251
|
+
else
|
252
|
+
object['actions'][index]['value'][sub_index] = converted_value
|
253
|
+
end
|
249
254
|
end
|
250
255
|
end
|
251
256
|
object
|