foobara 0.0.9 → 0.0.11

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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/LICENSE-MPL-2.0.txt +373 -0
  4. data/LICENSE.txt +6 -2
  5. data/README.md +1 -8
  6. data/projects/command/src/transformed_command.rb +2 -2
  7. data/projects/command_connectors/lib/foobara/command_connectors.rb +1 -1
  8. data/projects/command_connectors/src/{commands → command_connector/commands}/describe.rb +2 -6
  9. data/projects/command_connectors/src/{commands → command_connector/commands}/list_commands.rb +1 -1
  10. data/projects/command_connectors/src/{commands → command_connector/commands}/ping.rb +1 -1
  11. data/projects/command_connectors/src/{commands → command_connector/commands}/query_git_commit_info.rb +1 -1
  12. data/projects/command_connectors/src/{request.rb → command_connector/request.rb} +24 -13
  13. data/projects/command_connectors/src/{response.rb → command_connector/response.rb} +1 -1
  14. data/projects/command_connectors/src/command_connector.rb +29 -20
  15. data/projects/domain/src/domain_module_extension.rb +2 -0
  16. data/projects/domain/src/module_extension.rb +2 -2
  17. metadata +11 -39
  18. data/LICENSE-AGPL.txt +0 -666
  19. data/projects/command_connectors_http/lib/foobara/command_connectors_http.rb +0 -6
  20. data/projects/command_connectors_http/src/http/commands/get_options.rb +0 -16
  21. data/projects/command_connectors_http/src/http/commands/help/presenter/command.rb +0 -14
  22. data/projects/command_connectors_http/src/http/commands/help/presenter/domain.rb +0 -14
  23. data/projects/command_connectors_http/src/http/commands/help/presenter/entity.rb +0 -14
  24. data/projects/command_connectors_http/src/http/commands/help/presenter/error.rb +0 -14
  25. data/projects/command_connectors_http/src/http/commands/help/presenter/model.rb +0 -14
  26. data/projects/command_connectors_http/src/http/commands/help/presenter/organization.rb +0 -14
  27. data/projects/command_connectors_http/src/http/commands/help/presenter/processor.rb +0 -14
  28. data/projects/command_connectors_http/src/http/commands/help/presenter/processor_class.rb +0 -14
  29. data/projects/command_connectors_http/src/http/commands/help/presenter/root.rb +0 -14
  30. data/projects/command_connectors_http/src/http/commands/help/presenter/type.rb +0 -14
  31. data/projects/command_connectors_http/src/http/commands/help/presenter.rb +0 -178
  32. data/projects/command_connectors_http/src/http/commands/help/templates/command.html.erb +0 -11
  33. data/projects/command_connectors_http/src/http/commands/help/templates/domain.html.erb +0 -1
  34. data/projects/command_connectors_http/src/http/commands/help/templates/entity.html.erb +0 -11
  35. data/projects/command_connectors_http/src/http/commands/help/templates/error.html.erb +0 -1
  36. data/projects/command_connectors_http/src/http/commands/help/templates/model.html.erb +0 -8
  37. data/projects/command_connectors_http/src/http/commands/help/templates/organization.html.erb +0 -1
  38. data/projects/command_connectors_http/src/http/commands/help/templates/processor.html.erb +0 -1
  39. data/projects/command_connectors_http/src/http/commands/help/templates/processor_class.html.erb +0 -1
  40. data/projects/command_connectors_http/src/http/commands/help/templates/root.html.erb +0 -3
  41. data/projects/command_connectors_http/src/http/commands/help/templates/type.html.erb +0 -1
  42. data/projects/command_connectors_http/src/http/commands/help.rb +0 -98
  43. data/projects/command_connectors_http/src/http/request.rb +0 -98
  44. data/projects/command_connectors_http/src/http/response.rb +0 -14
  45. data/projects/command_connectors_http/src/http.rb +0 -93
@@ -15,8 +15,6 @@ module Foobara
15
15
  # :nocov:
16
16
  end
17
17
 
18
- include(DomainModuleExtension)
19
-
20
18
  unless is_a?(Namespace::IsNamespace)
21
19
  foobara_namespace!
22
20
  foobara_autoset_namespace!(default_namespace: Foobara::GlobalOrganization)
@@ -28,6 +26,8 @@ module Foobara
28
26
  self.foobara_parent_namespace = parent
29
27
  end
30
28
 
29
+ include(DomainModuleExtension)
30
+
31
31
  children = foobara_children
32
32
  children = children.sort_by { |child| child.scoped_path.size }
33
33
 
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.9
4
+ version: 0.0.11
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-09-12 00:00:00.000000000 Z
11
+ date: 2024-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foobara-util
@@ -33,7 +33,7 @@ extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
35
  - CHANGELOG.md
36
- - LICENSE-AGPL.txt
36
+ - LICENSE-MPL-2.0.txt
37
37
  - LICENSE.txt
38
38
  - README.md
39
39
  - projects/builtin_types/lib/foobara/builtin_types.rb
@@ -137,17 +137,17 @@ files:
137
137
  - projects/command/src/transformed_command.rb
138
138
  - projects/command_connectors/lib/foobara/command_connectors.rb
139
139
  - projects/command_connectors/src/command_connector.rb
