rails_event_store 0.27.1 → 0.28.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
- SHA1:
3
- metadata.gz: 24b60bbd46b504b730eb1fadd1c8406efd166e48
4
- data.tar.gz: 07f328ffb95fb77583107d0e5415ceaaef7110cd
2
+ SHA256:
3
+ metadata.gz: 5afa922287d1eeca37891f36629342b43801d1c7e3a5fba6f90aebb406184b3b
4
+ data.tar.gz: e28276e728314308198be4141dd19fbf26342304d70ef0fbb19ae165bfcaf91e
5
5
  SHA512:
6
- metadata.gz: 51fd2214d157d2f07228058f7a12d14870ab7d86a89d342a740fa1880b227e790500008bcbc8b3e726b732dc7da627a711dcc9c1f12106a41c4c801f93af583d
7
- data.tar.gz: 1784a2e7cc8da949f1481b9af8ce13006919d620bac69d1ad5303d75cbd3b72aa55f0ace8c800d68875802f89bdae714aeb3b3381473107219048e63cda5504d
6
+ metadata.gz: 240923e40f8c48832033388581666af12a64d9d17901e9c2dc463daa81ec9d8462f56817c066cdf4cbc26ab06bfcfa1d99b9aee65db1c353190511e283024378
7
+ data.tar.gz: 8f95758d993ab82021d80ba0204e4a3a413adac3ffbf006aaa18be2d4476a5e1b140b62c123c980d576ac9772a4fe3dd88deaa5639193ac53646a1ea2c32609e
data/Gemfile CHANGED
@@ -5,6 +5,7 @@ gem 'ruby_event_store', path: '../ruby_event_store'
5
5
  gem 'rails_event_store_active_record', path: '../rails_event_store_active_record'
6
6
  gem 'aggregate_root', path: '../aggregate_root'
7
7
  gem 'bounded_context', path: '../bounded_context'
8
+ gem 'protobuf_nested_struct'
8
9
 
9
10
  if v = ENV['RAILS_VERSION']
10
11
  gem 'rails', v
data/Makefile CHANGED
@@ -11,6 +11,12 @@ install: ## Install gem dependencies
11
11
  @echo "Installing gem dependencies"
12
12
  @bundle install
13
13
 
14
+ remove-lock:
15
+ @echo "Removing resolved dependency versions"
16
+ -rm Gemfile.lock
17
+
18
+ reinstall: remove-lock install ## Removing resolved dependency versions
19
+
14
20
  test: ## Run unit tests
15
21
  @echo "Running unit tests"
16
22
  @bundle exec rspec
@@ -30,7 +36,7 @@ build:
30
36
 
31
37
  push:
32
38
  @echo "Pushing package to RubyGems"
33
- @gem push pkg/$(GEM_NAME)-$(GEM_VERSION).gem
39
+ @gem push -k dev_arkency pkg/$(GEM_NAME)-$(GEM_VERSION).gem
34
40
 
35
41
  clean:
36
42
  @echo "Removing previously built package"
@@ -1,10 +1,12 @@
1
1
  module RailsEventStore
2
2
  class Client < RubyEventStore::Client
3
3
  def initialize(repository: RailsEventStoreActiveRecord::EventRepository.new,
4
+ mapper: RubyEventStore::Mappers::Default.new,
4
5
  event_broker: EventBroker.new(dispatcher: ActiveJobDispatcher.new),
5
6
  page_size: PAGE_SIZE)
6
7
  capture_metadata = ->{ Thread.current[:rails_event_store] }
7
8
  super(repository: repository,
9
+ mapper: mapper,
8
10
  event_broker: event_broker,
9
11
  page_size: page_size,
10
12
  metadata_proc: capture_metadata)
@@ -1,3 +1,3 @@
1
1
  module RailsEventStore
2
- VERSION = "0.27.1"
2
+ VERSION = "0.28.0"
3
3
  end
@@ -12,7 +12,13 @@ Gem::Specification.new do |spec|
12
12
 
13
13
  spec.summary = %q{Event Store in Ruby}
14
14
  spec.description = %q{Implementation of Event Store in Ruby}
