rails_event_store_active_record 0.6.5 → 0.6.6

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: 915467bdbe967abb62f2291c61f8ee090f3346e6
4
- data.tar.gz: 779f0af489caf6b237124a064bce3132287075c2
3
+ metadata.gz: 11985dbf41c1539b5fddf3a4701518867445edde
4
+ data.tar.gz: 7e34a93a851918ea941d8cc41df25143919bcf6c
5
5
  SHA512:
6
- metadata.gz: f0682f6f428296cba163335a4af4bdbd8108e4b1987376e8d6718f4ec99d5c2f62dfb52e857886ff5dabce2e064029b78f441abb4ae20416411d56f1122d6604
7
- data.tar.gz: 443ee470d0ba1abcf3185bed8db2dc4b6d666589fb6419c2c746386eaca790e8cc1ac9babed63ef6913162f5cac7ff79fcd4c030ab72f155aaef997f31f26621
6
+ metadata.gz: 6644236002f212a6c403374ed1889ee1aaa497bf4ad79da4afec25e60e3d0b315f63f4bb3caef9178e3829f005bde15fee7f6cdbd55ea428fab8b09e41fda63f
7
+ data.tar.gz: 8be702c464e012429fc5acd3d436188cb6e93008589e321b66a24c09e5f034862e491be55efebc1ad8daec1a856bb125bf16538d0856101dbe720af3f364e2d9
data/.travis.yml CHANGED
@@ -3,6 +3,7 @@ rvm:
3
3
  - 2.1.5
4
4
  before_install: gem install bundler
5
5
  gemfile: Gemfile
6
+ script: make mutate
6
7
  notifications:
7
8
  slack:
8
9
  secure: nPrklGv0vQsCH5GQ8Czhb9CPNnCUPnScgLcYSjsVpVTt1U36fxQ0vf/zAn5k8pYJ7Xf8EjgAfhScx9DIbv+gx57FpF4QUa9OmxBrnTCpOcCKnk6NGGdz3YA2uf+AoheSW4OTJO1AQYNE0qiHUmKCJBU/QDpVPsBYsUNMo2GK2ZJwsKnAynBRgAzkJn0gWxGEJ3XMVjYSUJu6wNhf4UhcTTo/xvVfXwDCANlQDR+bA9/Bv7S0fbpuwF5LIEp9ph+4UtEkp2J+/jOKa6O+UzqyMsH6agieNbweWsXTDX5c5Lz3NcV4pym/JqHcCyBGnD4ndDpI431NS9qmLzLPAHQeYqYqHTpZwWVR+Gx8Ui5cuZttvbZFsep2geRtQjZzJgPR/sFNi3T5AbWUqd+mpBzlPkdMfxxvAUWMvUIZ6uvLigJLPcdGpCyYIDECU2LKAhV4A+WZD2yLppjJ70G1SseZfYJCi0/hF95qmhdg+JNgK+yRXt6tvPgJmr3muOByfVjdXWVNipF7YvqJDQsUh1nZdVfkIEcWB4zkkXIApO3oolgC6gPrl1vUh90VPWl6tIJAl2UAbWFlK7Xfe8faGk7srhYZyUWfSVfgwSKxfxmghhAYjxnF4PQ7ih4e6Q8NqqdsCg2dfeEECTJUNSi2Mj8fu+O0g4U7Axu2j6wT+VJ7SGA=
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.6.6 (12.07.2016)
2
+
3
+ * ruby_event_store updated to 0.11.0
4
+
1
5
  ### 0.6.5 (12.07.2016)
2
6
 
3
7
  * ruby_event_store updated to 0.10.1
data/Makefile CHANGED
@@ -8,6 +8,10 @@ test: ## Run tests
8
8
  @echo "Running basic tests - beware: this won't guarantee build pass"
9
9
  @bundle exec rspec
10
10
 
11
+ mutate: test ## Run mutation tests
12
+ @echo "Running mutation tests - only 100% free mutation will be accepted"
13
+ @bundle exec mutant --include lib --require ruby_event_store --use rspec "RailsEventStoreActiveRecord*" --expected-coverage 615/699
14
+
11
15
  .PHONY: help
12
16
 
13
17
  help:
data/README.md CHANGED
@@ -17,6 +17,19 @@ All documentation and sample codes are available at [http://railseventstore.arke
17
17
 
18
18
  Check the contribution guide on [CONTRIBUTING.md](https://github.com/arkency/rails_event_store_active_record/blob/master/CONTRIBUTING.md)
19
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. As long as we don't have 100%, there's a hardcoded value we expect from the mutation coverage.
28
+
29
+ Whenever you fix a bug or add a new feature, we require that the coverage doesn't go down.
30
+
31
+ However, even if it goes up, you need to go the `Makefile` and apply the new expected coverage. We call this technique "raising the coverage bar". The goal here is to raise the bar so that the better coverage is maintained for later changes. The new value should be the Kills/Mutations number in your last `make mutate` output.
32
+
20
33
  ## About
21
34
 
22
35
  <img src="http://arkency.com/images/arkency.png" alt="Arkency" width="20%" align="left" />
@@ -1,3 +1,3 @@
1
1
  module RailsEventStoreActiveRecord
2
- VERSION = "0.6.5"
2
+ VERSION = "0.6.6"
3
3
  end
@@ -26,8 +26,9 @@ Gem::Specification.new do |spec|
26
26
  spec.add_development_dependency 'rails', '~> 4.2'
27
27
  spec.add_development_dependency 'sqlite3'
28
28
 
29
- spec.add_dependency 'ruby_event_store', '~> 0.10.1'
29
+ spec.add_dependency 'ruby_event_store', '~> 0.11.0'
30
30
  spec.add_dependency 'activesupport', '>= 3.0'
31
31
  spec.add_dependency 'activemodel', '>= 3.0'
32
+ spec.add_development_dependency 'mutant-rspec', '~> 0.8'
32
33
 
33
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_event_store_active_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.10.1
103
+ version: 0.11.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.10.1
110
+ version: 0.11.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: activesupport
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -136,6 +136,20 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '3.0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: mutant-rspec
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.8'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0.8'
139
153
  description: Implementation of events repository based on Rails Active Record for
140
154
  Rails Event Store'
141
155
  email: