foobara 0.0.20 → 0.0.21
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 +4 -0
- data/projects/command/src/concerns/reflection.rb +1 -1
- data/projects/command/src/transformed_command.rb +1 -1
- data/projects/command_connectors/src/command_registry/exposed_command.rb +1 -1
- data/projects/command_connectors/src/command_registry/exposed_domain.rb +1 -1
- data/projects/command_connectors/src/command_registry/exposed_organization.rb +1 -1
- data/projects/common/src/error.rb +1 -1
- data/projects/common/src/possible_error.rb +1 -1
- data/projects/domain/src/domain_module_extension.rb +1 -1
- data/projects/domain/src/organization_module_extension.rb +1 -1
- data/projects/entity/src/concerns/reflection.rb +1 -1
- data/projects/model/src/concerns/reflection.rb +1 -1
- data/projects/type_declarations/src/desugarizer.rb +1 -1
- data/projects/type_declarations/src/type_declaration_handler.rb +1 -1
- data/projects/type_declarations/src/type_declaration_handler_registry.rb +1 -1
- data/projects/type_declarations/src/type_declaration_validator.rb +1 -1
- data/projects/types/src/type.rb +1 -1
- data/projects/value/src/caster.rb +1 -1
- data/projects/value/src/processor/casting.rb +1 -1
- data/projects/value/src/processor/pipeline.rb +1 -1
- data/projects/value/src/processor/selection.rb +1 -1
- data/projects/value/src/processor.rb +2 -2
- data/projects/value/src/transformer.rb +1 -1
- data/projects/value/src/validator.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: 8bae427b4d95880813782995bc8007b6ce1949fb5146b6119990462e6d74ec30
|
4
|
+
data.tar.gz: 02c6307459618529f7534cfb846c9adc8870a59dca72957b7dd0636b2c1235dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afef20c98aa2f6d50e885b1f60375750a2aa215832114fe91cfc8c325cf79041b3b663fef5b20086f15aa85a58e5e246bed1c1455fce9ad8355d9f90685d762b
|
7
|
+
data.tar.gz: bdae23b73288f992f62187dd24aab3c01f74b3cdc9cd04813638d0d05d9e8a7b5ff585767433fce7bac1afdeebe1049837935170f7b89f3cb8bfc1ebf0a8fc2b
|
data/CHANGELOG.md
CHANGED
@@ -19,7 +19,7 @@ module Foobara
|
|
19
19
|
remove_instance_variable("@all") if instance_variable_defined?("@all")
|
20
20
|
end
|
21
21
|
|
22
|
-
def foobara_manifest(to_include:)
|
22
|
+
def foobara_manifest(to_include: Set.new)
|
23
23
|
depends_on = self.depends_on.map do |command_name|
|
24
24
|
other_command = Foobara::Namespace.global.foobara_lookup!(command_name,
|
25
25
|
mode: Foobara::Namespace::LookupMode::ABSOLUTE)
|
@@ -94,7 +94,7 @@ module Foobara
|
|
94
94
|
@full_command_symbol ||= Util.underscore_sym(full_command_name)
|
95
95
|
end
|
96
96
|
|
97
|
-
def foobara_manifest(to_include:)
|
97
|
+
def foobara_manifest(to_include: Set.new)
|
98
98
|
transformed_command_class.foobara_manifest(to_include:).merge(super).merge(
|
99
99
|
Util.remove_blank(
|
100
100
|
scoped_category: :command,
|
@@ -14,7 +14,7 @@ module Foobara
|
|
14
14
|
end
|
15
15
|
|
16
16
|
# TODO: unable to address types here so it is handled as a hack higher up...
|
17
|
-
def foobara_manifest(to_include:)
|
17
|
+
def foobara_manifest(to_include: Set.new)
|
18
18
|
domain_manifest = domain_module.foobara_manifest(to_include: Set.new)
|
19
19
|
mode = Foobara::Namespace::LookupMode::DIRECT
|
20
20
|
commands = foobara_all_command(mode:).map(&:foobara_manifest_reference).sort
|
@@ -14,7 +14,7 @@ module Foobara
|
|
14
14
|
end
|
15
15
|
|
16
16
|
# TODO: unable to address types here so it is handled as a hack higher up...
|
17
|
-
def foobara_manifest(to_include:)
|
17
|
+
def foobara_manifest(to_include: Set.new)
|
18
18
|
organization_manifest = organization_module.foobara_manifest(to_include: Set.new)
|
19
19
|
mode = Foobara::Namespace::LookupMode::DIRECT
|
20
20
|
domains = foobara_all_domain(mode:).map(&:foobara_manifest_reference).sort
|
@@ -393,7 +393,7 @@ module Foobara
|
|
393
393
|
end
|
394
394
|
|
395
395
|
# TODO: can we kill this skip concept?
|
396
|
-
def foobara_manifest(to_include:)
|
396
|
+
def foobara_manifest(to_include: Set.new)
|
397
397
|
depends_on = foobara_depends_on.map do |name|
|
398
398
|
domain = Domain.to_domain(name)
|
399
399
|
to_include << domain
|
@@ -36,7 +36,7 @@ module Foobara
|
|
36
36
|
foobara_all_domain(mode: Namespace::LookupMode::DIRECT)
|
37
37
|
end
|
38
38
|
|
39
|
-
def foobara_manifest(to_include:)
|
39
|
+
def foobara_manifest(to_include: Set.new)
|
40
40
|
domains = foobara_domains.map do |domain|
|
41
41
|
to_include << domain
|
42
42
|
domain.foobara_manifest_reference
|
@@ -17,7 +17,7 @@ module Foobara
|
|
17
17
|
types.map(&:target_class).uniq
|
18
18
|
end
|
19
19
|
|
20
|
-
def foobara_manifest(to_include:)
|
20
|
+
def foobara_manifest(to_include: Set.new)
|
21
21
|
associations = self.associations.map do |(path, type)|
|
22
22
|
entity_class = type.target_class
|
23
23
|
entity_name = entity_class.full_entity_name
|
@@ -4,7 +4,7 @@ module Foobara
|
|
4
4
|
module TypeDeclarations
|
5
5
|
class TypeDeclarationHandler < Value::Processor::Pipeline
|
6
6
|
class << self
|
7
|
-
def foobara_manifest(to_include:)
|
7
|
+
def foobara_manifest(to_include: Set.new)
|
8
8
|
# :nocov:
|
9
9
|
super.merge(processor_type: :type_declaration_handler)
|
10
10
|
# :nocov:
|
@@ -2,7 +2,7 @@ module Foobara
|
|
2
2
|
module TypeDeclarations
|
3
3
|
class TypeDeclarationHandlerRegistry < Value::Processor::Selection
|
4
4
|
class << self
|
5
|
-
def foobara_manifest(to_include:)
|
5
|
+
def foobara_manifest(to_include: Set.new)
|
6
6
|
# :nocov:
|
7
7
|
super.merge(processor_type: :type_declaration_handler_registry)
|
8
8
|
# :nocov:
|
data/projects/types/src/type.rb
CHANGED
@@ -25,7 +25,7 @@ module Foobara
|
|
25
25
|
true
|
26
26
|
end
|
27
27
|
|
28
|
-
def foobara_manifest(to_include:)
|
28
|
+
def foobara_manifest(to_include: Set.new)
|
29
29
|
errors = error_classes.map do |error_class|
|
30
30
|
to_include << error_class
|
31
31
|
error_class.foobara_manifest_reference
|
@@ -317,7 +317,7 @@ module Foobara
|
|
317
317
|
|
318
318
|
# TODO: is this in the wrong place? Should this be an extension?
|
319
319
|
|
320
|
-
def foobara_manifest(to_include:)
|
320
|
+
def foobara_manifest(to_include: Set.new)
|
321
321
|
possible_errors = self.possible_errors.map do |possible_error|
|
322
322
|
[possible_error.key.to_s, possible_error.foobara_manifest(to_include:)]
|
323
323
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foobara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.21
|
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-12-
|
11
|
+
date: 2024-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: foobara-util
|