140
+ - projects/command_connectors/src/command_connector/commands/describe.rb
141
+ - projects/command_connectors/src/command_connector/commands/list_commands.rb
142
+ - projects/command_connectors/src/command_connector/commands/ping.rb
143
+ - projects/command_connectors/src/command_connector/commands/query_git_commit_info.rb
144
+ - projects/command_connectors/src/command_connector/request.rb
145
+ - projects/command_connectors/src/command_connector/response.rb
140
146
  - projects/command_connectors/src/command_registry.rb
141
147
  - projects/command_connectors/src/command_registry/allowed_rule.rb
142
148
  - projects/command_connectors/src/command_registry/exposed_command.rb
143
149
  - projects/command_connectors/src/command_registry/exposed_domain.rb
144
150
  - projects/command_connectors/src/command_registry/exposed_organization.rb
145
- - projects/command_connectors/src/commands/describe.rb
146
- - projects/command_connectors/src/commands/list_commands.rb
147
- - projects/command_connectors/src/commands/ping.rb
148
- - projects/command_connectors/src/commands/query_git_commit_info.rb
149
- - projects/command_connectors/src/request.rb
150
- - projects/command_connectors/src/response.rb
151
151
  - projects/command_connectors/src/serializer.rb
152
152
  - projects/command_connectors/src/serializers/aggregate_serializer.rb
153
153
  - projects/command_connectors/src/serializers/atomic_serializer.rb
@@ -160,33 +160,6 @@ files:
160
160
  - projects/command_connectors/src/serializers/yaml_serializer.rb
161
161
  - projects/command_connectors/src/transformers/auth_errors_transformer.rb
162
162
  - projects/command_connectors/src/transformers/load_aggregates_pre_commit_transformer.rb
163
- - projects/command_connectors_http/lib/foobara/command_connectors_http.rb
164
- - projects/command_connectors_http/src/http.rb
165
- - projects/command_connectors_http/src/http/commands/get_options.rb
166
- - projects/command_connectors_http/src/http/commands/help.rb
167
- - projects/command_connectors_http/src/http/commands/help/presenter.rb
168
- - projects/command_connectors_http/src/http/commands/help/presenter/command.rb
169
- - projects/command_connectors_http/src/http/commands/help/presenter/domain.rb
170
- - projects/command_connectors_http/src/http/commands/help/presenter/entity.rb
171
- - projects/command_connectors_http/src/http/commands/help/presenter/error.rb
172
- - projects/command_connectors_http/src/http/commands/help/presenter/model.rb
173
- - projects/command_connectors_http/src/http/commands/help/presenter/organization.rb
174
- - projects/command_connectors_http/src/http/commands/help/presenter/processor.rb
175
- - projects/command_connectors_http/src/http/commands/help/presenter/processor_class.rb
176
- - projects/command_connectors_http/src/http/commands/help/presenter/root.rb
177
- - projects/command_connectors_http/src/http/commands/help/presenter/type.rb
178
- - projects/command_connectors_http/src/http/commands/help/templates/command.html.erb
179
- - projects/command_connectors_http/src/http/commands/help/templates/domain.html.erb
180
- - projects/command_connectors_http/src/http/commands/help/templates/entity.html.erb
181
- - projects/command_connectors_http/src/http/commands/help/templates/error.html.erb
182
- - projects/command_connectors_http/src/http/commands/help/templates/model.html.erb
183
- - projects/command_connectors_http/src/http/commands/help/templates/organization.html.erb
184
- - projects/command_connectors_http/src/http/commands/help/templates/processor.html.erb
185
- - projects/command_connectors_http/src/http/commands/help/templates/processor_class.html.erb
186
- - projects/command_connectors_http/src/http/commands/help/templates/root.html.erb
187
- - projects/command_connectors_http/src/http/commands/help/templates/type.html.erb
188
- - projects/command_connectors_http/src/http/request.rb
189
- - projects/command_connectors_http/src/http/response.rb
190
163
  - projects/common/lib/foobara/common.rb
191
164
  - projects/common/src/data_path.rb
192
165
  - projects/common/src/error.rb
@@ -382,7 +355,7 @@ files:
382
355
  - projects/weak_object_set/src/weak_object_set.rb
383
356
  homepage: https://github.com/foobara/foobara
384
357
  licenses:
385
- - AGPL-3.0
358
+ - MPL-2.0
386
359
  metadata:
387
360
  homepage_uri: https://github.com/foobara/foobara
388
361
  source_code_uri: https://github.com/foobara/foobara
@@ -395,7 +368,6 @@ require_paths:
395
368
  - "./projects/callback/lib"
396
369
  - "./projects/command/lib"
397
370
  - "./projects/command_connectors/lib"
398
- - "./projects/command_connectors_http/lib"
399
371
  - "./projects/common/lib"
400
372
  - "./projects/concerns/lib"
401
373
  - "./projects/delegate/lib"
@@ -427,7 +399,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
427
399
  - !ruby/object:Gem::Version
428
400
  version: '0'
429
401
  requirements: []
430
- rubygems_version: 3.5.18
402
+ rubygems_version: 3.5.22
431
403
  signing_key:
432
404
  specification_version: 4
433
405
  summary: Implements command pattern for encapsulating and managing domain complexity