aggregate_root 1.3.1 → 2.0.0

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: f91fa66de93b3968054796d0da1d2045d8ade08ac7ac27acc8ff94b3587bc42a
4
- data.tar.gz: 2350a3d182a1425d9b7a687d390f44bca10b3c2c7af8a72e8f8e024c5447e268
3
+ metadata.gz: b0e7fd5c8185d692efe38480983bd4f4c1237b402592541a7f38e78b442015a7
4
+ data.tar.gz: a145924644f4c30dd928397df65a0656a2549ee0c2f5251176c46a462f7c7a7e
5
5
  SHA512:
6
- metadata.gz: fc61a5fa7995833574724207df945b75b38c70593cf38b9d90ac2c4241919a08dc337863e23d296242dd7e9bf2d668d0854a57a50fb7e62b2921ab53464a34f2
7
- data.tar.gz: 0c1a6b9de67f2018613f8d92824c9445f5e3b742cbc8c1d27865a6234d6c701cc53a68903b90dc07acabad01dcdcf1c29268ccb85dddfc7e3f2f8a1532752d0f
6
+ metadata.gz: 7dcc62325186586d6032b2c9680565a3b8d65524809db546e331a08ef8338dfce73a656853613d981fbf434848739999f2c910f8fd1a83ebbc36293f0e60071c
7
+ data.tar.gz: f7e25a50fed3c48a0805968a18c846d1c5b398d8599a2202f0a993e88790da3414b438d65d36a907378b3db70f5d3f90944dee16f18524d039bde3146531bde4
data/.mutant.yml ADDED
@@ -0,0 +1 @@
1
+ ../.mutant.yml
data/Gemfile CHANGED
@@ -4,9 +4,7 @@ source 'https://rubygems.org'
4
4
  git_source(:github) { |repo| "https://github.com/#{repo}.git" }
5
5
  gemspec
6
6
 
7
- eval_gemfile File.expand_path('../support/bundler/Gemfile.shared', __dir__)
7
+ eval_gemfile '../support/bundler/Gemfile.shared'
8
8
 
9
9
  gem 'ruby_event_store', path: '../ruby_event_store'
10
- gem 'protobuf_nested_struct'
11
- gem 'google-protobuf', '~> 3.12.2', '>= 3.12.2'
12
10
  gem 'activesupport', '~> 5.0'
