rails_event_store 0.14.5 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/Gemfile +4 -1
- data/Makefile +4 -0
- data/README.md +2 -49
- data/lib/rails_event_store/version.rb +1 -1
- data/rails_event_store.gemspec +3 -3
- metadata +14 -18
- data/.gitignore +0 -11
- data/.travis.yml +0 -13
- data/CONTRIBUTING.md +0 -3
- data/LICENSE +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1959de15b663113f111dfef724fc883726c480a8
|
4
|
+
data.tar.gz: e8eb8de7513d719174c1e0f9e14d4e40f35cd005
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7e2f5d64474fa6fcf07ee7b428ddcd9437e4c392c3f54635e2778b3a1b5cf58341c65fac7c85d897ebf475d8b96ec884c1134bd30e42b69bbc9fcf7b3c557b8
|
7
|
+
data.tar.gz: 18a58a0b20c93c4a99d3b1936dbedb322cee78cb9a0e10033cc038d511e78215b601a5f80bb0f7a5445be6a669d5eba465e1312a89b23d73deda94db304f945f
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -1,3 +1,6 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
gemspec
|
3
|
-
|
3
|
+
|
4
|
+
gem 'ruby_event_store', path: '../ruby_event_store'
|
5
|
+
gem 'rails_event_store_active_record', path: '../rails_event_store_active_record'
|
6
|
+
gem 'aggregate_root', path: '../aggregate_root'
|
data/Makefile
CHANGED
@@ -12,6 +12,10 @@ mutate: test ## Run mutation tests
|
|
12
12
|
@echo "Running mutation tests - only 100% free mutation will be accepted"
|
13
13
|
@bundle exec mutant --include lib --require rails_event_store --use rspec --ignore-subject "RailsEventStore.const_missing" "RailsEventStore*"
|
14
14
|
|
15
|
+
release:
|
16
|
+
@rake build
|
17
|
+
@rake release:rubygem_push
|
18
|
+
|
15
19
|
.PHONY: help
|
16
20
|
|
17
21
|
help:
|
data/README.md
CHANGED
@@ -1,50 +1,3 @@
|
|
1
|
-
|
2
|
-
[![Gem Version](https://badge.fury.io/rb/rails_event_store.svg)](http://badge.fury.io/rb/rails_event_store)
|
3
|
-
[![Code Climate](https://codeclimate.com/github/arkency/rails_event_store/badges/gpa.svg)](https://codeclimate.com/github/arkency/rails_event_store)
|
4
|
-
[![Test Coverage](https://codeclimate.com/github/arkency/rails_event_store/badges/coverage.svg)](https://codeclimate.com/github/arkency/rails_event_store)
|
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)
|
1
|
+
# RailsEventStore
|
6
2
|
|
7
|
-
|
8
|
-
|
9
|
-
A Ruby implementation of an EventStore.
|
10
|
-
Default storage is events repository based on Active Record (provided by separate gem: [rails_event_store_active_record](http://github.com/arkency/rails_event_store_active_record)).
|
11
|
-
|
12
|
-
# Documentation
|
13
|
-
|
14
|
-
All documentation and sample codes are available at [http://railseventstore.arkency.com](http://railseventstore.arkency.com). If you'd like to contribute by writing or maintaining docs, they're stored in the `gh-pages` branch in this repository.
|
15
|
-
|
16
|
-
|
17
|
-
# Contributing
|
18
|
-
|
19
|
-
Check the contribution guide on [CONTRIBUTING.md](https://github.com/arkency/rails_event_store/blob/master/CONTRIBUTING.md)
|
20
|
-
|
21
|
-
We're aiming for 100% mutation coverage in this project.
|
22
|
-
Read the reasoning:
|
23
|
-
|
24
|
-
[Why I want to introduce mutation testing to the rails_event_store gem](http://blog.arkency.com/2015/04/why-i-want-to-introduce-mutation-testing-to-the-rails-event-store-gem/)
|
25
|
-
|
26
|
-
[Mutation testing and continuous integration](http://blog.arkency.com/2015/05/mutation-testing-and-continuous-integration/)
|
27
|
-
|
28
|
-
In practice, it means that we run `make mutate` as part of the CI process.
|
29
|
-
Whenever you fix a bug or add a new feature, we require that the coverage doesn't go down.
|
30
|
-
|
31
|
-
## About
|
32
|
-
|
33
|
-
<img src="http://arkency.com/images/arkency.png" alt="Arkency" width="60px" align="left" />
|
34
|
-
|
35
|
-
This repository is funded and maintained by Arkency. Check out our other [open-source projects](https://github.com/arkency).
|
36
|
-
|
37
|
-
You can also [hire us](http://arkency.com) or [read our blog](http://blog.arkency.com).
|
38
|
-
|
39
|
-
## Learn more about DDD & Event Sourcing
|
40
|
-
|
41
|
-
Check our **Rails + Domain Driven Design Workshop** [more details](http://blog.arkency.com/ddd-training/).
|
42
|
-
|
43
|
-
Why You should attend? Robert has explained this in [this blogpost](http://blog.arkency.com/2016/12/why-would-you-even-want-to-listen-about-ddd/).
|
44
|
-
|
45
|
-
|
46
|
-
Next edition will be held on **21-22th September 2017** in Berlin, Germany.
|
47
|
-
Another edition is also planned for November in London.
|
48
|
-
|
49
|
-
You may also consider buying the [Domain-Driven Rails book](http://blog.arkency.com/domain-driven-rails/).
|
50
|
-
Workshop will be held in English.
|
3
|
+
Rails wrapper for Ruby Event Store with batteries included.
|
data/rails_event_store.gemspec
CHANGED
@@ -27,9 +27,9 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_development_dependency 'sqlite3'
|
28
28
|
spec.add_development_dependency 'rack-test'
|
29
29
|
|
30
|
-
spec.add_dependency 'ruby_event_store', '
|
31
|
-
spec.add_dependency 'rails_event_store_active_record', '
|
32
|
-
spec.add_dependency 'aggregate_root', '
|
30
|
+
spec.add_dependency 'ruby_event_store', '= 0.15.0'
|
31
|
+
spec.add_dependency 'rails_event_store_active_record', '= 0.15.0'
|
32
|
+
spec.add_dependency 'aggregate_root', '= 0.15.0'
|
33
33
|
spec.add_dependency 'activesupport', '>= 3.0'
|
34
34
|
spec.add_dependency 'activemodel', '>= 3.0'
|
35
35
|
spec.add_development_dependency 'mutant-rspec', '~> 0.8.11'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_event_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkency
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -112,44 +112,44 @@ dependencies:
|
|
112
112
|
name: ruby_event_store
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
117
|
+
version: 0.15.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
124
|
+
version: 0.15.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rails_event_store_active_record
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.
|
131
|
+
version: 0.15.0
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.
|
138
|
+
version: 0.15.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: aggregate_root
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.
|
145
|
+
version: 0.15.0
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- -
|
150
|
+
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
152
|
+
version: 0.15.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: activesupport
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,12 +199,8 @@ executables: []
|
|
199
199
|
extensions: []
|
200
200
|
extra_rdoc_files: []
|
201
201
|
files:
|
202
|
-
- ".gitignore"
|
203
|
-
- ".travis.yml"
|
204
202
|
- CHANGELOG.md
|
205
|
-
- CONTRIBUTING.md
|
206
203
|
- Gemfile
|
207
|
-
- LICENSE
|
208
204
|
- Makefile
|
209
205
|
- README.md
|
210
206
|
- Rakefile
|
data/.gitignore
DELETED
data/.travis.yml
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.2.7
|
4
|
-
- 2.3.4
|
5
|
-
- 2.4.1
|
6
|
-
before_install: gem install bundler
|
7
|
-
gemfile: Gemfile
|
8
|
-
script: make mutate
|
9
|
-
notifications:
|
10
|
-
slack:
|
11
|
-
secure: i/GM4u6oCfgdt9ablmOx4ov3Y9bHJjHabXxWXt+GLRlfW5MDdzwEH0QOx2mveVbit+00rKKqZzBAbEQ1yLo4MLLovHyJvCzoluC10u0MRIR7e8ZlCdlww+IL3JmD8E7G1a/fKEMoKwfLrYUXa5K0oAeKpJ3RwP+tTD+g3KxQfIA=
|
12
|
-
env:
|
13
|
-
- CODECLIMATE_REPO_TOKEN=24ac54c50ae022eb008ebd1f1e5da043d6419759136d4027d0266426c6198ef2
|
data/CONTRIBUTING.md
DELETED
data/LICENSE
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2015 Arkency
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|
22
|
-
|