rails_event_store_active_record 0.6.13 → 0.15.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile +2 -1
- data/Makefile +4 -0
- data/README.md +3 -45
- data/lib/rails_event_store_active_record/version.rb +1 -1
- data/rails_event_store_active_record.gemspec +1 -1
- metadata +6 -10
- data/.gitignore +0 -9
- 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: b32d81032c2c9258d781abf7de8191c54569f422
|
4
|
+
data.tar.gz: 17a77dc96ec4d3ed9d8c0100bed5456a145caa76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d15ff9e3d19cd3440b43d88f483e0a8596341f25a237d6639751711ddedba4575e5c3b53afa80efb56a6650d9072cbd1caef27340adb41f00a51b9e7b2dc158e
|
7
|
+
data.tar.gz: 854f88059e109cd956873c94b94232f066853359bb56647657b27b99c18e63fd41b873940f9e6ce2ceb832d3aeb9947124c0e7b231dfa995ee117de8c8f561d6
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
Further changes can be tracked at [releases page](https://github.com/RailsEventStore/rails_event_store/releases).
|
2
|
+
|
3
|
+
### 0.6.14 (unreleased)
|
4
|
+
|
5
|
+
* Run tests in random order
|
6
|
+
|
1
7
|
### 0.6.13 (24.08.2017)
|
2
8
|
|
3
9
|
* Fix: Generate migration with version number for Rails versions that support it. Fixes compatibility with Rails 5.1.
|
data/Gemfile
CHANGED
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 ruby_event_store --use rspec "RailsEventStoreActiveRecord*" --ignore-subject "RailsEventStoreActiveRecord::EventRepository#read_events_forward" --ignore-subject "RailsEventStoreActiveRecord::EventRepository#read_all_streams_forward" --ignore-subject "RailsEventStoreActiveRecord::EventRepository#read_stream_events_forward"
|
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,47 +1,5 @@
|
|
1
|
-
|
2
|
-
[](http://badge.fury.io/rb/rails_event_store_active_record)
|
3
|
-
[](https://codeclimate.com/github/arkency/rails_event_store_active_record)
|
4
|
-
[](https://codeclimate.com/github/arkency/rails_event_store_active_record)
|
5
|
-
[](https://gitter.im/arkency/rails_event_store?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
1
|
+
# RailsEventStoreActiveRecord
|
6
2
|
|
7
|
-
|
8
|
-
|
9
|
-
A Active Record based implementation of events repository for [Rails Event Store](http://github.com/arkency/rails_event_store).
|
10
|
-
It is a default events repository used by RailsEventStore.
|
11
|
-
|
12
|
-
# Documentation
|
13
|
-
|
14
|
-
All documentation and sample codes are available at [http://railseventstore.arkency.com](http://railseventstore.arkency.com)
|
15
|
-
|
16
|
-
# Contributing
|
17
|
-
|
18
|
-
Check the contribution guide on [CONTRIBUTING.md](https://github.com/arkency/rails_event_store_active_record/blob/master/CONTRIBUTING.md)
|
19
|
-
|
20
|
-
We're aiming for 100% mutation coverage in this project.
|
21
|
-
Read the reasoning:
|
22
|
-
|
23
|
-
[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/)
|
24
|
-
|
25
|
-
[Mutation testing and continuous integration](http://blog.arkency.com/2015/05/mutation-testing-and-continuous-integration/)
|
26
|
-
|
27
|
-
In practice, it means that we run `make mutate` as part of the CI process.
|
28
|
-
Whenever you fix a bug or add a new feature, we require that the coverage doesn't go down.
|
29
|
-
|
30
|
-
## About
|
31
|
-
|
32
|
-
<img src="http://arkency.com/images/arkency.png" alt="Arkency" width="60px" align="left" />
|
33
|
-
|
34
|
-
This repository is funded and maintained by Arkency. Check out our other [open-source projects](https://github.com/arkency).
|
35
|
-
|
36
|
-
You can also [hire us](http://arkency.com) or [read our blog](http://blog.arkency.com).
|
37
|
-
|
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
|
-
Next edition will be held on **25-26th May 2017** (Thursday & Friday) in Lviv, Ukraine.
|
46
|
-
Workshop will be held in English.
|
3
|
+
An Active Record based implementation of events repository for [Rails Event Store](http://github.com/RailsEventStore/rails_event_store/rails_event_store).
|
47
4
|
|
5
|
+
This is the default repository used in `rails_event_store` gem.
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_development_dependency 'mutant-rspec', '~> 0.8.11'
|
29
29
|
spec.add_development_dependency 'fakefs'
|
30
30
|
|
31
|
-
spec.add_dependency 'ruby_event_store', '
|
31
|
+
spec.add_dependency 'ruby_event_store', '= 0.15.0'
|
32
32
|
spec.add_dependency 'activesupport', '>= 3.0'
|
33
33
|
spec.add_dependency 'activemodel', '>= 3.0'
|
34
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_event_store_active_record
|
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
|
@@ -126,16 +126,16 @@ dependencies:
|
|
126
126
|
name: ruby_event_store
|
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: activesupport
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,13 +172,9 @@ executables: []
|
|
172
172
|
extensions: []
|
173
173
|
extra_rdoc_files: []
|
174
174
|
files:
|
175
|
-
- ".gitignore"
|
176
175
|
- ".rspec"
|
177
|
-
- ".travis.yml"
|
178
176
|
- CHANGELOG.md
|
179
|
-
- CONTRIBUTING.md
|
180
177
|
- Gemfile
|
181
|
-
- LICENSE
|
182
178
|
- Makefile
|
183
179
|
- README.md
|
184
180
|
- 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: nPrklGv0vQsCH5GQ8Czhb9CPNnCUPnScgLcYSjsVpVTt1U36fxQ0vf/zAn5k8pYJ7Xf8EjgAfhScx9DIbv+gx57FpF4QUa9OmxBrnTCpOcCKnk6NGGdz3YA2uf+AoheSW4OTJO1AQYNE0qiHUmKCJBU/QDpVPsBYsUNMo2GK2ZJwsKnAynBRgAzkJn0gWxGEJ3XMVjYSUJu6wNhf4UhcTTo/xvVfXwDCANlQDR+bA9/Bv7S0fbpuwF5LIEp9ph+4UtEkp2J+/jOKa6O+UzqyMsH6agieNbweWsXTDX5c5Lz3NcV4pym/JqHcCyBGnD4ndDpI431NS9qmLzLPAHQeYqYqHTpZwWVR+Gx8Ui5cuZttvbZFsep2geRtQjZzJgPR/sFNi3T5AbWUqd+mpBzlPkdMfxxvAUWMvUIZ6uvLigJLPcdGpCyYIDECU2LKAhV4A+WZD2yLppjJ70G1SseZfYJCi0/hF95qmhdg+JNgK+yRXt6tvPgJmr3muOByfVjdXWVNipF7YvqJDQsUh1nZdVfkIEcWB4zkkXIApO3oolgC6gPrl1vUh90VPWl6tIJAl2UAbWFlK7Xfe8faGk7srhYZyUWfSVfgwSKxfxmghhAYjxnF4PQ7ih4e6Q8NqqdsCg2dfeEECTJUNSi2Mj8fu+O0g4U7Axu2j6wT+VJ7SGA=
|
12
|
-
env:
|
13
|
-
- CODECLIMATE_REPO_TOKEN=f50cdff1520f601555ff059f54f8c72bbac628850cc5a744de73c386602a45ae
|
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
|
-
|