fizzy-cli 0.6.1 → 0.6.3

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: 89a8e39c28c7a8d49b3af1f3b163c2a261bd858a2d4f4f86a593b69250d59959
4
- data.tar.gz: dec53af4aa9bed136735432f17422fd62d50a4070639b6234757afde2e944a0b
3
+ metadata.gz: 3c1e6930ad7c4f43a9aae0922d7a1bc886fa4cd21dfa0ddee3ed61a5e78516d0
4
+ data.tar.gz: ed3bd3dba8fec6780031b5dcc7151fd0ae26eb86e13e2538bd99e419ef9f8c3a
5
5
  SHA512:
6
- metadata.gz: 7ecf54d250641fa05e79d9424158cd838c668b15dfd90a687501509ab6cba901bb813fb42d411b626a260a0e2d412a268315ebd4b0cd6febacc7d7a74f820779
7
- data.tar.gz: edcdf11b52adf3968454aa0e8838e9ad6227510c49853ffb7ece7b53d01d11600bd1f1848c86b913f6e8349127fc625aa8ac5e90bc8ce5e9bf78554e606caf6f
6
+ metadata.gz: 1345eff38265c65189877d3e11fc881bca250ebbce586664259eb3fa9360197dbf6f639bf0ed564717a74b5d4e6497dca5b6635cdc38a3ebfd5d8519e341cc0c
7
+ data.tar.gz: e4c32c0945e663517204ebdf072d3d56ffdf28660d3f8f61654efdede0063b6622f1c6fd1480a6488a1520abdaee112865aeddc4534f3c756d6eb3160c7ea1cb
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.6.3] - 2026-07-12
9
+
10
+ ### Changed
11
+ - Documented that the card create and update `--body` option accepts raw HTML.
12
+
8
13
  ## [0.6.1] - 2026-02-23
9
14
 
10
15
  ### Fixed
data/README.md CHANGED
@@ -10,7 +10,7 @@ A Ruby command-line client for [Fizzy](https://fizzy.do) project management.
10
10
  Requires Ruby >= 3.2.
11
11
 
12
12
  ```sh
13
- gem install fizzy
13
+ gem install fizzy-cli
14
14
  ```
15
15
 
16
16
  ### AI Agent Skill
@@ -23,7 +23,7 @@ module Fizzy
23
23
 
24
24
  def account
25
25
  slug = global_options[:account]
26
- slug = nil if slug&.empty?
26
+ slug = nil if slug && slug.empty?
27
27
  @account ||= Auth.resolve(slug || project_config.account)
28
28
  end
29
29
 
@@ -12,7 +12,7 @@ module Fizzy
12
12
  s = resp.body
13
13
  output_detail(s, pairs: [
14
14
  ["ID", s["id"]],
15
- ["Description", s["description"]],
15
+ ["Description", s["content"]],
16
16
  ["Completed", s["completed"]],
17
17
  ["Position", s["position"]]
18
18
  ])
@@ -21,11 +21,11 @@ module Fizzy
21
21
  desc "create DESCRIPTION", "Add a step to a card"
22
22
  option :card, required: true, type: :numeric, desc: "Card number"
23
23
  def create(description)
24
- resp = client.post("cards/#{options[:card]}/steps", body: { description: description })
24
+ resp = client.post("cards/#{options[:card]}/steps", body: { content: description })
25
25
  s = resp.body
26
26
  output_detail(s, pairs: [
27
27
  ["ID", s["id"]],
28
- ["Description", s["description"]]
28
+ ["Description", s["content"]]
29
29
  ])
30
30
  end
31
31
 
@@ -34,7 +34,9 @@ module Fizzy
34
34
  option :description, desc: "New description"
35
35
  option :completed, type: :boolean, desc: "Mark completed"
36
36
  def update(step_id)
37
- body = build_body(:description, :completed)
37
+ body = {}
38
+ body[:content] = options[:description] if options[:description]
39
+ body[:completed] = options[:completed] unless options[:completed].nil?
38
40
  raise Thor::Error, "Nothing to update. Provide --description or --completed" if body.empty?
39
41
 
40
42
  path = "cards/#{options[:card]}/steps/#{step_id}"
@@ -43,7 +45,7 @@ module Fizzy
43
45
  if s
44
46
  output_detail(s, pairs: [
45
47
  ["ID", s["id"]],
46
- ["Description", s["description"]],
48
+ ["Description", s["content"]],
47
49
  ["Completed", s["completed"]]
48
50
  ])
49
51
  else
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.1"
4
+ VERSION = "0.6.3"
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.1
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Paluy