aggregate_root 2.0.0 → 2.0.1

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: b0e7fd5c8185d692efe38480983bd4f4c1237b402592541a7f38e78b442015a7
4
- data.tar.gz: a145924644f4c30dd928397df65a0656a2549ee0c2f5251176c46a462f7c7a7e
3
+ metadata.gz: 00c4e60e5544d7344bd510f09a343ecbc93115c5f2b7d18d67dfcb1292bb8ebe
4
+ data.tar.gz: 6dd426b68d42fe7363e8fd640162c01cd8b3068d602e17dfdcba80a210f0f76d
5
5
  SHA512:
6
- metadata.gz: 7dcc62325186586d6032b2c9680565a3b8d65524809db546e331a08ef8338dfce73a656853613d981fbf434848739999f2c910f8fd1a83ebbc36293f0e60071c
7
- data.tar.gz: f7e25a50fed3c48a0805968a18c846d1c5b398d8599a2202f0a993e88790da3414b438d65d36a907378b3db70f5d3f90944dee16f18524d039bde3146531bde4
6
+ metadata.gz: 388f3c85d5d00edd6034f2452366fc8cea9844c38346cbdbedcd8e95e42c450502aa0466496e37a0ff8b6ba56b21bd90900915135870da1c10c00d83225a9cd6
7
+ data.tar.gz: acb22c8403a6155f3cbf96de958550b9fbe197abd4cc1491c665e62545c0b50cc40d8846a4699615e11ea6598d4ba3cb8cb92f8ff3bda3d767d41ef4cb097fe7
@@ -1,14 +1,15 @@
1
1
  PATH
2
2
  remote: ../ruby_event_store
3
3
  specs:
4
- ruby_event_store (2.0.0)
4
+ ruby_event_store (2.0.1)
5
5
  concurrent-ruby (~> 1.0, >= 1.1.6)
6
6
 
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- aggregate_root (2.0.0)
11
- ruby_event_store (= 2.0.0)
10
+ aggregate_root (2.0.1)
11
+ ruby2_keywords
12
+ ruby_event_store (= 2.0.1)
12
13
 
13
14
  GEM
14
15
  remote: https://rubygems.org/
@@ -83,6 +84,7 @@ GEM
83
84
  diff-lcs (>= 1.2.0, < 2.0)
84
85
  rspec-support (~> 3.10.0)
85
86
  rspec-support (3.10.1)
87
+ ruby2_keywords (0.0.2)
86
88
  thread_safe (0.3.6)
87
89
  tzinfo (1.2.9)
88
90
  thread_safe (~> 0.1)
@@ -24,5 +24,6 @@ Gem::Specification.new do |spec|
24
24
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
25
  spec.require_paths = ['lib']
26
26
 
27
- spec.add_dependency 'ruby_event_store', '= 2.0.0'
27
+ spec.add_dependency 'ruby2_keywords'
28
+ spec.add_dependency 'ruby_event_store', '= 2.0.1'
28
29
  end
@@ -6,6 +6,7 @@ require 'aggregate_root/transform'
6
6
  require 'aggregate_root/default_apply_strategy'
7
7
  require 'aggregate_root/repository'
8
8
  require 'aggregate_root/instrumented_repository'
9
+ require 'ruby2_keywords'
9
10
 
10
11
  module AggregateRoot
11
12
  module OnDSL
@@ -31,7 +32,7 @@ module AggregateRoot
31
32
  end
32
33
 
33
34
  module Constructor
34
- def new(*)
35
+ ruby2_keywords def new(*)
35
36
  super.tap do |instance|
36
37
  instance.instance_variable_set(:@version, -1)
37
38
  instance.instance_variable_set(:@unpublished_events, [])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AggregateRoot
4
- VERSION = "2.0.0"
4
+ VERSION = "2.0.1"
5
5
  end
metadata CHANGED
@@ -1,29 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aggregate_root
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-30 00:00:00.000000000 Z
11
+ date: 2021-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ruby2_keywords
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: ruby_event_store
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - '='
18
32
  - !ruby/object:Gem::Version
19
- version: 2.0.0
33
+ version: 2.0.1
20
34
  type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
38
  - - '='
25
39
  - !ruby/object:Gem::Version
26
- version: 2.0.0
40
+ version: 2.0.1
27
41
  description: Event sourced (with Rails Event Store) aggregate root implementation
28
42
  email:
29
43
  - dev@arkency.com
@@ -68,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
82
  - !ruby/object:Gem::Version
69
83
  version: '0'
70
84
  requirements: []
71
- rubygems_version: 3.1.4
85
+ rubygems_version: 3.2.3
72
86
  signing_key:
73
87
  specification_version: 4
74
88
  summary: Event sourced (with Rails Event Store) aggregate root implementation