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 +4 -4
- data/CHANGELOG.md +4 -0
- data/projects/command/src/command.rb +3 -0
- data/projects/command/src/concerns/callbacks.rb +2 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc9733f9966487e9f526b01792182ff02718e7f3ac445256d24397942eddf4ec
|
4
|
+
data.tar.gz: 4e611e1bfae4bc3418108ad93680555e6497d1426a465697827064523ed940d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a57062ce5885cc626ac32c66dcf9902c1ace2d50d2182c0ec188ba01e3bc662f9e0d6e2fe4d8b6626a23b25f1046e71da813d0b35e8b3d37c895f074d901feb7
|
7
|
+
data.tar.gz: 7d6724fff8dc1ee6961f6585ab9c5b78560962725511cd3d316451dda387d8455ddc0a9808c8617aabed61d4aeb656698a1b7a92ef2b760a7248c96bc6b84f81
|
data/CHANGELOG.md
CHANGED
@@ -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
|
-
|
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.
|
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:
|
28
|
-
|
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:
|
427
|
-
|
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: []
|