fizzy-cli 0.2.1 → 0.2.2

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: 7a2f5999437ef4bab56bbc88f4eaad9082b769177505540c349be4a2088d21c8
4
- data.tar.gz: 4ff1b8da7d8467610a83984e1b9cb896416b236b33b34e8cfeb73c05cdd5e86f
3
+ metadata.gz: 070407ac06ff5b533dce440bc1eb62452c32adc089880a011e3c2af7fdb13b4b
4
+ data.tar.gz: 241fcbec138baedbd064f4b87f2ab327685ed41eec614661431dee91bac5ed0f
5
5
  SHA512:
6
- metadata.gz: '039bde465bd76827a99f32fc83892307f46b5053069d4ccfce5a70fc67ea8e1dc6decffa96f851c2a267a113742b758f2628c0330601d6234d9c53a9efa29109'
7
- data.tar.gz: f23f826a522ceaa23e7a88603980b14fb303f516c0f84a24992a91aa115d607a0000a2aaaf9a35bbf25ae5a3c7eb38157788594c8eb15eb8d9710f37632806f3
6
+ metadata.gz: a2ce69faf33ec985574500bafb3b2c896d667e7576fec78bc06d1683c9436458f493a8afff7061e8f6e54bfdc74bd1faed544a15560426b6704482f433dbdc3a
7
+ data.tar.gz: '009907a2a395c93e696cede48a408c776037594e668545f36ca06489df7e6d8bcb2c14bc040472ee5ef80e21c00f3a9445525ea2129016884d6fea6cbacb0b66'
data/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ 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.2.2] - 2026-02-21
9
+
10
+ ### Fixed
11
+ - Auth login output displays account slugs from normalized stored data instead of raw API response
12
+
8
13
  ## [0.2.1] - 2026-02-21
9
14
 
10
15
  ### Fixed
@@ -60,10 +60,10 @@ module Fizzy
60
60
  File.write(Auth::TOKEN_FILE, YAML.dump(data))
61
61
  File.chmod(0o600, Auth::TOKEN_FILE)
62
62
 
63
- puts "Authenticated as #{accounts.first.dig("user", "name")}"
64
- accounts.each do |a|
65
- marker = a["slug"] == data["default_account"] ? " (default)" : ""
66
- puts " #{a["name"]} (#{a["slug"]})#{marker}"
63
+ puts "Authenticated as #{token_accounts.first.dig("user", "name")}"
64
+ token_accounts.each do |a|
65
+ marker = a["account_slug"] == data["default_account"] ? " (default)" : ""
66
+ puts " #{a["account_name"]} (#{a["account_slug"]})#{marker}"
67
67
  end
68
68
  end
69
69
 
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.2.1"
4
+ VERSION = "0.2.2"
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.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Paluy