sandthorn 0.0.2 → 0.0.3
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/Gemfile.lock +1 -1
- data/lib/sandthorn/aggregate_root_base.rb +3 -3
- data/lib/sandthorn/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d62a1f08ee388aa164ab762e900658f7ff91fc58
|
|
4
|
+
data.tar.gz: 226b61d65c54236354d87336f7de0521201b4695
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a672eea33d5a9f80a0dff9ccfb221149c51439167f1ca421bc0e0904fd531087645f761bb19d620f55b84e84acf05528ca3871dc5c9ef3e9b26ca3aef73f49f
|
|
7
|
+
data.tar.gz: 04b81dd3de59073c253fdabd4dc93ddb5c08f06421d1f0f32646c90f5c0a3fe7f07dc8701f0a537a935a0534744ca6136b0e81b4bbe25980441bc3ef1d2d1d8f
|
data/Gemfile.lock
CHANGED
|
@@ -30,9 +30,9 @@ module Sandthorn
|
|
|
30
30
|
self
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
-
def commit *args
|
|
33
|
+
def commit *args
|
|
34
34
|
increase_current_aggregate_version!
|
|
35
|
-
method_name = caller_locations(1,1)[0].label
|
|
35
|
+
method_name = caller_locations(1,1)[0].label.gsub("block in ", "")
|
|
36
36
|
aggregate_attribute_deltas = get_delta
|
|
37
37
|
|
|
38
38
|
unless aggregate_attribute_deltas.empty?
|
|
@@ -82,7 +82,7 @@ module Sandthorn
|
|
|
82
82
|
aggregate.aggregate_trace @@aggregate_trace_information do |aggr|
|
|
83
83
|
aggr.aggregate_initialize
|
|
84
84
|
aggr.send :set_aggregate_id, Sandthorn.generate_aggregate_id
|
|
85
|
-
aggr.send :commit, *args
|
|
85
|
+
aggr.send :commit, *args
|
|
86
86
|
return aggr
|
|
87
87
|
end
|
|
88
88
|
end
|
data/lib/sandthorn/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sandthorn
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lars Krantz
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-03-
|
|
12
|
+
date: 2014-03-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|