rails_event_store 0.1.3 → 0.1.4

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: 5e7e79b6ac4baf7aefef23a90ef89ca16e8704b4
4
- data.tar.gz: a4fd3f1e1fd6ab6ce86b8bdf8c4cb52474c47546
3
+ metadata.gz: 46e6eb0b69f0cbd500cf7dec66c0f9a13fb1951c
4
+ data.tar.gz: c073b7960a7cce76edfda8ab85e6b9b0465438ea
5
5
  SHA512:
6
- metadata.gz: 9da2db327c6968a2614fa7a4b2ca570ef3394db5e8fdd573a9a85ac90e0d7c3fc77cabd116c27d2f2893f84488fe4d89dfec0ef3c4b3553aa301f3b38da8c0e7
7
- data.tar.gz: 42f2f823e3a1d4e72b2c2e9c136e58732bbea338df6eb3528209141f24fa7d418c9220c8f1d0449ebd86fe2a33f2869f86afd6be3f56f55b4a5a31233741ab39
6
+ metadata.gz: 7d008de3983e51a6c20a38d6a90053570808ab86b0ea1e112b7bbdd2733db46fecbff69ae446ea07216e830e0cfa6f45bb350a72104a28b67128ae38b970042d
7
+ data.tar.gz: 4753b07f23e57befb6171c9679fa04e6896b1f5d5bdfe185bf58d44ed5c26443a651bb4e15b7b1a2d882260ca8aa194ded54a3ba7b89cce77cc138023df0f0ac
@@ -23,11 +23,11 @@ module RailsEventStore
23
23
  end
24
24
 
25
25
  def get_all_events
26
- adapter.find(:all, order: 'stream').map &method(:build_event_entity)
26
+ adapter.order('id ASC').order('stream').all.map &method(:build_event_entity)
27
27
  end
28
28
 
29
29
  def last_stream_event(stream_name)
30
- adapter.where(stream: stream_name).last.map &method(:build_event_entity)
30
+ build_event_entity adapter.where(stream: stream_name).last
31
31
  end
32
32
 
33
33
  def load_all_events_forward(stream_name)
@@ -1,3 +1,3 @@
1
1
  module RailsEventStore
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
@@ -6,8 +6,8 @@ require 'rails_event_store/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'rails_event_store'
8
8
  spec.version = RailsEventStore::VERSION
9
- spec.authors = ['rybex']
10
- spec.email = ['tomek.rybka@gmail.com']
9
+ spec.authors = ['rybex', 'mpraglowski']
10
+ spec.email = ['tomek.rybka@gmail.com', 'm@praglowski.com']
11
11
 
12
12
  spec.summary = %q{Implementation of Event Store in Ruby}
13
13
  spec.description = %q{Implementation of Event Store in Ruby}
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency 'rails', '~> 4.2.1'
26
26
  spec.add_development_dependency 'webmock', '~> 1.21.0'
27
27
 
28
- spec.add_dependency 'ruby_event_store'
28
+ spec.add_dependency 'ruby_event_store', '>= 0.2.0'
29
29
  spec.add_dependency 'activesupport', '>= 3.0'
30
30
  spec.add_dependency 'activemodel', '>= 3.0'
31
31
 
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_event_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - rybex
8
+ - mpraglowski
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2015-07-07 00:00:00.000000000 Z
12
+ date: 2016-01-27 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
@@ -100,14 +101,14 @@ dependencies:
100
101
  requirements:
101
102
  - - ">="
102
103
  - !ruby/object:Gem::Version
103
- version: '0'
104
+ version: 0.2.0
104
105
  type: :runtime
105
106
  prerelease: false
106
107
  version_requirements: !ruby/object:Gem::Requirement
107
108
  requirements:
108
109
  - - ">="
109
110
  - !ruby/object:Gem::Version
110
- version: '0'
111
+ version: 0.2.0
111
112
  - !ruby/object:Gem::Dependency
112
113
  name: activesupport
113
114
  requirement: !ruby/object:Gem::Requirement
@@ -139,6 +140,7 @@ dependencies:
139
140
  description: Implementation of Event Store in Ruby
140
141
  email:
141
142
  - tomek.rybka@gmail.com
143
+ - m@praglowski.com
142
144
  executables: []
143
145
  extensions: []
144
146
  extra_rdoc_files: []
@@ -184,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
186
  version: '0'
185
187
  requirements: []
186
188
  rubyforge_project:
187
- rubygems_version: 2.4.8
189
+ rubygems_version: 2.2.5
188
190
  signing_key:
189
191
  specification_version: 4
190
192
  summary: Implementation of Event Store in Ruby