mushin 0.14.0 → 0.15.0
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/lib/mushin/domain.rb +4 -2
- data/lib/mushin/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6ab361a287c0e0d55d259171643dc2bd83d00d1
|
4
|
+
data.tar.gz: 4d13cde5a332359290e8bd9170327192226d5d2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d5b392b35d17d8f70b30b6e9b979d2ff567638364c75b876ef8f4444330cfa30f2d6ac36a7deedf9b15567ac5f14a98b3c1239d75b35abc706143fc0dbfcde1
|
7
|
+
data.tar.gz: c7fcb7101131ef13f2df934c7364087550c5963af86fd0f4686fd8b3902578f7210e94695111a3c3e96fffe7d27701b84e3fd10e79747ff9294ba14d46ff58ac
|
data/lib/mushin/domain.rb
CHANGED
@@ -3,7 +3,8 @@ module Mushin
|
|
3
3
|
|
4
4
|
class Domain
|
5
5
|
# offers a virtual datastore for query requests on the domain object
|
6
|
-
attr_accessor :store, :event_stream
|
6
|
+
#attr_accessor :store, :event_stream
|
7
|
+
attr_accessor :dparams
|
7
8
|
|
8
9
|
def self.inherited(subclass)
|
9
10
|
subclass.send :extend, DSLBuilder
|
@@ -11,7 +12,8 @@ module Mushin
|
|
11
12
|
end
|
12
13
|
|
13
14
|
def initialize params={}, &block
|
14
|
-
|
15
|
+
@dparams = params
|
16
|
+
$log.info "Domain object #{self} is going to instance_eval with dparams of #{@dparams}"
|
15
17
|
#TODO obj.send("#{prop_name}=", query_value)
|
16
18
|
instance_eval &block
|
17
19
|
end
|
data/lib/mushin/version.rb
CHANGED