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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1684a8ac9b61399c368c8ff3b5828f00f965d65cfedadaa03c23eefe002f4661
4
- data.tar.gz: 31615887c4f1c5bbdc7b33c08e216690a1b440b8551e8328ecbefcb455e2fbe4
3
+ metadata.gz: 89a8e39c28c7a8d49b3af1f3b163c2a261bd858a2d4f4f86a593b69250d59959
4
+ data.tar.gz: dec53af4aa9bed136735432f17422fd62d50a4070639b6234757afde2e944a0b
5
5
  SHA512:
6
- metadata.gz: 262b4e467ca32aaa6e202bb21358d0111870ca449983112abdd0d45cfe8e87229b904f0b28185c7ab4246848f69222d9e363aadae9bb49a25af4314a4e96bc5e
7
- data.tar.gz: c6d180d3c263bbf9eefe2bcdd28de99809d825d8af974044e64a8d91c66ac45d7cd35ef07e5dad3204b59187fa6e1c62d4aed303655585ffe5693cd20b95268c
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Fizzy
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fizzy-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Paluy