rails_event_store 0.14.4 → 0.14.5

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: 35e0b09ad6d2dfb48f382ecf1a9317aa4bf35be5
4
- data.tar.gz: 10c135c6ade517b79cc472c46055077a4496f219
3
+ metadata.gz: 81cbae18fb0eaaeb754f216a1c8f3bea6cc49f47
4
+ data.tar.gz: 9024ba42dee01ca48cc0d0730a5e77039b9e8b14
5
5
  SHA512:
6
- metadata.gz: 0e53c3561731d15b91a9e6e98e170e16e273361d47ebb1009e1b6944a0b8f37029b0b703d34b331f605c1ba2e090cb842aa02d0edf92b7dcb3265cee1da61e34
7
- data.tar.gz: 589956bb37c15f84a2b580d2df31b7317cd7a7ccee19e7b4e1294e09d2312f20a91266e3aff06200a0cb2fd286519d5dd7db89956487d9b4d83cc8a7a2fa0db0
6
+ metadata.gz: 892bddb6abdace7b41822cac3c65fab93229e913d6c02dd3307f7c4c51c9924efa88b763972190c87d2b3982e539574354da0bde6acc23a770bc8524bb7eff3d
7
+ data.tar.gz: 1535e4c041b5e51fc4d344e6f0fff7847306aa5a9be70e86444566b7389cfb94e172e32bf00b62f6aee67d682d4d7732adae51f543d5c307ce5389a60cc17209
data/.travis.yml CHANGED
@@ -1,8 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.10
4
- - 2.2.5
5
- - 2.3.1
3
+ - 2.2.7
4
+ - 2.3.4
5
+ - 2.4.1
6
6
  before_install: gem install bundler
7
7
  gemfile: Gemfile
8
8
  script: make mutate
data/CHANGELOG.md CHANGED
@@ -1,7 +1,11 @@
1
- ### 0.14.4 (08.02.2017)
1
+ ### 0.14.5 (24.08.2017)
2
+
3
+ * Change: ruby_event_store updated to 0.14.0
4
+
5
+ ### 0.14.4 (18.08.2017)
2
6
 
3
7
  * Change: rails_event_store_active_record updated to 0.6.11
4
- Fix: Explicit order when querying forward. Leaving it implcit to database engine choice gives different results on different engines.
8
+ * Fix: Explicit order when querying forward. Leaving it implcit to database engine choice gives different results on different engines.
5
9
  * Fix: Explicitly require railtie to load middleware in Rails to enrich event metadata with request metadata (PR #65)
6
10
 
7
11
  ### 0.14.3 (24.11.2016)
data/CONTRIBUTING.md CHANGED
@@ -1,27 +1,3 @@
1
- # Contributing to RailsEventStore
1
+ # Contributing to this repository
2
2
 
3
- Any kind of contribution is welcomed. Here is a few guidelines that we need contributors to follow.
4
-
5
- ## Found a bug? Have a question?
6
-
7
- * [Create a new issue](https://github.com/arkency/rails_event_store/issues/new), assuming one does not already exist.
8
- * Clearly describe the issue including steps to reproduce when it is a bug.
9
- * If possible provide a Pull Request with failing test case.
10
-
11
- ## Getting Started
12
-
13
- * Make sure you have a [GitHub account](https://github.com/signup/free).
14
- * [Fork the repository](https://help.github.com/articles/fork-a-repo/) on GitHub.
15
-
16
- ## Making Changes
17
-
18
- * Create a feature branch from where you want to base your work.
19
- * Do your work. Please try to keep your commits small and focused.
20
- * Make sure you have added the necessary tests for your changes.
21
- * Push your changes to a feature branch in your fork of the repository.
22
- * Submit a pull request to the RailsEventStore repository.
23
-
24
- # Additional Resources
25
-
26
- * [General GitHub documentation](http://help.github.com/)
27
- * [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
3
+ Contribution Policy for this repository: [http://railseventstore.org/docs/contributing.html](http://railseventstore.org/docs/contributing.html)
data/Makefile CHANGED
@@ -10,7 +10,7 @@ test: ## Run tests
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 rails_event_store --use rspec "RailsEventStore*"
13
+ @bundle exec mutant --include lib --require rails_event_store --use rspec --ignore-subject "RailsEventStore.const_missing" "RailsEventStore*"
14
14
 
15
15
  .PHONY: help
16
16
 
data/README.md CHANGED
@@ -36,12 +36,15 @@ This repository is funded and maintained by Arkency. Check out our other [open-s
36
36
 
37
37
  You can also [hire us](http://arkency.com) or [read our blog](http://blog.arkency.com).
38
38
 
39
-
40
39
  ## Learn more about DDD & Event Sourcing
41
40
 
42
41
  Check our **Rails + Domain Driven Design Workshop** [more details](http://blog.arkency.com/ddd-training/).
43
42
 
44
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/).
45
44
 
46
- Next edition will be held on **25-26th May 2017** (Thursday & Friday) in Lviv, Ukraine.
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/).
47
50
  Workshop will be held in English.
@@ -3,6 +3,7 @@ require 'ruby_event_store'
3
3
  require 'rails_event_store/client'
4
4
  require 'rails_event_store/version'
5
5
  require 'rails_event_store/railtie'
6
+ require 'rails_event_store/deprecations'
6
7
 
7
8
  module RailsEventStore
8
9
  Event = RubyEventStore::Event
@@ -14,7 +15,7 @@ module RailsEventStore
14
15
  IncorrectStreamData = RubyEventStore::IncorrectStreamData
15
16
  EventNotFound = RubyEventStore::EventNotFound
16
17
  SubscriberNotExist = RubyEventStore::SubscriberNotExist
17
- MethodNotDefined = RubyEventStore::MethodNotDefined
18
+ InvalidHandler = RubyEventStore::InvalidHandler
18
19
  InvalidPageStart = RubyEventStore::InvalidPageStart
19
20
  InvalidPageSize = RubyEventStore::InvalidPageSize
20
21
  GLOBAL_STREAM = RubyEventStore::GLOBAL_STREAM
@@ -0,0 +1,7 @@
1
+ module RailsEventStore
2
+ def self.const_missing(const_name)
3
+ super unless const_name == :MethodNotDefined
4
+ warn "`RailsEventStore::MethodNotDefined` has been deprecated. Use `RailsEventStore::InvalidHandler` instead."
5
+ InvalidHandler
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module RailsEventStore
2
- VERSION = '0.14.4'
2
+ VERSION = '0.14.5'
3
3
  end
@@ -27,7 +27,7 @@ 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', '~> 0.13.0'
30
+ spec.add_dependency 'ruby_event_store', '~> 0.14.0'
31
31
  spec.add_dependency 'rails_event_store_active_record', '~> 0.6.11'
32
32
  spec.add_dependency 'aggregate_root', '~> 0.4.0'
33
33
  spec.add_dependency 'activesupport', '>= 3.0'
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.14.4
4
+ version: 0.14.5
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-18 00:00:00.000000000 Z
11
+ date: 2017-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.13.0
117
+ version: 0.14.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.13.0
124
+ version: 0.14.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rails_event_store_active_record
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -211,6 +211,7 @@ files:
211
211
  - lib/rails_event_store.rb
212
212
  - lib/rails_event_store/all.rb
213
213
  - lib/rails_event_store/client.rb
214
+ - lib/rails_event_store/deprecations.rb
214
215
  - lib/rails_event_store/middleware.rb
215
216
  - lib/rails_event_store/railtie.rb
216
217
  - lib/rails_event_store/version.rb