foobara-sh-cli-connector 0.0.9 → 0.0.10

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: 13bd07277bf5717eac15f70769b2f369b60ad3416fb46548575421ee985d1a16
4
- data.tar.gz: 0206dd49d6d3da59200263ec6aa0732d7f886a1853e9950eb6b52d101bb67f84
3
+ metadata.gz: b947cee595a654d406a661d30431063454d79f6c6af716e98be1ac6dc710884c
4
+ data.tar.gz: b5738adbb22bde8105ba81a5e72672c4de819cb7db897b01e920ac51be3c9329
5
5
  SHA512:
6
- metadata.gz: 637e1537ba4d4e7e23d80bee694907ad2a3ba5e3683316d398f51d2dfe7113006d14ff816492f1b4894c3790cf1816569126c195997ed0c8356943c698bd09ee
7
- data.tar.gz: ca9045f6bc124affffc31bbf635f834161c2f0c92419364db6dbfcb018448fa586f944e8cd2768bc6049f8ce4826acdb17e995b88600a86da3e0aba26b4219a7
6
+ metadata.gz: c8c99d022c86899d8cbdb0d026a6db3073d3ec85e9cae677a1a6ec34e1233897e7688992b6e7ab138442f8ba2670a5398771e5b3f23f726e5f1095ab226135a3
7
+ data.tar.gz: ed5e06abe72c37b470ed73946411c368076d7e6dc9cdcd99e38fb49adca133ed5023a2be71414019e19839759e0ede6366a51020f6481848c3c98e98b67916fa
data/CHANGELOG.md CHANGED
@@ -1,28 +1,32 @@
1
+ ## [0.0.10] - 2024-12-09
2
+
3
+ - Do not explode when serializing an empty table
4
+
1
5
  ## [0.0.9] - 2024-11-30
2
6
 
3
- * Add descriptions to available commands
4
- * Add support for indent: option
7
+ - Add descriptions to available commands
8
+ - Add support for indent: option
5
9
 
6
10
  ## [0.0.6] - 2024-10-28
7
11
 
8
- * Handle CommandConnector namespace change
12
+ - Handle CommandConnector namespace change
9
13
 
10
14
  ## [0.0.4] - 2024-10-07
11
15
 
12
- * Introduce --no- options to negate boolean flags
16
+ - Introduce --no- options to negate boolean flags
13
17
 
14
18
  ## [0.0.3]
15
19
 
16
- * Make use of single-command mode in Help command
20
+ - Make use of single-command mode in Help command
17
21
 
18
22
  ## [0.0.2]
19
23
 
20
- * Add single-command mode
24
+ - Add single-command mode
21
25
 
22
26
  ## [0.0.1]
23
27
 
24
- * Add Apache-2.0 license, resulting in a dual-licensed project
28
+ - Add Apache-2.0 license, resulting in a dual-licensed project
25
29
 
26
30
  ## [0.0.0] - 2024-01-26
27
31
 
28
- * Project birth
32
+ - Project birth
@@ -9,6 +9,8 @@ module Foobara
9
9
  PAD_SIZE = 1
10
10
 
11
11
  def serialize(table)
12
+ return "" if table.empty?
13
+
12
14
  io = StringIO.new
13
15
 
14
16
  widths = column_widths(table)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-sh-cli-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-30 00:00:00.000000000 Z
11
+ date: 2024-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foobara