rails_event_store_active_record 0.17.0 → 0.18.0

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: 35ae8ec5fa9f3d495d12e2908952c9425006fb44
4
- data.tar.gz: f1ae5ce64f5b8c137c3a0109eaaa116c6db87a72
3
+ metadata.gz: 260d5a016e86a8e67d3b43bda86745bcd6861303
4
+ data.tar.gz: 4aab49d32b637e29a4ae0e160a8466de96604b15
5
5
  SHA512:
6
- metadata.gz: 66cafec118851cc56a7327ad4baf9d97b9074f2b8c146a399a691c97db587de20e875018c72ce94b0d32585d0a91f470e250d59319fc7b6f48f2038ae847b232
7
- data.tar.gz: 4ab86b9f2e458d1d3074078a118f72c7694541956a2935944f4d01b0fc8eba53e3a0f2034dd3a34ddb006d8b47f49f7e7d7f413f6f71f93f71596d9b671b2a46
6
+ metadata.gz: 4cfe0a3a990a97ccdb4b92ffaaf726baa69ec7a94c005a0e3eda6db6b0462b4d4f8f2c268367bd2e139f11918c098c1d461cd4c12951dfbd3544ea38c0116dfa
7
+ data.tar.gz: 536af705115169bd71c56225d23188ac797bebf2a9a9a0b1e566dd5d285a461c6e4f60e05827379ea8f1a64bc323588099d4837d23f2d6a3dc080957fdd72fee
data/Makefile CHANGED
@@ -1,25 +1,31 @@
1
- install-bundler: ## Install gem dependencies
1
+ GEM_VERSION = `cat ../RES_VERSION`
2
+
3
+ install: ## Install gem dependencies
2
4
  @echo "Installing gem dependencies"
3
5
  @bundle install
4
6
 
5
- install: install-bundler ## Prepare current development environment
6
-
7
7
  test: ## Run tests
8
8
  @echo "Running basic tests - beware: this won't guarantee build pass"
9
9
  @bundle exec rspec
10
10
 
11
11
  mutate: test ## Run mutation tests
12
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*" --ignore-subject "RailsEventStoreActiveRecord::EventRepository#read_events_forward" --ignore-subject "RailsEventStoreActiveRecord::EventRepository#read_all_streams_forward" --ignore-subject "RailsEventStoreActiveRecord::EventRepository#read_stream_events_forward"
13
+ @bundle exec mutant --include lib --require ruby_event_store --use rspec "RailsEventStoreActiveRecord*" \
14
+ --ignore-subject "RailsEventStoreActiveRecord::EventRepository#read_events_forward" \
15
+ --ignore-subject "RailsEventStoreActiveRecord::EventRepository#read_all_streams_forward" \
16
+ --ignore-subject "RailsEventStoreActiveRecord::EventRepository#read_stream_events_forward"
14
17
 
15
- release:
16
- @rake build
17
- @rake release:rubygem_push
18
+ build:
19
+ @gem build -V rails_event_store_active_record.gemspec
20
+ @mkdir -p pkg/
21
+ @mv rails_event_store_active_record-$(GEM_VERSION).gem pkg/
18
22
 
19
- .PHONY: help
23
+ release: build
24
+ @gem push pkg/rails_event_store_active_record-$(GEM_VERSION).gem
20
25
 
21
26
  help:
22
27
  @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
23
28
 
29
+ .PHONY: help
24
30
  .DEFAULT_GOAL := help
25
31
 
@@ -1,3 +1,3 @@
1
1
  module RailsEventStoreActiveRecord
2
- VERSION = "0.17.0"
2
+ VERSION = "0.18.0"
3
3
  end
@@ -19,16 +19,15 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_development_dependency 'bundler', '~> 1.9'
22
+ spec.add_development_dependency 'bundler', '~> 1.15'
23
23
  spec.add_development_dependency 'rake', '~> 10.0'
24
- spec.add_development_dependency 'pry'
25
- spec.add_development_dependency 'rspec'
24
+ spec.add_development_dependency 'rspec', '~> 3.6'
26
25
  spec.add_development_dependency 'rails', '~> 4.2'
27
26
  spec.add_development_dependency 'sqlite3'
28
- spec.add_development_dependency 'mutant-rspec', '~> 0.8.11'
29
- spec.add_development_dependency 'fakefs'
27
+ spec.add_development_dependency 'mutant-rspec', '~> 0.8.14'
28
+ spec.add_development_dependency "fakefs", "~> 0.11.2"
30
29
 
31
- spec.add_dependency 'ruby_event_store', '= 0.17.0'
30
+ spec.add_dependency 'ruby_event_store', '= 0.18.0'
32
31
  spec.add_dependency 'activesupport', '>= 3.0'
33
32
  spec.add_dependency 'activemodel', '>= 3.0'
34
33
  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.17.0
4
+ version: 0.18.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-09-15 00:00:00.000000000 Z
11
+ date: 2017-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.9'
19
+ version: '1.15'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.9'
26
+ version: '1.15'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,34 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- - !ruby/object:Gem::Dependency
42
- name: pry
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rspec
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ">="
45
+ - - "~>"
60
46
  - !ruby/object:Gem::Version
61
- version: '0'
47
+ version: '3.6'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ">="
52
+ - - "~>"
67
53
  - !ruby/object:Gem::Version
68
- version: '0'
54
+ version: '3.6'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rails
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,42 +86,42 @@ dependencies:
100
86
  requirements:
101
87
  - - "~>"
102
88
  - !ruby/object:Gem::Version
103
- version: 0.8.11
89
+ version: 0.8.14
104
90
  type: :development
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
94
  - - "~>"
109
95
  - !ruby/object:Gem::Version
110
- version: 0.8.11
96
+ version: 0.8.14
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: fakefs
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
- - - ">="
101
+ - - "~>"
116
102
  - !ruby/object:Gem::Version
117
- version: '0'
103
+ version: 0.11.2
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
- - - ">="
108
+ - - "~>"
123
109
  - !ruby/object:Gem::Version
124
- version: '0'
110
+ version: 0.11.2
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: ruby_event_store
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
115
  - - '='
130
116
  - !ruby/object:Gem::Version
131
- version: 0.17.0
117
+ version: 0.18.0
132
118
  type: :runtime
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
122
  - - '='
137
123
  - !ruby/object:Gem::Version
138
- version: 0.17.0
124
+ version: 0.18.0
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: activesupport
141
127
  requirement: !ruby/object:Gem::Requirement
@@ -176,7 +162,6 @@ files:
176
162
  - Gemfile
177
163
  - Makefile
178
164
  - README.md
179
- - Rakefile
180
165
  - bin/console
181
166
  - bin/setup
182
167
  - lib/rails_event_store_active_record.rb
data/Rakefile DELETED
@@ -1,4 +0,0 @@
1
- require 'bundler/gem_tasks'
2
- require 'rspec/core/rake_task'
3
- RSpec::Core::RakeTask.new(:spec)
4
- task default: :spec