aggregate_root 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -0
- data/CHANGELOG.md +4 -0
- data/README.md +16 -1
- data/aggregate_root.gemspec +1 -1
- data/lib/aggregate_root/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d2487312edce757769a7e9fe4f0fe822827beb3
|
4
|
+
data.tar.gz: 75e407c43491558d02c4aad612da8fa6f1c77094
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fda24571f95d266c55d119ece7cfe1fed0c431a5ace969560399bcaf4885569ea8b9ab7e11fc4a50aa611fe14a0963171a536a44b45e14790a59e02f63938e38
|
7
|
+
data.tar.gz: 4eb681aa44413923f06dad8d8930386370f70b2c34159a669a8945627f8fb94f9ac08b3afaa08a4fbee5c7185c18c01352c5a5dcaa9e2eea2bcc05f29ffb2dff
|
data/.travis.yml
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
language: ruby
|
2
|
+
rvm:
|
3
|
+
- 2.1.5
|
4
|
+
before_install: gem install bundler
|
5
|
+
gemfile: Gemfile
|
6
|
+
env:
|
7
|
+
- CODECLIMATE_REPO_TOKEN=3af5c60b54fff033bf0dc1af4f26762647bcf3b78268a94d67ea9530b5b52a61
|
8
|
+
notifications:
|
9
|
+
slack:
|
10
|
+
secure: CFijr8ytPJGA5PqjABHTamy1b5YE0IoneBw0TemEFfatN4IYiTxRnItSmZDfVmgQLhK8EH5599j3cCsMPaC11Z10VKTCxZoxiLBJLmeVpAWPqTNL6MnHFSZ3ls/d5LkKCcbWlRKvqZpvtUW+PI7FuEWRT9ok/i1iabR5AwO1vwldKfcKgZII3PErDxIKzfIAQL45hVJsvkoTNPL0aOYnvtE6qBglCxJX6TcwAe7gwo+r6se/X0wI5gLGHz+t9NmH2PjEbG2iJ3YbrwXkAElI8TG3O4D9yUs7OaJ2yYDFs+oxseY4XwvKQtdKeu9QiFfexivLjB8FfUtgTlfmELbQ8bd3wltGxXjOdbGhR1bTHXiMtxwCJ8bB7hiDZFrYkpFn+vjmP/raXoD3o25GfEBE5dFtlm6ad+d+2rGpo9frbD3gQFYtx9LLEac2CkhCMoHAtsT3K6WqZ3VbvfG9K5iIhoGjLd3iWqsjZmFRSTrSdMskTwgochH6rx9UX1/p0MSPZ8gye7nAFMVkCoytogqJT9PAOPR+z7BfZHiD86UL+8LUrr1WneELJJDFgVZXdAV526mw/+6gsnNobj19PW4Ckgsxcz8kTzpepbmsFGGvFy6lIpIHdH8zvbOgIQlfaeLm/XQuvaudaqUtJzrNUskvon6B/f78CHV2zdUZWgCYIO0=
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
[![Build Status](https://travis-ci.org/arkency/aggregate_root.svg?branch=master)](https://travis-ci.org/arkency/aggregate_root)
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/aggregate_root.svg)](https://badge.fury.io/rb/aggregate_root)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/arkency/aggregate_root/badges/gpa.svg)](https://codeclimate.com/github/arkency/aggregate_root)
|
4
|
+
[![Test Coverage](https://codeclimate.com/github/arkency/aggregate_root/badges/coverage.svg)](https://codeclimate.com/github/arkency/aggregate_root/coverage)
|
5
|
+
[![Join the chat at https://gitter.im/arkency/rails_event_store](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/arkency/rails_event_store?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
6
|
+
|
1
7
|
# AggregateRoot
|
2
8
|
|
3
9
|
Event sourced (with Rails Event Store) aggregate root implementation.
|
@@ -10,6 +16,9 @@ Event sourced (with Rails Event Store) aggregate root implementation.
|
|
10
16
|
gem 'aggregate_root'
|
11
17
|
```
|
12
18
|
|
19
|
+
Setup [RailsEventStore](https://github.com/arkency/rails_event_store/) as described in
|
20
|
+
Installation section of [readme](https://github.com/arkency/rails_event_store/blob/master/README.md#installation).
|
21
|
+
|
13
22
|
## Usage
|
14
23
|
|
15
24
|
To create a new aggregate domain object include `AggregateRoot::Base` module.
|
@@ -96,11 +105,17 @@ and publish them in order of creation to event store.
|
|
96
105
|
|
97
106
|
#### Resources
|
98
107
|
|
99
|
-
There're already few blogposts about
|
108
|
+
There're already few blogposts about building an event sourced applications wth [rails_event_store](https://github.com/arkency/rails_event_store) and aggregate_root gems:
|
100
109
|
|
101
110
|
* [Why use Event Sourcing](http://blog.arkency.com/2015/03/why-use-event-sourcing/)
|
102
111
|
* [The Event Store for Rails developers](http://blog.arkency.com/2015/04/the-event-store-for-rails-developers/)
|
103
112
|
* [Fast introduction to Event Sourcing for Ruby programmers](http://blog.arkency.com/2015/03/fast-introduction-to-event-sourcing-for-ruby-programmers/)
|
113
|
+
* [Building an Event Sourced application using rails_event_store](http://blog.arkency.com/2015/05/building-an-event-sourced-application-using-rails-event-store/)
|
114
|
+
* [Using domain events as success/failure messages](http://blog.arkency.com/2015/05/using-domain-events-as-success-slash-failure-messages/)
|
115
|
+
* [Subscribing for events in rails_event_store](http://blog.arkency.com/2015/06/subscribing-for-events-in-rails-event-store/)
|
116
|
+
* [Testing an Event Sourced application](http://blog.arkency.com/2015/07/testing-event-sourced-application/)
|
117
|
+
* [Testing Event Sourced application - the read side](http://blog.arkency.com/2015/09/testing-event-sourced-application-the-read-side/)
|
118
|
+
* [One event to rule them all](http://blog.arkency.com/2016/01/one-event-to-rule-them-all/)
|
104
119
|
|
105
120
|
## About
|
106
121
|
|
data/aggregate_root.gemspec
CHANGED
@@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_development_dependency 'rspec'
|
25
25
|
spec.add_development_dependency 'rails', '~> 4.2.1'
|
26
26
|
|
27
|
-
spec.add_dependency 'rails_event_store', '>= 0.
|
27
|
+
spec.add_dependency 'rails_event_store', '>= 0.2.0'
|
28
28
|
spec.add_dependency 'activesupport', '>= 3.0'
|
29
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aggregate_root
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mpraglowski
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.2.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.2.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: activesupport
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,6 +116,7 @@ extensions: []
|
|
116
116
|
extra_rdoc_files: []
|
117
117
|
files:
|
118
118
|
- ".gitignore"
|
119
|
+
- ".travis.yml"
|
119
120
|
- CHANGELOG.md
|
120
121
|
- Gemfile
|
121
122
|
- LICENSE
|