File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/ ) .
77
8+ ## [ 0.2.1] - 2026-02-21
9+
10+ ### Fixed
11+ - Normalize account slugs at storage time during login (strip leading ` / ` from API response)
12+
813## [ 0.2.0] - 2026-02-21
914
1015### Changed
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- fizzy-cli (0.2.0 )
4+ fizzy-cli (0.2.1 )
55 thor (~> 1.5 )
66
77GEM
@@ -72,7 +72,7 @@ CHECKSUMS
7272 ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
7373 bigdecimal (4.0.1) sha256=8b07d3d065a9f921c80ceaea7c9d4ae596697295b584c296fe599dd0ad01c4a7
7474 crack (1.0.1) sha256=ff4a10390cd31d66440b7524eb1841874db86201d5b70032028553130b6d4c7e
75- fizzy-cli (0.2.0 )
75+ fizzy-cli (0.2.1 )
7676 hashdiff (1.2.1) sha256=9c079dbc513dfc8833ab59c0c2d8f230fa28499cc5efb4b8dd276cf931457cd1
7777 json (2.18.1) sha256=fe112755501b8d0466b5ada6cf50c8c3f41e897fa128ac5d263ec09eedc9f986
7878 language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def login
3737 # Build tokens data
3838 token_accounts = accounts . map do |a |
3939 {
40- "account_slug" => a [ "slug" ] ,
40+ "account_slug" => Auth . normalize_slug ( a [ "slug" ] ) ,
4141 "account_name" => a [ "name" ] ,
4242 "account_id" => a [ "id" ] ,
4343 "access_token" => token ,
@@ -53,7 +53,7 @@ def login
5353
5454 data = {
5555 "accounts" => token_accounts ,
56- "default_account" => accounts . first [ "slug" ]
56+ "default_account" => Auth . normalize_slug ( accounts . first [ "slug" ] )
5757 }
5858
5959 FileUtils . mkdir_p ( Auth ::CONFIG_DIR )
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module Fizzy
4- VERSION = "0.2.0 "
4+ VERSION = "0.2.1 "
55end
You can’t perform that action at this time.
0 commit comments