ace-support-cli 0.6.8 → 0.6.9
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/ace/support/cli/parser.rb +6 -0
- data/lib/ace/support/cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cbcd26854c1dcfe8c16d4024cd0c2b4c7a16796dce24f1da392495a5dae0b470
|
|
4
|
+
data.tar.gz: a4928a2682ed05127e9bd463b4c1df18303693e17c650b05ac4a746480b6ba2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1abcf19ddb8f690818a501259094292aa38213e74ab4bda4f22fd42240f9724fd5051e4547c23ee8795bfdeb59b45d44166fdd878ac227c9df61e38af6f2a2f1
|
|
7
|
+
data.tar.gz: 3554cd2b86ce51600d20b39a1c4164728990ddb9e1e8dcb095d3b00265f46dc346e0440f9ff645eb97168043542f55b097edd937bfb004e2b85f40417c0f525b
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.6.9] - 2026-09-29
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- CLI options without a declared default no longer materialize a `nil` key
|
|
11
|
+
when the flag is absent: absent and bare optional-value flags are now
|
|
12
|
+
distinguishable by callers (`--delta`-style flags had made every plain
|
|
13
|
+
review fail with "--delta requires --pr" since the key was always
|
|
14
|
+
present).
|
|
7
15
|
|
|
8
16
|
## [0.6.8] - 2026-09-02
|
|
9
17
|
|
|
@@ -73,6 +73,12 @@ module Ace
|
|
|
73
73
|
|
|
74
74
|
def build_defaults
|
|
75
75
|
command_class.options.each_with_object({}) do |option, hash|
|
|
76
|
+
# Only declared defaults materialize a key: an option without a
|
|
77
|
+
# default must stay absent when the flag is not given, so callers
|
|
78
|
+
# can distinguish "flag absent" from "flag given with an optional
|
|
79
|
+
# (nil) value".
|
|
80
|
+
next if option.default.nil?
|
|
81
|
+
|
|
76
82
|
hash[option.name] = duplicate_default(option.default)
|
|
77
83
|
end
|
|
78
84
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ace-support-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michal Czyz
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-09-
|
|
10
|
+
date: 2026-09-30 00:00:00.000000000 Z
|
|
11
11
|
dependencies: []
|
|
12
12
|
description: Provides command DSL, option parsing, registry routing, and runner primitives
|
|
13
13
|
for ACE CLI tools.
|