fizzy-cli 0.6.0 → 0.6.1
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/CHANGELOG.md +6 -0
- data/lib/fizzy/cli.rb +2 -2
- data/lib/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: 89a8e39c28c7a8d49b3af1f3b163c2a261bd858a2d4f4f86a593b69250d59959
|
|
4
|
+
data.tar.gz: dec53af4aa9bed136735432f17422fd62d50a4070639b6234757afde2e944a0b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ecf54d250641fa05e79d9424158cd838c668b15dfd90a687501509ab6cba901bb813fb42d411b626a260a0e2d412a268315ebd4b0cd6febacc7d7a74f820779
|
|
7
|
+
data.tar.gz: edcdf11b52adf3968454aa0e8838e9ad6227510c49853ffb7ece7b53d01d11600bd1f1848c86b913f6e8349127fc625aa8ac5e90bc8ce5e9bf78554e606caf6f
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
7
7
|
|
|
8
|
+
## [0.6.1] - 2026-02-23
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Thor `ask()` returns nil in non-TTY environments (CI, piped input) causing NoMethodError on `init` command
|
|
12
|
+
- Init test uses basic line editor to avoid Readline bypassing `$stdin` in CI
|
|
13
|
+
|
|
8
14
|
## [0.6.0] - 2026-02-23
|
|
9
15
|
|
|
10
16
|
### Added
|
data/lib/fizzy/cli.rb
CHANGED
|
@@ -92,7 +92,7 @@ module Fizzy
|
|
|
92
92
|
say " #{i + 1}. #{a["account_name"]} (#{a["account_slug"]})#{marker}"
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
-
choice = ask("Select account number [1]:").strip
|
|
95
|
+
choice = ask("Select account number [1]:").to_s.strip
|
|
96
96
|
choice = "1" if choice.empty?
|
|
97
97
|
idx = choice.to_i - 1
|
|
98
98
|
raise Thor::Error, "Invalid selection" unless idx >= 0 && idx < accounts.size
|
|
@@ -114,7 +114,7 @@ module Fizzy
|
|
|
114
114
|
say " #{i + 1}. #{b["name"]} (#{b["id"]})"
|
|
115
115
|
end
|
|
116
116
|
|
|
117
|
-
board_idx = ask("Select board number:").strip.to_i - 1
|
|
117
|
+
board_idx = ask("Select board number:").to_s.strip.to_i - 1
|
|
118
118
|
return boards[board_idx]["id"] if board_idx >= 0 && board_idx < boards.size
|
|
119
119
|
|
|
120
120
|
say "Invalid selection, skipping board."
|
data/lib/fizzy/version.rb
CHANGED