foobara 0.0.33 → 0.0.34

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0fa3ca995bce92b12bb618474cd34f96c6620c110cc73e02cd4b66f2a572fab
4
- data.tar.gz: e1155dc5793d694c039fc0e7ab5f4d4112c60b8bc3be6eb24d68cb4d277fb2ae
3
+ metadata.gz: bc9733f9966487e9f526b01792182ff02718e7f3ac445256d24397942eddf4ec
4
+ data.tar.gz: 4e611e1bfae4bc3418108ad93680555e6497d1426a465697827064523ed940d5
5
5
  SHA512:
6
- metadata.gz: 102f6110c8cbef54564e34309da3c61a7d4f97fe67dd8def94b15523b466979c12f8bffe1e7343b08fde95269645d40a6f140cf117514bab92da406fd2a8edff
7
- data.tar.gz: 99dc5ad01438bb404ea4da952423d3e414d2526647aa682c10bb3333c0833904de27b29eed1b15c22741d72317103875eed001a56eb2aa8ffd72c7230f30c459
6
+ metadata.gz: a57062ce5885cc626ac32c66dcf9902c1ace2d50d2182c0ec188ba01e3bc662f9e0d6e2fe4d8b6626a23b25f1046e71da813d0b35e8b3d37c895f074d901feb7
7
+ data.tar.gz: 7d6724fff8dc1ee6961f6585ab9c5b78560962725511cd3d316451dda387d8455ddc0a9808c8617aabed61d4aeb656698a1b7a92ef2b760a7248c96bc6b84f81
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.34] - 2024-12-10
2
+
3
+ - Fix bug with command-named convenience functions
4
+
1
5
  ## [0.0.33] - 2024-12-09
2
6
 
3
7
  - Introduce a DetachedEntity concept that sits between Model and Entity
@@ -22,6 +22,9 @@ module Foobara
22
22
  include Concerns::DomainMappers
23
23
  include Concerns::Reflection
24
24
 
25
+ # TODO: this feels like a hack and shouldn't be necessary. Let's try to fix Concern class inheritance, instead.
26
+ self.subclass_defined_callbacks ||= Foobara::Callback::Registry::SingleAction.new
27
+
25
28
  attr_reader :raw_inputs
26
29
 
27
30
  def initialize(inputs = {})
@@ -4,11 +4,9 @@ module Foobara
4
4
  module Callbacks
5
5
  include Concern
6
6
 
7
- module ClassMethods
8
- def subclass_defined_callbacks
9
- @subclass_defined_callbacks ||= Foobara::Callback::Registry::SingleAction.new
10
- end
7
+ inherited_overridable_class_attr_accessor :subclass_defined_callbacks
11
8
 
9
+ module ClassMethods
12
10
  def inherited(subclass)
13
11
  super
14
12
 
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.0.33
4
+ version: 0.0.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
@@ -24,8 +24,8 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- description: Implements command pattern for encapsulating and managing domain complexity
28
- as well as many supporting libraries including entities.
27
+ description: A command-centric and discoverable software framework with a focus on
28
+ domain concepts and abstracting away integration code
29
29
  email:
30
30
  - azimux@gmail.com
31
31
  executables: []
@@ -423,6 +423,6 @@ requirements: []
423
423
  rubygems_version: 3.5.23
424
424
  signing_key:
425
425
  specification_version: 4
426
- summary: Implements command pattern for encapsulating and managing domain complexity
427
- as well as many supporting libraries including entities.
426
+ summary: A command-centric and discoverable software framework with a focus on domain
427
+ concepts and abstracting away integration code
428
428
  test_files: []