brainiac-fizzy 0.0.32 → 0.0.33
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 +4 -4
- data/lib/brainiac/plugins/fizzy/hooks.rb +9 -1
- data/lib/brainiac/plugins/fizzy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 73e0fdc588f36dbb58a5b2bd1d0bbf09ccd7809f15bb617f724bbb475a133509
|
|
4
|
+
data.tar.gz: 4850ccddc2c85919f647c8366abd7eb02def7a5a6af8c4e27d197a96ba49a1a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: adf01018ab21bf8cfe45ce46f07a78ec0555d087b8dc52c723e8aaa45e8645d8d6af0e4a2f1361aba29ba67e5461f0c082702e555eb5aabc7989c8b6fa6a8ec2
|
|
7
|
+
data.tar.gz: df58a01aabc1ea99c0957c122db69fe4f9daf46647a300da2e20f62724bab31df156da360508162b11a80229e444da05ec188173dd2af175a6f3248754222359
|
|
@@ -214,8 +214,16 @@ module Brainiac
|
|
|
214
214
|
uat_col = Config.board_column_id(board_key, "uat")
|
|
215
215
|
next [] unless uat_col
|
|
216
216
|
|
|
217
|
+
# The fizzy CLI's --column filter only works when scoped to a board.
|
|
218
|
+
# Without --board, `fizzy card list --column <id>` returns zero cards
|
|
219
|
+
# even when the column is populated, so the deploy would silently close
|
|
220
|
+
# nothing. Always pass the board ID alongside the column.
|
|
221
|
+
board_id = Config.board_config(board_key)&.dig("board_id")
|
|
222
|
+
next [] unless board_id
|
|
223
|
+
|
|
217
224
|
env = Helpers.default_fizzy_env
|
|
218
|
-
output = run_cmd("fizzy", "card", "list", "--
|
|
225
|
+
output = run_cmd("fizzy", "card", "list", "--board", board_id,
|
|
226
|
+
"--column", uat_col, "--all",
|
|
219
227
|
chdir: repo_path, env: env)
|
|
220
228
|
card_list = JSON.parse(output)["data"] || []
|
|
221
229
|
next [] if card_list.empty?
|