foobara 0.1.2 → 0.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 382dbd4fb1743f89af17bc70f7acdbef0ad2851767122f702e2503dcfacddf12
|
4
|
+
data.tar.gz: 02dfabf373e9ec1545ecbcaeeed6c31b0f6338bcc5e9095b3e0efe9bc9f61c03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 535af52cbd9ad41609694db0b23e69f003d5959ccff113bc98dcedc13ff15df685b6abfcafe510f26243888d979b4724b061d00a76164805167d8f90cc3f4d39
|
7
|
+
data.tar.gz: 692827d4929a901e5127c706c5f63d5da40330dfc5a5e868ea0661ef5885b25dbb5a4db43f8b76e980076ded3d876637ea1328bd164a16fed9e86664d99b9d4c
|
data/CHANGELOG.md
CHANGED
@@ -344,13 +344,21 @@ module Foobara
|
|
344
344
|
command_registry.register(*args, **opts)
|
345
345
|
when Module
|
346
346
|
if registerable.foobara_organization?
|
347
|
+
args = args[1..]
|
347
348
|
registerable.foobara_domains.map do |domain|
|
348
|
-
connect(domain, *args
|
349
|
+
connect(domain, *args, **opts)
|
349
350
|
end.flatten
|
350
351
|
elsif registerable.foobara_domain?
|
351
|
-
|
352
|
-
|
353
|
-
|
352
|
+
args = args[1..]
|
353
|
+
connected = []
|
354
|
+
|
355
|
+
registerable.foobara_each_command(mode: Namespace::LookupMode::DIRECT) do |command_class|
|
356
|
+
unless command_class.abstract?
|
357
|
+
connected << connect(command_class, *args, **opts)
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
361
|
+
connected.flatten
|
354
362
|
else
|
355
363
|
# :nocov:
|
356
364
|
raise "Don't know how to register #{registerable} (#{registerable.class})"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foobara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Georgi
|
@@ -538,7 +538,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
538
538
|
- !ruby/object:Gem::Version
|
539
539
|
version: '0'
|
540
540
|
requirements: []
|
541
|
-
rubygems_version: 3.
|
541
|
+
rubygems_version: 3.6.9
|
542
542
|
specification_version: 4
|
543
543
|
summary: A command-centric and discoverable software framework with a focus on domain
|
544
544
|
concepts and abstracting away integration code
|