event_store 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -41,6 +41,9 @@ EventStore.connect_db(redis_config, database_config) #The redis and database con
41
41
  ```ruby
42
42
  client = EventStore::Client.new(aggregate_id)
43
43
 
44
+ # transactionally append an array events to an aggregate's event stream
45
+ client.append(events)
46
+
44
47
  # Get a list of events representing a snapshot of the aggregate's current state (fast)
45
48
  client.snapshot
46
49
 
@@ -56,9 +59,6 @@ client.event_stream_from(347, 1000)
56
59
  # Get the last event for an aggregate
57
60
  client.peek
58
61
 
59
- # Append events to an aggregate's event stream
60
- client.append(events, expected_version)
61
-
62
62
  # Get the current version of an aggregate
63
63
  client.version
64
64
 
@@ -1,3 +1,3 @@
1
1
  module EventStore
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -19,7 +19,7 @@ end
19
19
 
20
20
  require 'event_store'
21
21
 
22
- EventStore.vertica
22
+ EventStore.postgres
23
23
 
24
24
  RSpec.configure do |config|
25
25
  config.after(:each) do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: event_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: