rails_event_store 0.14.2 → 0.14.3

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: 708e69ecfd070c02affa3cd121437be2e1225604
4
- data.tar.gz: 8f1f549e17adb5c6caf894dde5977805746a11b2
3
+ metadata.gz: a2ba54149691aef2db6b0af42820d922fbce45fc
4
+ data.tar.gz: 809408dfeb9c63e75ac9c0ebc361a99a246cd8ce
5
5
  SHA512:
6
- metadata.gz: fc9bb38a235ec7f919688644d1c4d267bfaafad784b1e69195ac7fbf0e4e1472e6ad2957c65d21feb90f38bb68cc104238ed4668e3071f1422007bbeeb92ff74
7
- data.tar.gz: aa137c5b99fa22ef1adeef826c66ea8d902b087cbd963864ee1147edb4a707238af5af77554d3eb5ebff04182a8f91f7f93c27b7e6d420860fe55ed10b5e532b
6
+ metadata.gz: f44b87b6f0a14d5492a3809fafe51d533e6712796b37340b2dd617fc03c3142dcd4e9d24bdce58c033eb55220b19d7afdb7b264e7680d4d32cf8e3e9bb22db2f
7
+ data.tar.gz: 44a6ef154837dec53e2fd8bef33c6541208e74b18a1be1f00223dd3928afbea0e30182da3648de53f2b76c717c24f7a255a716d3143b08cdea35535f79e28486
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.14.3 (24.11.2016)
2
+
3
+ * Fix: Fixes where is initialized event repository #62
4
+
1
5
  ### 0.14.2 (23.11.2016)
2
6
 
3
7
  * Change: rails_event_store_active_record updated to 0.6.10
@@ -1,15 +1,5 @@
1
- require 'active_support/core_ext/class/attribute_accessors'
2
1
  require 'rails_event_store_active_record'
3
2
  require 'rails_event_store/all'
4
3
 
5
- module RailsEventStore
6
- mattr_reader :event_repository
7
-
8
- def self.event_repository=(event_repository)
9
- raise ArgumentError unless event_repository
10
- @@event_repository = event_repository
11
- end
12
- end
13
-
14
4
  # Use active record by default
15
5
  RailsEventStore.event_repository = RailsEventStoreActiveRecord::EventRepository.new
@@ -1,3 +1,4 @@
1
+ require 'active_support/core_ext/class/attribute_accessors'
1
2
  require 'ruby_event_store'
2
3
  require 'rails_event_store/client'
3
4
  require 'rails_event_store/version'
@@ -17,4 +18,11 @@ module RailsEventStore
17
18
  InvalidPageSize = RubyEventStore::InvalidPageSize
18
19
  GLOBAL_STREAM = RubyEventStore::GLOBAL_STREAM
19
20
  PAGE_SIZE = RubyEventStore::PAGE_SIZE
21
+
22
+ mattr_reader :event_repository
23
+
24
+ def self.event_repository=(event_repository)
25
+ raise ArgumentError unless event_repository
26
+ @@event_repository = event_repository
27
+ end
20
28
  end
@@ -1,3 +1,3 @@
1
1
  module RailsEventStore
2
- VERSION = '0.14.2'
2
+ VERSION = '0.14.3'
3
3
  end
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.2
4
+ version: 0.14.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-23 00:00:00.000000000 Z
11
+ date: 2016-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler