cli-dispatcher 1.2.8 → 1.2.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/lib/structured.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 150a4de4862e1b7e5d4fe0a7f36dd51832fadecd8ea29e7daa7f8c878ad9c586
|
|
4
|
+
data.tar.gz: 98a274d990b8d4d9c6a3c23b9dc187f85e4fd2e53a58078cb97f3b2b33440d13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70f934f3adf3a785bd59f1e553c6275e614a1a37e5eecaa7f974bb34d1475e3fbe63f533b5fec6485904b61caee84e6888a711ce4f0a672ce47e2903446b14a4
|
|
7
|
+
data.tar.gz: c65b826a4afad148065e1335175b1cf8918100a128a18b0a6d469db6ea2efd4d2bf237c6059928c798a89300fd00f9a83e14c713ec564e86fff89d58bccfa291
|
data/lib/structured.rb
CHANGED
|
@@ -477,7 +477,7 @@ module Structured
|
|
|
477
477
|
val = hash[key]
|
|
478
478
|
ckey = process_value(obj, key, @default_key)
|
|
479
479
|
cval = process_value(obj, val, @default_element)
|
|
480
|
-
next
|
|
480
|
+
next if cval.nil?
|
|
481
481
|
cval.receive_key(ckey) if cval.is_a?(Structured)
|
|
482
482
|
obj.receive_any(ckey, cval)
|
|
483
483
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cli-dispatcher
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Charles Duan
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
10
|
+
date: 2026-02-24 00:00:00.000000000 Z
|
|
12
11
|
dependencies: []
|
|
13
12
|
description: |
|
|
14
13
|
Library for creating command-line programs that accept commands. Also
|
|
@@ -29,7 +28,6 @@ licenses:
|
|
|
29
28
|
metadata:
|
|
30
29
|
source_code_uri: https://github.com/charlesduan/cli-dispatcher
|
|
31
30
|
documentation_uri: https://rubydoc.info/gems/cli-dispatcher/
|
|
32
|
-
post_install_message:
|
|
33
31
|
rdoc_options: []
|
|
34
32
|
require_paths:
|
|
35
33
|
- lib
|
|
@@ -44,8 +42,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
44
42
|
- !ruby/object:Gem::Version
|
|
45
43
|
version: '0'
|
|
46
44
|
requirements: []
|
|
47
|
-
rubygems_version: 3.
|
|
48
|
-
signing_key:
|
|
45
|
+
rubygems_version: 3.6.9
|
|
49
46
|
specification_version: 4
|
|
50
47
|
summary: Command-line command dispatcher
|
|
51
48
|
test_files: []
|