15
- spec.homepage = 'https://github.com/RailsEventStore/rails_event_store'
15
+ spec.homepage = 'https://railseventstore.org'
16
+ spec.metadata = {
17
+ "homepage_uri" => "https://railseventstore.org/",
18
+ "changelog_uri" => "https://github.com/RailsEventStore/rails_event_store/releases",
19
+ "source_code_uri" => "https://github.com/RailsEventStore/rails_event_store",
20
+ "bug_tracker_uri" => "https://github.com/RailsEventStore/rails_event_store/issues",
21
+ }
16
22
 
17
23
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
24
  spec.bindir = 'exe'
@@ -22,17 +28,17 @@ Gem::Specification.new do |spec|
22
28
  spec.add_development_dependency 'bundler', '~> 1.15'
23
29
  spec.add_development_dependency 'rake', '~> 10.0'
24
30
  spec.add_development_dependency 'rspec', '~> 3.6'
25
- spec.add_development_dependency 'rails', '~> 5.1'
31
+ spec.add_development_dependency 'rails', '~> 5.2'
26
32
  spec.add_development_dependency 'pry'
27
33
  spec.add_development_dependency 'sqlite3'
28
34
  spec.add_development_dependency 'rack-test'
29
35
  spec.add_development_dependency 'mutant-rspec', '~> 0.8.14'
30
36
  spec.add_development_dependency 'google-protobuf', '~> 3.5.1.2'
31
37
 
32
- spec.add_dependency 'ruby_event_store', '= 0.27.1'
33
- spec.add_dependency 'rails_event_store_active_record', '= 0.27.1'
34
- spec.add_dependency 'aggregate_root', '= 0.27.1'
35
- spec.add_dependency 'bounded_context', '= 0.27.1'
38
+ spec.add_dependency 'ruby_event_store', '= 0.28.0'
39
+ spec.add_dependency 'rails_event_store_active_record', '= 0.28.0'
40
+ spec.add_dependency 'aggregate_root', '= 0.28.0'
41
+ spec.add_dependency 'bounded_context', '= 0.28.0'
36
42
  spec.add_dependency 'activesupport', '>= 3.0'
37
43
  spec.add_dependency 'activemodel', '>= 3.0'
38
44
  spec.add_dependency 'activejob', '>= 3.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_event_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.1
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-26 00:00:00.000000000 Z
11
+ date: 2018-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '5.1'
61
+ version: '5.2'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '5.1'
68
+ version: '5.2'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: pry
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -142,56 +142,56 @@ dependencies:
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 0.27.1
145
+ version: 0.28.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '='
151
151
  - !ruby/object:Gem::Version
152
- version: 0.27.1
152
+ version: 0.28.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rails_event_store_active_record
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - '='
158
158
  - !ruby/object:Gem::Version
159
- version: 0.27.1
159
+ version: 0.28.0
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: 0.27.1
166
+ version: 0.28.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: aggregate_root
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - '='
172
172
  - !ruby/object:Gem::Version
173
- version: 0.27.1
173
+ version: 0.28.0
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - '='
179
179
  - !ruby/object:Gem::Version
180
- version: 0.27.1
180
+ version: 0.28.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: bounded_context
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - '='
186
186
  - !ruby/object:Gem::Version
187
- version: 0.27.1
187
+ version: 0.28.0
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - '='
193
193
  - !ruby/object:Gem::Version
194
- version: 0.27.1
194
+ version: 0.28.0
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: activesupport
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -270,10 +270,14 @@ files:
270
270
  - lib/rails_event_store/version.rb
271
271
  - rails_event_store.gemspec
272
272
  - tmp/.keep
273
- homepage: https://github.com/RailsEventStore/rails_event_store
273
+ homepage: https://railseventstore.org
274
274
  licenses:
275
275
  - MIT
276
- metadata: {}
276
+ metadata:
277
+ homepage_uri: https://railseventstore.org/
278
+ changelog_uri: https://github.com/RailsEventStore/rails_event_store/releases
279
+ source_code_uri: https://github.com/RailsEventStore/rails_event_store
280
+ bug_tracker_uri: https://github.com/RailsEventStore/rails_event_store/issues
277
281
  post_install_message:
278
282
  rdoc_options: []
279
283
  require_paths:
@@ -290,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
290
294
  version: '0'
291
295
  requirements: []
292
296
  rubyforge_project:
293
- rubygems_version: 2.6.13
297
+ rubygems_version: 2.7.6
294
298
  signing_key:
295
299
  specification_version: 4
296
300
  summary: Event Store in Ruby