rails_event_store 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/rails_event_store/repositories/event_repository.rb +1 -0
- data/lib/rails_event_store/version.rb +1 -1
- data/rails_event_store.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0992bc549d3c1616e20258696ff331de647146c
|
4
|
+
data.tar.gz: 072222d47a510f605ba5ee6b8610c5508a227722
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57487c4a42e1b6f388a53bdb1df0884968299abdec6329a683aea48d0e4c45437736454bc350e9ee4fa8f05620900f2fb6f1c64e2acbbfae95291439bd4bb622
|
7
|
+
data.tar.gz: 2f89bffb956a7fc0a8712926b643d8e34958ab90a28ce2005cb23b8cbd3f4748510de9ea2e11c1a3b077620fe76d72748570dd48db47039b3d24cdde431eef9f
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -110,7 +110,7 @@ client.delete_stream(stream_name)
|
|
110
110
|
|
111
111
|
#### Subscribing to events
|
112
112
|
|
113
|
-
To listen on specific events synchronously you have to create subscriber
|
113
|
+
To listen on specific events synchronously you have to create subscriber representation. The only requirement is that subscriber class has to implement the 'handle_event(event)' method.
|
114
114
|
|
115
115
|
```ruby
|
116
116
|
class InvoiceReadModel
|
data/rails_event_store.gemspec
CHANGED
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_development_dependency 'rspec'
|
25
25
|
spec.add_development_dependency 'rails', '~> 4.2.1'
|
26
26
|
spec.add_development_dependency 'webmock', '~> 1.21.0'
|
27
|
+
spec.add_development_dependency 'sqlite3'
|
27
28
|
|
28
29
|
spec.add_dependency 'ruby_event_store', '>= 0.2.0'
|
29
30
|
spec.add_dependency 'activesupport', '>= 3.0'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_event_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rybex
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-02-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -95,6 +95,20 @@ dependencies:
|
|
95
95
|
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: 1.21.0
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: sqlite3
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
98
112
|
- !ruby/object:Gem::Dependency
|
99
113
|
name: ruby_event_store
|
100
114
|
requirement: !ruby/object:Gem::Requirement
|