data/Gemfile.lock ADDED
@@ -0,0 +1,116 @@
1
+ PATH
2
+ remote: ../ruby_event_store
3
+ specs:
4
+ ruby_event_store (2.0.0)
5
+ concurrent-ruby (~> 1.0, >= 1.1.6)
6
+
7
+ PATH
8
+ remote: .
9
+ specs:
10
+ aggregate_root (2.0.0)
11
+ ruby_event_store (= 2.0.0)
12
+
13
+ GEM
14
+ remote: https://rubygems.org/
15
+ remote: https://oss:7AXfeZdAfCqL1PvHm2nvDJO6Zd9UW8IK@gem.mutant.dev/
16
+ specs:
17
+ abstract_type (0.0.7)
18
+ activesupport (5.2.4.4)
19
+ concurrent-ruby (~> 1.0, >= 1.0.2)
20
+ i18n (>= 0.7, < 2)
21
+ minitest (~> 5.1)
22
+ tzinfo (~> 1.1)
23
+ adamantium (0.2.0)
24
+ ice_nine (~> 0.11.0)
25
+ memoizable (~> 0.4.0)
26
+ anima (0.3.2)
27
+ abstract_type (~> 0.0.7)
28
+ adamantium (~> 0.2)
29
+ equalizer (~> 0.0.11)
30
+ ast (2.4.1)
31
+ concord (0.1.6)
32
+ adamantium (~> 0.2.0)
33
+ equalizer (~> 0.0.9)
34
+ concurrent-ruby (1.1.7)
35
+ diff-lcs (1.4.4)
36
+ equalizer (0.0.11)
37
+ i18n (1.8.5)
38
+ concurrent-ruby (~> 1.0)
39
+ ice_nine (0.11.2)
40
+ memoizable (0.4.2)
41
+ thread_safe (~> 0.3, >= 0.3.1)
42
+ minitest (5.14.2)
43
+ mprelude (0.1.0)
44
+ abstract_type (~> 0.0.7)
45
+ adamantium (~> 0.2.0)
46
+ concord (~> 0.1.5)
47
+ equalizer (~> 0.0.9)
48
+ ice_nine (~> 0.11.1)
49
+ procto (~> 0.0.2)
50
+ mutant (0.10.22)
51
+ abstract_type (~> 0.0.7)
52
+ adamantium (~> 0.2.0)
53
+ anima (~> 0.3.1)
54
+ ast (~> 2.2)
55
+ concord (~> 0.1.5)
56
+ diff-lcs (~> 1.3)
57
+ equalizer (~> 0.0.9)
58
+ ice_nine (~> 0.11.1)
59
+ memoizable (~> 0.4.2)
60
+ mprelude (~> 0.1.0)
61
+ parser (~> 3.0.0)
62
+ procto (~> 0.0.2)
63
+ unparser (~> 0.5.6)
64
+ variable (~> 0.0.1)
65
+ mutant-license (0.1.1.2.1627430819213747598431630701693729869473.0)
66
+ mutant-rspec (0.10.22)
67
+ mutant (= 0.10.22)
68
+ rspec-core (>= 3.8.0, < 4.0.0)
69
+ parser (3.0.0.0)
70
+ ast (~> 2.4.1)
71
+ procto (0.0.3)
72
+ rake (13.0.3)
73
+ rspec (3.10.0)
74
+ rspec-core (~> 3.10.0)
75
+ rspec-expectations (~> 3.10.0)
76
+ rspec-mocks (~> 3.10.0)
77
+ rspec-core (3.10.1)
78
+ rspec-support (~> 3.10.0)
79
+ rspec-expectations (3.10.1)
80
+ diff-lcs (>= 1.2.0, < 2.0)
81
+ rspec-support (~> 3.10.0)
82
+ rspec-mocks (3.10.1)
83
+ diff-lcs (>= 1.2.0, < 2.0)
84
+ rspec-support (~> 3.10.0)
85
+ rspec-support (3.10.1)
86
+ thread_safe (0.3.6)
87
+ tzinfo (1.2.9)
88
+ thread_safe (~> 0.1)
89
+ unparser (0.5.6)
90
+ abstract_type (~> 0.0.7)
91
+ adamantium (~> 0.2.0)
92
+ anima (~> 0.3.1)
93
+ concord (~> 0.1.5)
94
+ diff-lcs (~> 1.3)
95
+ equalizer (~> 0.0.9)
96
+ mprelude (~> 0.1.0)
97
+ parser (>= 3.0.0)
98
+ procto (~> 0.0.2)
99
+ variable (0.0.1)
100
+ equalizer (~> 0.0.11)
101
+
102
+ PLATFORMS
103
+ ruby
104
+
105
+ DEPENDENCIES
106
+ activesupport (~> 5.0)
107
+ aggregate_root!
108
+ mutant (~> 0.10.21)
109
+ mutant-license!
110
+ mutant-rspec (~> 0.10.21)
111
+ rake (>= 10.0)
112
+ rspec (~> 3.6)
113
+ ruby_event_store!
114
+
115
+ BUNDLED WITH
116
+ 2.1.4
@@ -22,10 +22,7 @@ Gem::Specification.new do |spec|
22
22
  }
23
23
 
24
24
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
- spec.bindir = 'exe'
26
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
25
  spec.require_paths = ['lib']
28
26
 
29
- spec.add_dependency 'ruby2_keywords'
30
- spec.add_dependency 'ruby_event_store', '= 1.3.1'
27
+ spec.add_dependency 'ruby_event_store', '= 2.0.0'
31
28
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AggregateRoot
4
- VERSION = "1.3.1"
4
+ VERSION = "2.0.0"
5
5
  end
@@ -6,7 +6,6 @@ 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'
10
9
 
11
10
  module AggregateRoot
12
11
  module OnDSL
@@ -32,7 +31,7 @@ module AggregateRoot
32
31
  end
33
32
 
34
33
  module Constructor
35
- ruby2_keywords def new(*)
34
+ def new(*)
36
35
  super.tap do |instance|
37
36
  instance.instance_variable_set(:@version, -1)
38
37
  instance.instance_variable_set(:@unpublished_events, [])
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aggregate_root
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-05 00:00:00.000000000 Z
11
+ date: 2020-12-30 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'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: ruby_event_store
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - '='
32
18
  - !ruby/object:Gem::Version
33
- version: 1.3.1
19
+ version: 2.0.0
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
24
  - - '='
39
25
  - !ruby/object:Gem::Version
40
- version: 1.3.1
26
+ version: 2.0.0
41
27
  description: Event sourced (with Rails Event Store) aggregate root implementation
42
28
  email:
43
29
  - dev@arkency.com
@@ -45,8 +31,10 @@ executables: []
45
31
  extensions: []
46
32
  extra_rdoc_files: []
47
33
  files:
34
+ - ".mutant.yml"
48
35
  - CHANGELOG.md
49
36
  - Gemfile
37
+ - Gemfile.lock
50
38
  - Makefile
51
39
  - README.md
52
40
  - aggregate_root.gemspec
@@ -80,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
68
  - !ruby/object:Gem::Version
81
69
  version: '0'
82
70
  requirements: []
83
- rubygems_version: 3.2.3
71
+ rubygems_version: 3.1.4
84
72
  signing_key:
85
73
  specification_version: 4
86
74
  summary: Event sourced (with Rails Event Store) aggregate root implementation