sandthorn 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: a30c37a7e24b7962887842ee014817b9af94aa2f
4
- data.tar.gz: 0a297cdd2b5d9b6fa6a5d0873f3ab6d42ca3f572
3
+ metadata.gz: d62a1f08ee388aa164ab762e900658f7ff91fc58
4
+ data.tar.gz: 226b61d65c54236354d87336f7de0521201b4695
5
5
  SHA512:
6
- metadata.gz: bf09e9cf219afd1a273b3fe1da4e9434625c03e60dc0522cb4133c61dfdec2a4f9713709c8a2f1446dd5c883c5a817b8380829f64dae6c65bfe25715f8699a46
7
- data.tar.gz: e532a7430556572dd0c24c7e25a9a696e3d264f1abb424af7ab478e930070efbf6a9fc55075864b1307fdccebaa23144925326600bc35e3656fc2a85d07695a0
6
+ metadata.gz: 6a672eea33d5a9f80a0dff9ccfb221149c51439167f1ca421bc0e0904fd531087645f761bb19d620f55b84e84acf05528ca3871dc5c9ef3e9b26ca3aef73f49f
7
+ data.tar.gz: 04b81dd3de59073c253fdabd4dc93ddb5c08f06421d1f0f32646c90f5c0a3fe7f07dc8701f0a537a935a0534744ca6136b0e81b4bbe25980441bc3ef1d2d1d8f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sandthorn (0.0.2)
4
+ sandthorn (0.0.3)
5
5
  dirty_hashy
6
6
 
7
7
  GEM
@@ -30,9 +30,9 @@ module Sandthorn
30
30
  self
31
31
  end
32
32
 
33
- def commit *args, method_name: nil
33
+ def commit *args
34
34
  increase_current_aggregate_version!
35
- method_name = caller_locations(1,1)[0].label unless method_name
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, method_name: "new"
85
+ aggr.send :commit, *args
86
86
  return aggr
87
87
  end
88
88
  end
@@ -1,3 +1,3 @@
1
1
  module Sandthorn
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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.2
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-26 00:00:00.000000000 Z
12
+ date: 2014-03-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler