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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7cd8418290dab99d162367189c7c6fb7bd6b581
4
- data.tar.gz: 33ef529d3cb2c33744de40c986b58d00dab9afe3
3
+ metadata.gz: a0992bc549d3c1616e20258696ff331de647146c
4
+ data.tar.gz: 072222d47a510f605ba5ee6b8610c5508a227722
5
5
  SHA512:
6
- metadata.gz: d4f1f8817d52951672bc55d8779b2a8fce49790ea925440335c7f5f7537827bb2d0cf1679110c9bb44bb9c7648da396d691e099e77f01068c6860c5f469eb050
7
- data.tar.gz: e88b5409772430c1c02818d1bdb9661a73d8061c4f57e7a88318044c1854e1eaaec6606c382fbfeb196b1985f147815f627db2dfd1be1fd80742a5e8f0a6bdd6
6
+ metadata.gz: 57487c4a42e1b6f388a53bdb1df0884968299abdec6329a683aea48d0e4c45437736454bc350e9ee4fa8f05620900f2fb6f1c64e2acbbfae95291439bd4bb622
7
+ data.tar.gz: 2f89bffb956a7fc0a8712926b643d8e34958ab90a28ce2005cb23b8cbd3f4748510de9ea2e11c1a3b077620fe76d72748570dd48db47039b3d24cdde431eef9f
@@ -1,5 +1,9 @@
1
1
  ### HEAD
2
2
 
3
+ ### 0.2.1 (25.02.2016)
4
+
5
+ * Fix: Error when trying to #read_all_streams #20
6
+
3
7
  ### 0.2.0 (29.01.2016)
4
8
 
5
9
  * Removed EventEntity class
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 reprezentation. The only requirement is that subscriber class has to implement the 'handle_event(event)' method.
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
@@ -45,6 +45,7 @@ module RailsEventStore
45
45
  ::RailsEventStore::Event.new(record.data.merge(
46
46
  event_type: record.event_type,
47
47
  event_id: record.event_id,
48
+ stream: record.stream,
48
49
  metadata: record.metadata))
49
50
  end
50
51
 
@@ -1,3 +1,3 @@
1
1
  module RailsEventStore
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
@@ -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.0
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-01-29 00:00:00.000000000 Z
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